[MITgcm-support] a problem with mpich

Gus Correa gus at ldeo.columbia.edu
Mon Jun 21 11:12:14 EDT 2010


Hi Dwight

Besides what Martin said, to save yourself headaches,
you may want to upgrade from the old MPICH1 (mpich-1.2.7p1)
you are trying to use.
In the open source world there are up to date
MPICH2 and OpenMPI versions:

http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads
http://www.open-mpi.org/software/ompi/v1.4/

I hope this helps,
Gus Correa
---------------------------------------------------------------------
Gustavo Correa
Lamont-Doherty Earth Observatory - Columbia University
Palisades, NY, 10964-8000 - USA
---------------------------------------------------------------------




Martin Losch wrote:
> To me this looks like it has to do with the mpich installation. 
> Make sure (possibly with the help of your sysadmin) that you can 
> compile simple fortran programs with mpi. That's easier to debug.
> 
> Martin
> 
> On Jun 20, 2010, at 3:27 PM, ouc.edu.cn wrote:
> 
>> Hi all,
>>   when I compile the code with mpich, an error message appears:
>> /public/source/mpich-1.2.7p1/lib/libmpich.a(farg.o):(.data+0x0): undefined reference to `pgf90_compiled'
>> /public/source/mpich-1.2.7p1/lib/libmpich.a(initfcmn.o):(.data+0x0): undefined reference to `pgf90_compiled'
>> make: *** [mitgcmuv] Error 2
>>
>> The optfile I use is:
>>  
>> INCLUDES="-I/public/soft/mpich127-pgi702/include"
>> FC=pgf77
>> LIBS="-L/public/soft/mpich127-pgi702/lib -lmpich"
>> INCLUDEDIRS="../../../../../../../public/soft/mpich127-pgi702/include"
>> DEFINES='-DWORDLENGTH=4'
>> CPP='cpp  -traditional -P'
>> NOOPTFLAGS='-O0 -fPIC'
>> MAKEDEPEND=/public/home/hycom/Mitgcm/MITgcm_c61z/tools/cyrus-imapd-makedepend/makedepend
>> if test "x$IEEE" = x ; then
>>     #  No need for IEEE-754
>>     FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend -Ktrap=fp -fPIC'
>>     FOPTIM='-tp k8-64 -pc=64 -O2 -Mvect=sse' #-fastsse -O3 -Msmart -Mvect=cachesize:1048576,transform'
>> else
>>     #  Try to follow IEEE-754
>>     FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend -Ktrap=fp -fPIC'
>>     FOPTIM='-tp k8-64 -pc=64 -O2 -Mvect=sse -Kieee' #-fastsse -O3 -Msmart -Kieee -Mvect=cachesize:1048576,transform'
>> fi
>> CFLAGS='-O2 -fPIC'
>>  
>> It seems that there is something wrong with this line: LIBS="-L/public/soft/mpich127-pgi702/lib -lmpich"
>> Could anybody tell me what is the problem with this optfile ? Thanks a lot.
>> Cheers,
>> Dwight
>>
>>
>> _______________________________________________
>> 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