[RegCNET] error compile regcm4.3

sunhui sunhui at ieecas.cn
Thu Nov 21 09:34:52 CET 2013


hi everyone,

I want to use regcm4.3. My system is suselinux. I installed the  netcdf-4.1.3 and openmpi-1.6.4
I can compile regcm4.0 but when I compile regcm4.3, it failed. I use CC=gcc, FC=gfortran. configure is ok
the error listed below:

sunh at TC5000 /home7/sunh/reg4/RegCM-4.3-rc1$ make
make  all-recursive
make[1]: Entering directory `/home7/sunh/reg4/RegCM-4.3-rc1'
Making all in external
make[2]: Entering directory `/home7/sunh/reg4/RegCM-4.3-rc1/external'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home7/sunh/reg4/RegCM-4.3-rc1/external'
Making all in Share
make[2]: Entering directory `/home7/sunh/reg4/RegCM-4.3-rc1/Share'
gfortran -I/home7/sunh/reg4/RegCM-4.3-rc1/external -I/home1/sunh/opt/netcdf/include -I/home1/sunh/opt/netcdf/include  -I/home7/sunh/reg4/RegCM-4.3-rc1/Share  -O3 -mtune=native -fconvert=big-endian -fno-range-check -c mod_constants.F90
mod_constants.F90:0: error: bad value (native) for -mtune= switch
make[2]: *** [mod_constants.o] Error 1
make[2]: Leaving directory `/home7/sunh/reg4/RegCM-4.3-rc1/Share'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home7/sunh/reg4/RegCM-4.3-rc1'
make: *** [all] Error 2

thanks for your help 



sunhui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20131121/278ce897/attachment.htm>


More information about the RegCNET mailing list