PARALLEL.RU

Дискуссионный клуб по параллельным вычислениям
Текущее время: 12 дек 17 16:55

Часовой пояс: UTC + 4 часа [ Летнее время ]




Начать новую тему Ответить на тему  [ Сообщений: 11 ] 
Автор Сообщение
 Заголовок сообщения: NAS Parallel Benchmark 2.4
СообщениеДобавлено: 19 ноя 10 12:11 
Не в сети

Зарегистрирован: 19 ноя 10 12:01
Сообщения: 6
Здравствуйте!
Столкнулся с некоторыми проблемами при запуске этих тестов на кластере. Вопрос мой адресован тем, кто имеет опыт работы с ними. Для начала тестирования необходимо модифицировать файл Make.def находящийся в папке /config. Из-за малого опыта работы с *nix системами плохо себе представляю, каким образом модифицировать параметры в этом файле. Соответственно, хотелось бы увидеть различные корректные варианты таких модификаций. Заранее спасибо)


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: NAS Parallel Benchmark 2.4
СообщениеДобавлено: 23 ноя 10 10:46 
Не в сети

Зарегистрирован: 2 дек 09 13:08
Сообщения: 9
Пример моего config/make.def файла

Код:
#---------------------------------------------------------------------------
#
#                SITE- AND/OR PLATFORM-SPECIFIC DEFINITIONS.
#
#---------------------------------------------------------------------------

#---------------------------------------------------------------------------
# Items in this file will need to be changed for each platform.
# (Note these definitions are inconsistent with NPB2.1.)
#---------------------------------------------------------------------------

#---------------------------------------------------------------------------
# Parallel Fortran:
#
# For CG, EP, FT, MG, LU, SP and BT, which are in Fortran, the following must
# be defined:
#
# MPIF77     - Fortran compiler
# FFLAGS     - Fortran compilation arguments
# FMPI_INC   - any -I arguments required for compiling MPI/Fortran
# FLINK      - Fortran linker
# FLINKFLAGS - Fortran linker arguments
# FMPI_LIB   - any -L and -l arguments required for linking MPI/Fortran
#
# compilations are done with $(MPIF77) $(FMPI_INC) $(FFLAGS) or
#                            $(MPIF77) $(FFLAGS)
# linking is done with       $(FLINK) $(FMPI_LIB) $(FLINKFLAGS)
#---------------------------------------------------------------------------

#---------------------------------------------------------------------------
# This is the fortran compiler used for MPI programs
#---------------------------------------------------------------------------
MPIF77 = mpif77
# This links MPI fortran programs; usually the same as ${MPIF77}
FLINK   = $(MPIF77)

#---------------------------------------------------------------------------
# These macros are passed to the linker to help link with MPI correctly
#---------------------------------------------------------------------------
#FMPI_LIB  = -L/common/mvapich2/intel/lib/
FMPI_LIB  = -L/opt/openmpi/intel/lib/

#---------------------------------------------------------------------------
# These macros are passed to the compiler to help find 'mpif.h'
#---------------------------------------------------------------------------
#FMPI_INC = -I/common/mvapich2/intel/include/
FMPI_INC = -I/opt/openmpi/intel/include/

#---------------------------------------------------------------------------
# Global *compile time* flags for Fortran programs
#---------------------------------------------------------------------------
FFLAGS  = -O3 -ipo -no-prec-div -static
# FFLAGS = -g

#---------------------------------------------------------------------------
# Global *link time* flags. Flags for increasing maximum executable
# size usually go here.
#---------------------------------------------------------------------------
#FLINKFLAGS = -fast

#---------------------------------------------------------------------------
# Parallel C:
#
# For IS, which is in C, the following must be defined:
#
# MPICC      - C compiler
# CFLAGS     - C compilation arguments
# CMPI_INC   - any -I arguments required for compiling MPI/C
# CLINK      - C linker
# CLINKFLAGS - C linker flags
# CMPI_LIB   - any -L and -l arguments required for linking MPI/C
#
# compilations are done with $(MPICC) $(CMPI_INC) $(CFLAGS) or
#                            $(MPICC) $(CFLAGS)
# linking is done with       $(CLINK) $(CMPI_LIB) $(CLINKFLAGS)
#---------------------------------------------------------------------------

#---------------------------------------------------------------------------
# This is the C compiler used for MPI programs
#---------------------------------------------------------------------------
MPICC = mpicc
# This links MPI C programs; usually the same as ${MPICC}
CLINK   = $(MPICC)

#---------------------------------------------------------------------------
# These macros are passed to the linker to help link with MPI correctly
#---------------------------------------------------------------------------
#CMPI_LIB  = -L/common/mvapich2/intel/lib/
CMPI_LIB  = -L/opt/openmpi/intel/lib/

#---------------------------------------------------------------------------
# These macros are passed to the compiler to help find 'mpi.h'
#---------------------------------------------------------------------------
#CMPI_INC = -I/common/mvapich2/intel/include
CMPI_INC = -I/opt/openmpi/intel/include

#---------------------------------------------------------------------------
# Global *compile time* flags for C programs
#---------------------------------------------------------------------------
CFLAGS  = -O3 -ipo -no-prec-div -static
# CFLAGS = -g

#---------------------------------------------------------------------------
# Global *link time* flags. Flags for increasing maximum executable
# size usually go here.
#---------------------------------------------------------------------------
#CLINKFLAGS = -fast

#---------------------------------------------------------------------------
# MPI dummy library:
#
# Uncomment if you want to use the MPI dummy library supplied by NAS instead
# of the true message-passing library. The include file redefines several of
# the above macros. It also invokes make in subdirectory MPI_dummy. Make
# sure that no spaces or tabs precede include.
#---------------------------------------------------------------------------
# include ../config/make.dummy


#---------------------------------------------------------------------------
# Utilities C:
#
# This is the C compiler used to compile C utilities.  Flags required by
# this compiler go here also; typically there are few flags required; hence
# there are no separate macros provided for such flags.
#---------------------------------------------------------------------------
CC      = icc


#---------------------------------------------------------------------------
# Destination of executables, relative to subdirs of the main directory. .
#---------------------------------------------------------------------------
BINDIR  = ../bin


#---------------------------------------------------------------------------
# Some machines (e.g. Crays) have 128-bit DOUBLE PRECISION numbers, which
# is twice the precision required for the NPB suite. A compiler flag
# (e.g. -dp) can usually be used to change DOUBLE PRECISION variables to
# 64 bits, but the MPI library may continue to send 128 bits. Short of
# recompiling MPI, the solution is to use MPI_REAL to send these 64-bit
# numbers, and MPI_COMPLEX to send their complex counterparts. Uncomment
# the following line to enable this substitution.
#
# NOTE: IF THE I/O BENCHMARK IS BEING BUILT, WE USE CONVERTFLAG TO
#       SPECIFIY THE FORTRAN RECORD LENGTH UNIT. IT IS A SYSTEM-SPECIFIC
#       VALUE (USUALLY 1 OR 4). UNCOMMENT THE SECOND LINE AND SUBSTITUTE
#       THE CORRECT VALUE FOR "length".
#       IF BOTH 128-BIT DOUBLE PRECISION NUMBERS AND I/O ARE TO BE ENABLED,
#       UNCOMMENT THE THIRD LINE AND SUBSTITUTE THE CORRECT VALUE FOR
#       "length"
#---------------------------------------------------------------------------
# CONVERTFLAG   = -DCONVERTDOUBLE
# CONVERTFLAG   = -DFORTRAN_REC_SIZE=length
# CONVERTFLAG   = -DCONVERTDOUBLE -DFORTRAN_REC_SIZE=length

#---------------------------------------------------------------------------
# The variable RAND controls which random number generator
# is used. It is described in detail in Doc/README.install.
# Use "randi8" unless there is a reason to use another one.
# Other allowed values are "randi8_safe", "randdp" and "randdpvec"
#---------------------------------------------------------------------------
# RAND   = randi8
# The following is highly reliable but may be slow:
RAND   = randdp


Для удобства ещё сделал config/suite.def
Код:
# config/suite.def
# This file is used to build several benchmarks with a single command.
# Typing "make suite" in the main directory will build all the benchmarks
# specified in this file.
# Each line of this file contains a benchmark name, class, and number
# of nodes. The name is one of "cg", "is", "ep", mg", "ft", "sp", "bt",
# "lu", and "dt".
# The class is one of "S", "W", "A", "B", "C", and "D".
# The number of nodes must be a legal number for a particular
# benchmark. The utility which parses this file is primitive, so
# formatting is inflexible. Separate name/class/number by tabs.
# Comments start with "#" as the first character on a line.
# No blank lines.
# The following example builds 1 processor sample sizes of all benchmarks.
ft      C       8
mg      C       8
sp      C       9
lu      C       8
bt      C       9
is      C       8
ep      C       14
cg      C       8
#dt     B       14


Это позволяет собрать необходимые задачи командой make suite


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: NAS Parallel Benchmark 2.4
СообщениеДобавлено: 23 ноя 10 14:09 
Не в сети

Зарегистрирован: 19 ноя 10 12:01
Сообщения: 6
Спасибо за ответ.
Но вот только опять куча ошибок типа "undefined reference" вылетает...


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: NAS Parallel Benchmark 2.4
СообщениеДобавлено: 25 ноя 10 10:55 
Не в сети

Зарегистрирован: 2 дек 09 13:08
Сообщения: 9
Какие именно ошибки?


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: NAS Parallel Benchmark 2.4
СообщениеДобавлено: 25 ноя 10 13:06 
Не в сети

Зарегистрирован: 19 ноя 10 12:01
Сообщения: 6
На приведенный в вашем сообщении вариант make.def система реагирует так:
Цитата:
=========================================
= NAS Parallel Benchmarks 2.4 =
= MPI/F77/C =
=========================================

cd EP; make NPROCS=64 CLASS=A
make[1]: Entering directory `/home/u1214/NPB2.4/NPB2.4-MPI/EP'
make[2]: Entering directory `/home/u1214/NPB2.4/NPB2.4-MPI/sys'
icc -o setparams setparams.c
setparams.c(267): warning #1899: multicharacter character literal (potential portability problem)
if (class == 'D' && type == 'IS') {
^

setparams.c(352): warning #177: label "normal_return" was declared but never referenced
normal_return:
^

make[2]: Leaving directory `/home/u1214/NPB2.4/NPB2.4-MPI/sys'
../sys/setparams ep 64 A
mpif77 -c -I/opt/openmpi/intel/include/ -O3 -ipo -no-prec-div -static ep.f
mpif77 -o ../bin/ep.A.64 ep.o ../common/print_results.o ../common/randdp.o ../common/timers.o -L/opt/openmpi/intel/lib/
ipo: warning #11020: unresolved timer_read_
Referenced in /tmp/ipo_ifortGtg7kC.o
ipo: warning #11020: unresolved print_results_
Referenced in /tmp/ipo_ifortGtg7kC.o
ipo: warning #11020: unresolved timer_stop_
Referenced in /tmp/ipo_ifortGtg7kC.o
ipo: warning #11020: unresolved timer_start_
Referenced in /tmp/ipo_ifortGtg7kC.o
ipo: warning #11020: unresolved timer_clear_
Referenced in /tmp/ipo_ifortGtg7kC.o
ipo: warning #11020: unresolved s_wsfe
Referenced in ../common/print_results.o
ipo: warning #11020: unresolved do_fio
Referenced in ../common/print_results.o
ipo: warning #11020: unresolved e_wsfe
Referenced in ../common/print_results.o
ipo: warning #11020: unresolved s_cmp
Referenced in ../common/print_results.o
ipo: warning #11020: unresolved s_wsfi
Referenced in ../common/print_results.o
ipo: warning #11020: unresolved e_wsfi
Referenced in ../common/print_results.o
ipo: warning #11020: unresolved s_copy
Referenced in ../common/print_results.o
ipo: warning #11020: unresolved mpi_conversion_fn_null__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_win_dup_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_win_null_delete_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_win_null_copy_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_type_dup_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_comm_dup_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_dup_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_type_null_delete_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_type_null_copy_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_comm_null_delete_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_comm_null_copy_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_null_delete_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_null_copy_fn__
Referenced in ../common/timers.o
ipo: warning #11020: unresolved mpi_wtime__
Referenced in ../common/timers.o
ipo: remark #11000: performing multi-file optimizations
ipo: remark #11005: generating object file /tmp/ipo_ifortGtg7kC.o
/tmp/ipo_ifortGtg7kC.o: In function `MAIN__':
ipo_out.f:(.text+0x38f): undefined reference to `timer_clear_'
ipo_out.f:(.text+0x39b): undefined reference to `timer_clear_'
ipo_out.f:(.text+0x3a7): undefined reference to `timer_clear_'
ipo_out.f:(.text+0x3b3): undefined reference to `timer_start_'
ipo_out.f:(.text+0x996): undefined reference to `timer_stop_'
ipo_out.f:(.text+0x9a2): undefined reference to `timer_read_'
ipo_out.f:(.text+0xd43): undefined reference to `print_results_'
../common/print_results.o: In function `print_results__':
print_results.f:(.text+0x155): undefined reference to `s_wsfe'
print_results.f:(.text+0x169): undefined reference to `do_fio'
print_results.f:(.text+0x170): undefined reference to `e_wsfe'
print_results.f:(.text+0x17c): undefined reference to `s_wsfe'
print_results.f:(.text+0x190): undefined reference to `do_fio'
print_results.f:(.text+0x197): undefined reference to `e_wsfe'
print_results.f:(.text+0x1b7): undefined reference to `s_wsfe'
print_results.f:(.text+0x1cb): undefined reference to `do_fio'
print_results.f:(.text+0x1df): undefined reference to `do_fio'
print_results.f:(.text+0x1fb): undefined reference to `do_fio'
print_results.f:(.text+0x202): undefined reference to `e_wsfe'
print_results.f:(.text+0x20e): undefined reference to `s_wsfe'
print_results.f:(.text+0x222): undefined reference to `do_fio'
print_results.f:(.text+0x229): undefined reference to `e_wsfe'
print_results.f:(.text+0x235): undefined reference to `s_wsfe'
print_results.f:(.text+0x24e): undefined reference to `do_fio'
print_results.f:(.text+0x255): undefined reference to `e_wsfe'
print_results.f:(.text+0x261): undefined reference to `s_wsfe'
print_results.f:(.text+0x27a): undefined reference to `do_fio'
print_results.f:(.text+0x281): undefined reference to `e_wsfe'
print_results.f:(.text+0x28d): undefined reference to `s_wsfe'
print_results.f:(.text+0x2a6): undefined reference to `do_fio'
print_results.f:(.text+0x2ad): undefined reference to `e_wsfe'
print_results.f:(.text+0x2b9): undefined reference to `s_wsfe'
print_results.f:(.text+0x2cf): undefined reference to `do_fio'
print_results.f:(.text+0x2d6): undefined reference to `e_wsfe'
print_results.f:(.text+0x2e2): undefined reference to `s_wsfe'
print_results.f:(.text+0x321): undefined reference to `do_fio'
print_results.f:(.text+0x328): undefined reference to `e_wsfe'
print_results.f:(.text+0x334): undefined reference to `s_wsfe'
print_results.f:(.text+0x34a): undefined reference to `do_fio'
print_results.f:(.text+0x351): undefined reference to `e_wsfe'
print_results.f:(.text+0x371): undefined reference to `s_wsfe'
print_results.f:(.text+0x387): undefined reference to `do_fio'
print_results.f:(.text+0x38e): undefined reference to `e_wsfe'
print_results.f:(.text+0x39a): undefined reference to `s_wsfe'
print_results.f:(.text+0x3af): undefined reference to `do_fio'
print_results.f:(.text+0x3b6): undefined reference to `e_wsfe'
print_results.f:(.text+0x3c2): undefined reference to `s_wsfe'
print_results.f:(.text+0x3d7): undefined reference to `do_fio'
print_results.f:(.text+0x3de): undefined reference to `e_wsfe'
print_results.f:(.text+0x3ea): undefined reference to `s_wsfe'
print_results.f:(.text+0x3ff): undefined reference to `do_fio'
print_results.f:(.text+0x406): undefined reference to `e_wsfe'
print_results.f:(.text+0x412): undefined reference to `s_wsfe'
print_results.f:(.text+0x427): undefined reference to `do_fio'
print_results.f:(.text+0x42e): undefined reference to `e_wsfe'
print_results.f:(.text+0x43a): undefined reference to `s_wsfe'
print_results.f:(.text+0x44f): undefined reference to `do_fio'
print_results.f:(.text+0x456): undefined reference to `e_wsfe'
print_results.f:(.text+0x462): undefined reference to `s_wsfe'
print_results.f:(.text+0x477): undefined reference to `do_fio'
print_results.f:(.text+0x47e): undefined reference to `e_wsfe'
print_results.f:(.text+0x48a): undefined reference to `s_wsfe'
print_results.f:(.text+0x49f): undefined reference to `do_fio'
print_results.f:(.text+0x4a6): undefined reference to `e_wsfe'
print_results.f:(.text+0x4b2): undefined reference to `s_wsfe'
print_results.f:(.text+0x4c7): undefined reference to `do_fio'
print_results.f:(.text+0x4ce): undefined reference to `e_wsfe'
print_results.f:(.text+0x4da): undefined reference to `s_wsfe'
print_results.f:(.text+0x4ef): undefined reference to `do_fio'
print_results.f:(.text+0x4f6): undefined reference to `e_wsfe'
print_results.f:(.text+0x502): undefined reference to `s_wsfe'
print_results.f:(.text+0x509): undefined reference to `e_wsfe'
print_results.f:(.text+0x535): undefined reference to `s_cmp'
print_results.f:(.text+0x556): undefined reference to `s_wsfi'
print_results.f:(.text+0x5a0): undefined reference to `do_fio'
print_results.f:(.text+0x5a7): undefined reference to `e_wsfi'
print_results.f:(.text+0x5cc): undefined reference to `s_cmp'
print_results.f:(.text+0x5ea): undefined reference to `s_copy'
print_results.f:(.text+0x5fa): undefined reference to `s_wsfe'
print_results.f:(.text+0x60e): undefined reference to `do_fio'
print_results.f:(.text+0x615): undefined reference to `e_wsfe'
print_results.f:(.text+0x628): undefined reference to `s_wsfe'
print_results.f:(.text+0x643): undefined reference to `s_wsfe'
../common/timers.o: In function `timer_start__':
timers.f:(.text+0x17): undefined reference to `mpi_wtime__'
../common/timers.o: In function `timer_stop__':
timers.f:(.text+0x37): undefined reference to `mpi_wtime__'
../common/timers.o:(.data+0x0): undefined reference to `mpi_conversion_fn_null__'
../common/timers.o:(.data+0x8): undefined reference to `mpi_win_dup_fn__'
../common/timers.o:(.data+0x10): undefined reference to `mpi_win_null_delete_fn__'
../common/timers.o:(.data+0x18): undefined reference to `mpi_win_null_copy_fn__'
../common/timers.o:(.data+0x20): undefined reference to `mpi_type_dup_fn__'
../common/timers.o:(.data+0x28): undefined reference to `mpi_comm_dup_fn__'
../common/timers.o:(.data+0x30): undefined reference to `mpi_dup_fn__'
../common/timers.o:(.data+0x38): undefined reference to `mpi_type_null_delete_fn__'
../common/timers.o:(.data+0x40): undefined reference to `mpi_type_null_copy_fn__'
../common/timers.o:(.data+0x48): undefined reference to `mpi_comm_null_delete_fn__'
../common/timers.o:(.data+0x50): undefined reference to `mpi_comm_null_copy_fn__'
../common/timers.o:(.data+0x58): undefined reference to `mpi_null_delete_fn__'
../common/timers.o:(.data+0x60): undefined reference to `mpi_null_copy_fn__'
../common/timers.o:(.data+0x68): undefined reference to `mpi_conversion_fn_null__'
../common/timers.o:(.data+0x70): undefined reference to `mpi_win_dup_fn__'
../common/timers.o:(.data+0x78): undefined reference to `mpi_win_null_delete_fn__'
../common/timers.o:(.data+0x80): undefined reference to `mpi_win_null_copy_fn__'
../common/timers.o:(.data+0x88): undefined reference to `mpi_type_dup_fn__'
../common/timers.o:(.data+0x90): undefined reference to `mpi_comm_dup_fn__'
../common/timers.o:(.data+0x98): undefined reference to `mpi_dup_fn__'
../common/timers.o:(.data+0xa0): undefined reference to `mpi_type_null_delete_fn__'
../common/timers.o:(.data+0xa8): undefined reference to `mpi_type_null_copy_fn__'
../common/timers.o:(.data+0xb0): undefined reference to `mpi_comm_null_delete_fn__'
../common/timers.o:(.data+0xb8): undefined reference to `mpi_comm_null_copy_fn__'
../common/timers.o:(.data+0xc0): undefined reference to `mpi_null_delete_fn__'
../common/timers.o:(.data+0xc8): undefined reference to `mpi_null_copy_fn__'
make[1]: *** [../bin/ep.A.64] Error 1
make[1]: Leaving directory `/home/u1214/NPB2.4/NPB2.4-MPI/EP'
make: *** [ep] Error 2


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: NAS Parallel Benchmark 2.4
СообщениеДобавлено: 29 ноя 10 13:32 
Не в сети

Зарегистрирован: 11 дек 02 19:37
Сообщения: 871
Откуда: НИВЦ МГУ
Код:
FMPI_LIB  = -L/opt/openmpi/intel/lib/
Это убрать. Примерно так: FMPI_LIB  =

FMPI_INC = -I/opt/openmpi/intel/include/
Это - тоже.

FFLAGS  = -O3 -ipo -no-prec-div -static
-static выбросить, можно отключить пока -ipo, потом включить, если заработает.


CMPI_LIB  = -L/opt/openmpi/intel/lib/
убрать. Можно заменить на CMPI_LIB  = -L.

CMPI_INC = -I/opt/openmpi/intel/include
тоже убрать

CFLAGS  = -O3 -ipo -no-prec-div -static
см. выше



Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: NAS Parallel Benchmark 2.4
СообщениеДобавлено: 1 дек 10 15:51 
Не в сети

Зарегистрирован: 19 ноя 10 12:01
Сообщения: 6
Опять примерно такой же список ошибок вылезает...


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: NAS Parallel Benchmark 2.4
СообщениеДобавлено: 7 дек 10 19:42 
Не в сети

Зарегистрирован: 11 дек 02 19:37
Сообщения: 871
Откуда: НИВЦ МГУ
Сделайте make clean


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: NAS Parallel Benchmark 2.4
СообщениеДобавлено: 14 дек 10 13:36 
Не в сети

Зарегистрирован: 19 ноя 10 12:01
Сообщения: 6
после действия make clean получилось следующее:
Цитата:
=========================================
= NAS Parallel Benchmarks 2.4 =
= MPI/F77/C =
=========================================

cd EP; make NPROCS=16 CLASS=A
make[1]: Entering directory `/home/u1214/NPB2.4/NPB2.4-MPI/EP'
make[2]: Entering directory `/home/u1214/NPB2.4/NPB2.4-MPI/sys'
cc -g -o setparams setparams.c
setparams.c:267:31: warning: multi-character character constant
make[2]: Leaving directory `/home/u1214/NPB2.4/NPB2.4-MPI/sys'
../sys/setparams ep 16 A
mpif77 -c -O3 -no-prec-dev ep.f
ifort: command line warning #10006: ignoring unknown option '-no-prec-dev'
cd ../common; mpif77 -c -O3 -no-prec-dev print_results.f
ifort: command line warning #10006: ignoring unknown option '-no-prec-dev'
cd ../common; mpif77 -c -O3 -no-prec-dev randdp.f
ifort: command line warning #10006: ignoring unknown option '-no-prec-dev'
cd ../common; mpif77 -c -O3 -no-prec-dev timers.f
ifort: command line warning #10006: ignoring unknown option '-no-prec-dev'
mpif77 -o ../bin/ep.A.16 ep.o ../common/print_results.o ../common/randdp.o ../common/timers.o
/opt/intel/Compiler/11.1/072/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
make[1]: Leaving directory `/home/u1214/NPB2.4/NPB2.4-MPI/EP'

в папках /EP появился объектный файл, а в /bin - исполняемый, но что с ними делать - непонятно...
mpirun -np 16 ./ep.A.16 (для примера) не работает...


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: NAS Parallel Benchmark 2.4
СообщениеДобавлено: 14 дек 10 15:37 
Не в сети

Зарегистрирован: 19 ноя 10 12:01
Сообщения: 6
а вот с помощью
mpiexec -np 16 ./ep.A.16
все нормально запустилось)

+ еще несколько тестов скомпилировались и заработали

а вот тест FT выдает кучу ошибок при компиляции...
Цитата:
=========================================
= NAS Parallel Benchmarks 2.4 =
= MPI/F77/C =
=========================================

cd FT; make NPROCS=4 CLASS=A
make[1]: Entering directory `/home/u1214/NPB2.4/NPB2.4-MPI/FT'
make[2]: Entering directory `/home/u1214/NPB2.4/NPB2.4-MPI/sys'
cc -g -o setparams setparams.c
setparams.c:267:31: warning: multi-character character constant
make[2]: Leaving directory `/home/u1214/NPB2.4/NPB2.4-MPI/sys'
../sys/setparams ft 4 A
mpif77 -c -I/opt/openmpi/intel/include/ -O3 -no-prec-div ft.f
npbparams.h(9): error #6418: This name has already been assigned a data type. [NX]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
----------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NY]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
--------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NZ]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [MAXDIM]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
----------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NITER_DEFAULT]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NTDIVNP]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
---------------------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NP_MIN]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NX]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
----------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NY]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
--------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NZ]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [MAXDIM]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
----------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NITER_DEFAULT]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NTDIVNP]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
---------------------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NP_MIN]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NX]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
----------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NY]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
--------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NZ]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [MAXDIM]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
----------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NITER_DEFAULT]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NTDIVNP]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
---------------------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NP_MIN]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NX]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
----------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NY]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
--------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NZ]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [MAXDIM]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
----------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NITER_DEFAULT]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NTDIVNP]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
---------------------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NP_MIN]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
------------------------------------------------------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NX]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
----------------^
npbparams.h(9): error #6418: This name has already been assigned a data type. [NY]
integer nx, ny, nz, maxdim, niter_default, ntdivnp, np_min
--------------------^
(3791): catastrophic error: Too many errors, exiting
compilation aborted for ft.f (code 1)
make[1]: *** [ft.o] Error 1
make[1]: Leaving directory `/home/u1214/NPB2.4/NPB2.4-MPI/FT'
make: *** [ft] Error 2

уже даже и не знаю, как победить эти тесты)


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: NAS Parallel Benchmark 2.4
СообщениеДобавлено: 16 дек 10 19:48 
Не в сети

Зарегистрирован: 11 дек 02 19:37
Сообщения: 871
Откуда: НИВЦ МГУ
Попробуйте заменить mpif77 на mpif90...


Вернуться к началу
 Профиль  
 
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 11 ] 

Часовой пояс: UTC + 4 часа [ Летнее время ]


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
cron
Создано на основе phpBB® Forum Software © phpBB Group
Русская поддержка phpBB