LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Daniel Carmo (daniel.a.s.carmo_at_[hidden])
Date: 2012-07-02 13:51:21


Hi,

I'm a researcher of PUC Minas in Brazil and I'm trying to run some
Benchmarks of NASA to my project here. But, when i use the make command for
4 procs in class A, a problem appears:
labadm_at_PSGLABPES10011:~/Documentos/Benchmarks/NPB3.2/NPB3.2-MPI/IS$ make
NPROCS=4 CLASS=A

make[1]: Entrando no diretório `/home/labadm/Documentos/
Benchmarks/NPB3.2/NPB3.2-MPI/sys'
make[1]: Nada a ser feito para `all'.
make[1]: Saindo do diretório `/home/labadm/Documentos/
Benchmarks/NPB3.2/NPB3.2-MPI/sys'
../sys/setparams is 4 A
cc -c -O3 is.c
cc -o ../bin/is.A.4 is.o ../common/c_print_results.o ../common/c_timers.o
is.o: In function `rank':
is.c:(.text+0x28a): undefined reference to `MPI_Allreduce'
is.c:(.text+0x34f): undefined reference to `MPI_Alltoall'
is.c:(.text+0x3cd): undefined reference to `MPI_Alltoallv'
is.o: In function `full_verify':
is.c:(.text+0x674): undefined reference to `MPI_Irecv'
is.c:(.text+0x6a6): undefined reference to `MPI_Wait'
is.c:(.text+0x746): undefined reference to `MPI_Send'
is.o: In function `main':
is.c:(.text+0xadd): undefined reference to `MPI_Init'
is.c:(.text+0xaf1): undefined reference to `MPI_Comm_rank'
is.c:(.text+0xb05): undefined reference to `MPI_Comm_size'
is.c:(.text+0x176a): undefined reference to `MPI_Reduce'
is.c:(.text+0x17ba): undefined reference to `MPI_Reduce'
is.c:(.text+0x1892): undefined reference to `MPI_Finalize'
is.c:(.text+0x1b1c): undefined reference to `MPI_Finalize'
../common/c_timers.o: In function `timer_stop':
c_timers.c:(.text+0x3b): undefined reference to `MPI_Wtime'
../common/c_timers.o: In function `timer_start':
c_timers.c:(.text+0x67): undefined reference to `MPI_Wtime'
collect2: ld returned 1 exit status
make: ** [../bin/is.A.4] Erro 1

Im try to modify the mpi.h file, with contains the functions "MPI", but
dont work. Any idea? Tanks for helps.