Dear Peter and Ahmed,
Thanks very much for your kind reply. I have run the configure scripts correctly, and in server the OPENMPI and PGI compiler are all installed. In "./configure" step, I have chosen "2. Intel Fortran Compiler". But when I choose "3.PGI compiler", the "make all" step is still failed.
Su
----- 原始邮件 -----
发件人:Peter Huszar <huszarpet@gmail.com>
收件人:suxingtao@sina.com
主题:Re: [RegCNET] compile problem
日期:2011-8-22 23:35:17
Dear Su
your compiler flags are set to Intel Fortran but You are using
Portland Fortran 90 compiler, so it is complaining about uknown
switches (these are the flags I am talking about) . Did You run the
configure script correctly and have You set, what compiler will You
use?
Cheers
Peter
2011/8/22 <suxingtao@sina.com>:
> Dear all peers,
>
> When I compile RegCM4.1.1 model in server after entering "make all", I
> encountered the following message:
>
> .............................
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> SUCCESSFULLY CREATED ICBC BINARY FILES
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> CLM option is not activated. Skipping creation of clm2rcm.
> make[1]: Entering directory `/root/sxt/RegCM4.1.1-BATS/Main'
> mpif90 -DMPP1 -O3 -fp-model precise -convert big_endian -heap-arrays
> -assume byterecl -c -o mod_constants.o ../Config/mod_constants.F90
> pgf90-Error-Unknown switch: -fp-model
> pgf90-Error-Unknown switch: -convert
> pgf90-Error-Unknown switch: -heap-arrays
> pgf90-Error-Unknown switch: -assume
> make[1]: *** [mod_constants.o] Error 1
> make[1]: Leaving directory `/root/sxt/RegCM4.1.1-BATS/Main'
> make: *** [regcm] Error 2
>
>
>
> But the modle was successfully compiled in my PC computer. I don't know why.
> The Makefile.inc file is attached. Could you give me a hand? Thanks very
> much in advance.
>
>
>
> Su
>
> _______________________________________________
> RegCNET mailing list
> RegCNET@lists.ictp.it
> https://lists.ictp.it/mailman/listinfo.cgi/regcnet
>