[MITgcm-support] problems with MPI

Nataliya Stashchuk nataliya.stashchuk at plymouth.ac.uk
Fri Sep 15 07:52:16 EDT 2006


I add LIBS but it does not help.

-----Original Message-----
From: mitgcm-support-bounces at mitgcm.org
[mailto:mitgcm-support-bounces at mitgcm.org] On Behalf Of Martin Losch
Sent: 15 September 2006 12:36
To: MITgcm Support
Subject: Re: [MITgcm-support] problems with MPI

Nataliya,

as far as I can see, you have not specified a path to the mpich  
libraries, something like
LIBS='/home/nstashchuk/mpich2-install/lib' is missing.

However, I have never compiled and install mpi-libraries myself and I  
would not be surprised if that's not your only problem.

M.
On Sep 15, 2006, at 12:18 PM, Nataliya Stashchuk wrote:

> 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
>
>
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support


_______________________________________________
MITgcm-support mailing list
MITgcm-support at mitgcm.org
http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list