Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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.
 
Top