[MITgcm-support] Problem with parallel build

Martin Losch Martin.Losch at awi.de
Mon Nov 7 11:12:33 EST 2011


Make sure that you have an mpi installation that the paths in your build_options files points to. Currently that does not seem to be the case.
M.


On Nov 7, 2011, at 12:41 PM, Chun-Yan Zhou wrote:

> 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
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list