Dear all,

I'm getting the same problem as Ali below when trying to install version 4.2 (v4.1 works fine)
with ifort and I've seen the reply from Graziano on  possibly outdated ifort compiler.

Indeed my sys admin says we can not update on ifort 9.1 (linked to the Quadrics libraries for node interconnection).

I get rid of the optimization issue by removing the -x
However, I still get exactly the same PUBLIC/PRIVATE conflict reported by Ali.

Any workaround for older versions of ifort?


S.



Il 08/02/2012 04:06, Pir S. Ali ha scritto:
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



_______________________________________________
RegCNET mailing list
RegCNET@lists.ictp.it
https://lists.ictp.it/mailman/listinfo.cgi/regcnet

-- 
====================================================
SANDRO CALMANTI         ENEA              UTMEA-CLIM
Unita' Tecnica Modellistica Energetica Ambientale
Laboratorio Modellistica Climatica ed Impatti

Via Anguillarese, 301
000123 Santa Maria di Galeria (ROMA)
Italy
Tel:  +39 0630486652    
Fax:  +39 0630484264   
Mobile: + 39 3331852363
Skype: sandro.calmanti
Web: http://clima.casaccia.enea.it
     http://www.enea.it

.in the fight between you and the world, back the world

					F. Zappa