[RegCNET] RegCM-4.3.5.6 - SYNTAX ERROR mod_ncstream_types.f90

Sandro Calmanti sandro.calmanti at enea.it
Wed Mar 6 09:43:04 CET 2013


Hi all,

I'm getting this "Syntac error" message when compiling the latest 
releease package RegCM-4.3.5.6 (compilation environment reported below).

Any solution?
Cheers

Sandro


##################################################################################
ifort 
-I/afs/enea.it/cas/user/calmanti/RegCM/RegCM-4.3.5.6_portici/external 
-I/afs/enea.it/cas/user/calmanti/.Intel/include 
-I/afs/enea.it/cas/user/calmanti/.Intel/include 
-I/afs/enea.it/cas/user/calmanti/RegCM/RegCM-4.3.5.6_portici/Share -O3 
-fp-model fast=2 -ip -convert big_endian -assume byterecl -heap-arrays 
-c mod_ncstream_types.f90
mod_ncstream_types.f90(355): error #5082: Syntax error, found ',' when 
expecting one of: ( %% . = =>
     class(ncvariable_standard) , pointer :: vp => null()
-------------------------------^
mod_ncstream_types.f90(355): error #5082: Syntax error, found '=>' when 
expecting one of: ( * ) :: , <END-OF-STATEMENT> ; + . - %% (/ [ : ] /) . 
** / // ...
     class(ncvariable_standard) , pointer :: vp => null()
-----------------------------------------------^
mod_ncstream_types.f90(355): error #6590: This statement is not 
permitted as a statement within a derived-type-def
     class(ncvariable_standard) , pointer :: vp => null()
----^
mod_ncstream_types.f90(356): error #7128: A derived-type-def must have 
at least one component-def-stmt.
   end type nc_variable_p
--^
compilation aborted for mod_ncstream_types.f90 (code 1)

####################################################################################

This is the compilation environment


####################################################################################
export INTELROOT=/afs/enea.it/cas/user/calmanti/.Intel
export INTELSRC=/afs/enea.it/cas/user/calmanti/.Intel/src
# the C compiler. I am assuming here to have the whole Intel
# Composer XE suite, so I will use the intel C compiler.
export CC=icc
# the C++ compiler, the intel one.
export CXX=icpc
# the Fortran 9X compiler.
export FC=ifort
# the Foirtran 77 compiler. For intel, is just the fortran one.
export F77=ifort
# C Compiler flags
export CFLAGS="-O3 -fPIC"
# F9X Compiler flags
export FCFLAGS="-O3 -xHost -fPIC"
# F77 Compiler flags
export FFLAGS="-O3 -xHost -fPIC"
# CXX Compiler flags
export CXXFLAGS="-O3 -xHost -fPIC"
# Linker flags
export LDFLAGS="-Wl,-rpath=$INTELROOT/lib -i-dynamic"
# Preset PATH to use the installed software during build
export PATH=$INTELROOT/bin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INTELROOT/lib
export MANPATH=$INTELROOT/share/man:$MANPATH


-- 
====================================================
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



More information about the RegCNET mailing list