[cam-users] MPI files
Cathryn Meyer
cathryn.meyer at yale.edu
Thu Sep 9 11:24:07 MDT 2004
I am having trouble configuring CAM3.0 on an intel linux cluster. When
I run configure interactively, all goes well until the following command
and error lines:
Testing MPI library... **** FAILED ****
Issued the command:
gmake test_mpi 2>&1
The output was:
cat: Srcfiles: No such file or directory
Makefile:1008: /home/ccm33/Depends: No such file or directory
/home/ccm33/cam1/models/atm/cam/bld/mkSrcfiles > /home/ccm33/Srcfiles
/home/ccm33/cam1/models/atm/cam/bld/mkDepends Filepath Srcfiles >
/home/ccm33/Depends
pgf90 -c -I. -I/home/ccm33/cam1/models/atm/cam/src/physics/cam1
-I/home/ccm33/cam1/models/atm/cam/src/dynamics/eul
-I/home/ccm33/cam1/models/atm/cam/src/control
-I/home/ccm33/cam1/models/csm_share/shr
-I/home/ccm33/cam1/models/atm/cam/src/utils
-I/home/ccm33/cam1/models/utils/timing
-I/home/ccm33/cam1/models/atm/cam/src/advection/slt
-I/home/ccm33/cam1/models/atm/cam/src/ocnsice/dom
-I/home/ccm33/cam1/models/lnd/clm2/src/main
-I/home/ccm33/cam1/models/lnd/clm2/src/biogeophys
-I/home/ccm33/cam1/models/lnd/clm2/src/biogeochem
-I/home/ccm33/cam1/models/lnd/clm2/src/mksrfdata
-I/home/ccm33/cam1/models/lnd/clm2/src/riverroute
-I/home/ccm33/cam1/models/ice/csim4 -I/home/ccm33/netcdf-3.5.1/include
-I/usr/include -I/home/ccm33/esmf/mod/modO/linux_pgi
-I/home/ccm33/netcdf-3.5.1/lib -r8 -i4 -DCAM -DNO_SHR_VMATH
-DHIDE_SHR_MSG -DLINUX -DTHREADED_OMP -Mrecursive -Mdalign -Mextend
-DPGF90 -byteswapio -fast -mp test_mpi.F
pgf90 -o test_mpi test_mpi.o -mp -L/usr/lib -lmpi
test_mpi.o(.text+0x2c): In function `MAIN_':
: undefined reference to `mpi_init_'
gmake: *** [test_mpi] Error 2
--------------------------------------------------------
How do I link my MPI library so this does not happen?
Thanks,
Cathy
--
Cathryn Meyer
Department of Geology and Geophysics
Yale University
cathryn.meyer at yale.edu
(203)432-1959
More information about the cam-users
mailing list