Dear All,

RegCM4.1 on my MPI cluster is working well. Just for testing purpose I have downloaded RegCM4.2 and tried to install but I got the below error. Please help me, if any one already installed RegCM4.2 successfully. Thanks in advance.

$ make check
Making check in external
make[1]: Entering directory `/mnt/lustre/sali/RegCM-4.2/external'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/mnt/lustre/sali/RegCM-4.2/external'
Making check in Share
make[1]: Entering directory `/mnt/lustre/sali/RegCM-4.2/Share'
ifort -I/mnt/lustre/sali/RegCM-4.2/external -I/mnt/lustre/wlz/soft/netcdf-4.1.1/include -I/mnt/lustre/wlz/soft/netcdf-4.1.1/include  -I/mnt/lustre/sali/RegCM-4.2/Share  -O1 -fp-model fast=2 -xHost -ip -convert big_endian -assume byterecl -heap-arrays -c mod_constants.F90
ifort: command line warning #10130: unknown extension 'o' ignored in option '-x'
ifort: command line warning #10130: unknown extension 's' ignored in option '-x'
ifort: command line warning #10130: unknown extension 't' ignored in option '-x'
ifort -I/mnt/lustre/sali/RegCM-4.2/external -I/mnt/lustre/wlz/soft/netcdf-4.1.1/include -I/mnt/lustre/wlz/soft/netcdf-4.1.1/include  -I/mnt/lustre/sali/RegCM-4.2/Share -O1 -fp-model fast=2 -xHost -ip -convert big_endian -assume byterecl -heap-arrays -c mod_realkinds.f90
ifort: command line warning #10130: unknown extension 'o' ignored in option '-x'
ifort: command line warning #10130: unknown extension 's' ignored in option '-x'
ifort: command line warning #10130: unknown extension 't' ignored in option '-x'
ifort -I/mnt/lustre/sali/RegCM-4.2/external -I/mnt/lustre/wlz/soft/netcdf-4.1.1/include -I/mnt/lustre/wlz/soft/netcdf-4.1.1/include  -I/mnt/lustre/sali/RegCM-4.2/Share -O1 -fp-model fast=2 -xHost -ip -convert big_endian -assume byterecl -heap-arrays -c mod_stdio.f90
ifort: command line warning #10130: unknown extension 'o' ignored in option '-x'
ifort: command line warning #10130: unknown extension 's' ignored in option '-x'
ifort: command line warning #10130: unknown extension 't' ignored in option '-x'
ifort -I/mnt/lustre/sali/RegCM-4.2/external -I/mnt/lustre/wlz/soft/netcdf-4.1.1/include -I/mnt/lustre/wlz/soft/netcdf-4.1.1/include  -I/mnt/lustre/sali/RegCM-4.2/Share -O1 -fp-model fast=2 -xHost -ip -convert big_endian -assume byterecl -heap-arrays -c mod_message.f90
ifort: command line warning #10130: unknown extension 'o' ignored in option '-x'
ifort: command line warning #10130: unknown extension 's' ignored in option '-x'
ifort: command line warning #10130: unknown extension 't' ignored in option '-x'
ifort -I/mnt/lustre/sali/RegCM-4.2/external -I/mnt/lustre/wlz/soft/netcdf-4.1.1/include -I/mnt/lustre/wlz/soft/netcdf-4.1.1/include  -I/mnt/lustre/sali/RegCM-4.2/Share -O1 -fp-model fast=2 -xHost -ip -convert big_endian -assume byterecl -heap-arrays -c mod_date.f90
ifort: command line warning #10130: unknown extension 'o' ignored in option '-x'
ifort: command line warning #10130: unknown extension 's' ignored in option '-x'
ifort: command line warning #10130: unknown extension 't' ignored in option '-x'
fortcom: Error: mod_date.f90, line 290: This procedure cannot be PUBLIC since it has argument(s) whose derived type(s) are PRIVATE.   [D]  subroutine date_time_to_internal(d,t,x)
-----------------------------------^
fortcom: Error: mod_date.f90, line 290: This procedure cannot be PUBLIC since it has argument(s) whose derived type(s) are PRIVATE.   [T]  subroutine date_time_to_internal(d,t,x)
-------------------------------------^
fortcom: Error: mod_date.f90, line 298: This procedure cannot be PUBLIC since it has argument(s) whose derived type(s) are PRIVATE.   [D]  subroutine internal_to_date_time(x,d,t)
-------------------------------------^
fortcom: Error: mod_date.f90, line 298: This procedure cannot be PUBLIC since it has argument(s) whose derived type(s) are PRIVATE.   [T]  subroutine internal_to_date_time(x,d,t)
---------------------------------------^
fortcom: Error: mod_date.f90, line 207: This procedure cannot be PUBLIC since it has argument(s) whose derived type(s) are PRIVATE.   [X]  integer function idayofyear(x) result(id)
------------------------------^
compilation aborted for mod_date.f90 (code 1)
make[1]: *** [mod_date.o] Error 1
make[1]: Leaving directory `/mnt/lustre/sali/RegCM-4.2/Share'
make: *** [check-recursive] Error 1



With regards
Ali

--
Shaukat Ali

PhD Scholar
Institute of Atmospheric Physics, Chinese Academy of Sciences
40#Hua Yan Li, Qi Jia Huo Zi, Chao Yang District
Beijing 100029, China
Tel: +86-10-82995138
Mobile: 008613436344529

--------------------------------------------------------------

Scientific Officer (Climate Section)
Global Change Impact Studies Centre (GCISC)
National Centre for Physics (NCP) Complex
Quaid-i-Azam University Campus
P.O. QAU-45320, Islamabad, Pakistan.
http://www.gcisc.org.pk