[MITgcm-support] Problem with parallel build
Gustavo Correa
gus at ldeo.columbia.edu
Mon Nov 7 13:18:45 EST 2011
Hi Chun-Yan
You could try 'mpif77 --show' to see where is the openmpi include directory.
(/usr/include perhaps?)
I hope this helps,
Gus Correa
On Nov 7, 2011, at 12:56 PM, Chun-Yan Zhou wrote:
> Dear Martin
> My platform is linux_amd64 with gfortran and openmpi. The openmpi is stalled at '/usr/lib64/openmpi' and have 3 subfolders: bin,lib and share.
> So I modify the file 'linux_amd64_gfortran+mpi_generic' in folder build_options.
>
> INCLUDEDIRS='/usr/lib64/openmpi'
> INCLUDES=''
> LIBS='/usr/lib64/openmpi/lib'
> but still didn't work.
> How could I link the openmpi file in the build_options files?
> Thank you very much!
>
>
>
> From: Martin Losch <Martin.Losch at awi.de>
> To: mitgcm-support at mitgcm.org
> Subject: Re: [MITgcm-support] Problem with parallel build
> Message-ID: <5635C9BD-B61F-4665-B43E-AEA3DE55DB39 at awi.de>
> Content-Type: text/plain; CHARSET=US-ASCII
>
> 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
>
>
>
>
> ------------------------------
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
>
> End of MITgcm-support Digest, Vol 101, Issue 8
> **********************************************
>
> 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