[Ncep.list.nems.announce] NEMS trunk - ESMF 6 Compile issue on Zeus

weiyu yang weiyu.yang at noaa.gov
Fri Aug 29 15:29:34 UTC 2014


Patrick,

Yes, I found this and I run the full test yesterday and going to commit 
it to fix this bug.

Weiyu

On 8/29/2014 10:35 AM, Patrick Tripp wrote:
> In case this isn't already a known issue:
>
> There are a couple of problems with the ESMF 6 Intel 13 compilation on Zeus.
>
> The following needs to be added to the file configure.nems.Zeus.intel_13.
>
> FPP               = -fpp
> CPPFLAGS     = -DCHNK_RRTM=8  -DENABLE_SMP -DTHREAD_2D
>
> This addresses the following errors:
>
> machine.f(5): warning #5117: Bad # preprocessor line
> #ifndef SINGLE_PREC
> -^
> machine.f(15): warning #5117: Bad # preprocessor line
> #else
> -^
> machine.f(25): warning #5117: Bad # preprocessor line
> #endif
> -^
>
> radsw_main_nmmb.f(351): error #6592: This symbol must be a defined
> parameter, an enumerator, or an argument of an inquiry function that
> evaluates to a compile-time constant.   [CHNK_RRTM]
>         integer, parameter :: CHK= CHNK_RRTM      ! CHNK_RRTM is macro
> defined in configure.nems
> ---------------------------------^
> radsw_main_nmmb.f(351): error #6404: This name does not have a type, and
> must have an explicit type.   [CHNK_RRTM]
>         integer, parameter :: CHK= CHNK_RRTM      ! CHNK_RRTM is macro
> defined in configure.nems
> ---------------------------------^
>
> - Patrick
> _______________________________________________
> Ncep.list.nems.announce mailing list
> Ncep.list.nems.announce at lstsrv.ncep.noaa.gov
> https://lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce



More information about the Ncep.list.nems.announce mailing list