[MITgcm-support] a problem with mpich
m. r. schaferkotter
schaferk at bellsouth.net
Mon Jun 21 10:10:39 EDT 2010
there is a reference to this error message on the pg site:
http://www.pgroup.com/userforum/viewtopic.php?p=664&sid=107adf94be7ef2befd3c38fdc173ff0c
it looks as though it would be best to recompile mpich as alluded to
at the above URL.
michael
On Jun 21, 2010, at 2:14 AM, 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