[MITgcm-support] problems with MPI

Nataliya Stashchuk nataliya.stashchuk at plymouth.ac.uk
Fri Sep 15 06:18:38 EDT 2006


Dear MITgcm users,

 

Please tell me what is going wrong.

 

I am trying to run exp5 with MPI execution. Unfortunately after make
command I get the following kind of problem, which result in error
message. 

 

eeboot_minimal.o: In function `eeboot_minimal_':

eeboot_minimal.f:(.text+0x57): undefined reference to `mpi_init_'

eeboot_minimal.f:(.text+0x89): undefined reference to `mpi_comm_rank_'

eeboot_minimal.f:(.text+0x30f): undefined reference to `mpi_barrier_'

eeboot_minimal.f:(.text+0x337): undefined reference to `mpi_comm_size_'

eedie.o: In function `eedie_':

eedie.f:(.text+0x1e3): undefined reference to `mpi_finalize_'

exch_r4_recv_get_x.o: In function `exch_r4_recv_get_x_':

exch_r4_recv_get_x.f:(.text+0x1dd): undefined reference to `mpi_recv_'

exch_r4_recv_get_x.f:(.text+0x278): undefined reference to `mpi_recv_'

exch_r4_recv_get_x.f:(.text+0x4b4): undefined reference to
`mpi_waitall_'

exch_r4_recv_get_y.o: In function `exch_r4_recv_get_y_':

exch_r4_recv_get_y.f:(.text+0x3f8): undefined reference to
`mpi_waitall_'

exch_r4_recv_get_y.f:(.text+0x1631): undefined reference to `mpi_recv_'

exch_r4_recv_get_y.f:(.text+0x1704): undefined reference to `mpi_recv_'

exch_r4_send_put_x.o: In function `exch_r4_send_put_x_':

 

 

I have Intel EM64T computer with platform x86_64-suse-linux equipped
with two dual Xeons 3.2 processors.

 

I use -mpi option in my command line.

 

../../../tools/genmake2 -mpi -optfile=../Dir/optfile -mods=../code

 

My optfile has information about MPI

 

#!/bin/bash

 

CPP='/lib/cpp -traditional -P'

 

DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=1' 

 

LIBS='-L/opt/intel/fce/9.1.036/lib -static'

 

FC=/opt/intel/fce/9.1.036/bin/ifort

 

INCLUDES='-I/opt/intel/fce/9.1.036/include
-I/home/nstashchuk/mpich2-install/include'

INCLUDEDIRS='/home/nstashchuk/mpich2-install/include'

 

FFLAGS='-extend_source -O2 -tune pn4 -fno-alias -fno-fnalias -convert
big_endian'

 

May be something is missing?

 

Nataliya

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20060915/c4713024/attachment.htm>


More information about the MITgcm-support mailing list