Error when compiling test case ERS_D.f19_g16.B1850CN

Hello,

I got some errors when compiling ERS_D.f19_g16.B1850CN for a functionality test.

Platform: X86_64 Linux cluster
Compiler: Intel 11.1.072
Error messages:

/g/software/cesm/1.0/models/atm/cam/src/physics/cam/uwshcu.F90(76): error #5082: Syntax error, found IDENTIFIER 'CALL' when expecting one of: ( * ) :: , ; + . - % (/ [ : ] /) . ' ** / ...
call addfld( 'ufrclcl_Cu' , 'fraction', 1 , 'A' , 'Cumulus fraction at LCL' , phys_decomp )
----^
/g/software/cesm/1.0/models/atm/cam/src/physics/cam/uwshcu.F90(91): error #5082: Syntax error, found IDENTIFIER 'CALL' when expecting one of: ( * ) :: , ; + . - % (/ [ : ] /) . ' ** / ...
call addfld( 'tkeavg_Cu' , 'm2/s2' , 1 , 'A' , 'Average tke within PBL for convection scheme' , phys_decomp )&
----^
/g/software/cesm/1.0/models/atm/cam/src/physics/cam/uwshcu.F90(92): error #5082: Syntax error, found IDENTIFIER 'CALL' when expecting one of: ( * ) :: , ; + . - % (/ [ : ] /) . ' ** / ...
call addfld( 'zinv_Cu' , 'm' , 1 , 'A' , 'PBL top height' , phys_decomp )
----^
/g/software/cesm/1.0/models/atm/cam/src/physics/cam/uwshcu.F90(92): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: :
call addfld( 'zinv_Cu' , 'm' , 1 , 'A' , 'PBL top height' , phys_decomp )
-----------------------------------------------------------------------------------------------------------------------------------^
/g/software/cesm/1.0/models/atm/cam/src/physics/cam/uwshcu.F90(137): error #5082: Syntax error, found IDENTIFIER 'CALL' when expecting one of: ( * ) :: , ; + . - % (/ [ : ] /) . ' ** / ...
call addfld('exit_conden_Cu' , 'no' , 1 , 'A' , 'exit_conden' , phys_decomp )&
----^
/g/software/cesm/1.0/models/atm/cam/src/physics/cam/uwshcu.F90(138): error #5082: Syntax error, found IDENTIFIER 'CALL' when expecting one of: ( * ) :: , ; + . - % (/ [ : ] /) . ' ** / ...
call addfld('exit_klclmkx_Cu' , 'no' , 1 , 'A' , 'exit_klclmkx' , phys_decomp )&
----^
/g/software/cesm/1.0/models/atm/cam/src/physics/cam/uwshcu.F90(139): error #5082: Syntax error, found IDENTIFIER 'CALL' when expecting one of: ( * ) :: , ; + . - % (/ [ : ] /) . ' ** / ...
call addfld('exit_klfcmkx_Cu' , 'no' , 1 , 'A' , 'exit_klfcmkx' , phys_decomp )&
----^
.
.
.


Please help.
 
Hello all,

The problem was solved after deleting the space character at the end of the problematic statements to make the statements exactly 132 characters.
 

eaton

CSEG and Liaisons
This is a problem in the file Macros.generic_linux_intel. We have found that when the compiler flag "-132" is used with free format files then we get the behavior you observed. The -132 flag should only be used for fixed format files. In the Macros file this means that the -132 flag should be removed from FFLAGS, and only applied to FIXEDFLAGS.
 
Back
Top