[MITgcm-support] Problem with parallel build

Chun-Yan Zhou c.zhou at dundee.ac.uk
Mon Nov 7 06:41:15 EST 2011


Hi all, 
i tried to run exp4 parallelly, so i change nPx=2 and nPy=2 . 
my command as follows: 
../../../tools/genmake2 -mpi -mods=../code \-of ../../../tools/build_options/linux_amd64_gfortran+mpi_generic 
make depend 
there is a warning after make depend:  
mdsio_readvector.F (reading EESUPPORT.h, line 175): cannot find include file "mpif.h" 
not in mpif.h 
not in mpif.h 
not in /usr/include/mpif.h 
the  makefile is made anyway, so I tried make and got error: 
cat ptracers_dyn_state_mod.F | ../../../tools/set64bitConst.sh |  cpp -traditional -P -DWORDLENGTH=4 -DNML_TERMINATOR -DALLOW_USE_MPI -DALWAYS_USE_MPI   > ptracers_dyn_state_mod.f 
mpif77 -fconvert=big-endian -fimplicit-none -fPIC  -O3 -funroll-loops -c ptracers_dyn_state_mod.f 
make: mpif77: Command not found 

Can anyone tell me the problem? Any suggestion is highly appreciated. 

The University of Dundee is a registered Scottish charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20111107/82add43c/attachment.htm>


More information about the MITgcm-support mailing list