[RegCNET] make regcm error - RegCM4

Stefano Cozzini cozzini at democritos.it
Fri Oct 1 09:12:05 CEST 2010


On 10/1/10 7:40 AM, Julie Mae Dado wrote:
> Hi all, I tried installing RegCM4 on my Fedora PC. I was able to create
> both terrain and icbc binary files using the /make terrain/ and /make
> icbc/ commands, however when I tried doing the /make regcm/, I get the
> ff error.
>
> make[1]: Entering directory `/Sigay/RegCM-4.0/Main'
> mpif90  -DMPP1 -O3 -fp-model precise -convert big_endian -assume
> byterecl  -c -o mod_constants.o ../Config/mod_constants.F90
> gfortran: precise: No such file or directory
> gfortran: big_endian: No such file or directory
> gfortran: byterecl: No such file or directory
> gfortran: unrecognized option '-convert'
> cc1: error: unrecognized command line option "-fp-model"
> make[1]: *** [mod_constants.o] Error 1
> make[1]: Leaving directory `/Sigay/RegCM-4.0/Main'
> make: *** [regcm] Error 2
>
> I dont understand why it's calling gfortran when I'm using ifort as my
> compiler.

This is why in your path mpif90 is the mpi wrapper for gfortran and NOT 
for ifort.

You should check if you have an mpi library compiled against ifort 
compilers; if this is available replace in Makefile.inc  mpif90 with the 
correct location of you mpi wrapper for ifort compiler.

i.e.
from

MPIF90 = mpif90


to something like:


MPIF90 =/my/location/where/the/wrapper/is/mpif90


If the mpi library is missing for ifort you could install by yourself a 
few hints are given here:

http://eforge.escience-lab.org/gf/project/regc/wiki/?pagename=BuildingCustomLibraries


Stefano





I'm also attaching /Makefile.inc /in this email/. /Help
> please. Thanks!
>
> Julie
>
>
>
> _______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2961 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20101001/af45b107/attachment-0001.p7s>


More information about the RegCNET mailing list