[MITgcm-support] problems with compile with MPI

李志远 oceanlizy at 163.com
Fri Dec 20 00:23:33 EST 2013


From: lizhiyuan<oceanlizy at 163.com>
To: MITgcm <mitgcm-support at mitgcm.org>
Subject: [MITgcm-support] problems with compile with MPI

Hi ,Mirek , 
    I used the way you told me before  to compile with mpi , I used the command " ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/linux_amd_pgf90+mpi_xd1 " ,when I type "make", it occur new errors :
                                 " The Open MPI wrapper compiler was unable to find the specified compiler pgf90 in your PATH.

                                   Note that this compiler was either specified at configure time or in
                                  one of several possible environment variables.

  
and my mpi is installed at "/dcfs2/program/mpi/openmpi/1.4.3/pgcc_pgf90 "    ,I modified the linux_amd_pgf90+mpi_xd1 file in tools/build_options  , as follows:
                      "
 FC='/dcfs2/program/mpi/openmpi/1.4.3/pgcc_pgf90/bin/mpif90'
CC='/dcfs2/program/mpi/openmpi/1.4.3/pgcc_pgf90/bin/mpicc'
LINK='/dcfs2/program/mpi/openmpi/1.4.3/pgcc_pgf90/bin/mpif90'


MPI='true'


DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
CPP='/usr/bin/cpp -P -traditional'
EXTENDED_SRC_FLAG='-Mextend'
INCLUDEDIRS='/dcfs2/program/mpi/openmpi/1.4.3/pgcc_pgf90/include'
INCLUDES='-I/dcfs2/program/mpi/openmpi/1.4.3/pgcc_pgf90/include'
LIBS='-L/dcfs2/program/mpi/openmpi/1.4.3/pgcc_pgf90/lib'


  I don't know why it happened such error , a few days ago ,I did it in the same way ,and  the compile is good ,and generated "mitgcmuv" file  ,but when I use it in other tests ,it always occur errors , it is so strange .
 
can you tell me what I should do , Mirek ?   sorry to trouble you again , but I really need your help .
 best regards !
lizhiyuan 


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


More information about the MITgcm-support mailing list