Ignore:
Timestamp:
Jul 6, 2022, 9:12:26 AM (3 years ago)
Author:
aslmd
Message:

modified the default configuration in WRFV3 arch so that executing configure creates a configure.wrf that is compliant with planetary applications directly without the need to patch. a by-product is that there no longer a weird mix of NETCDF env variable and harcoded stuff when patching, from now on setting the NETCDF environment variable is enough (as usually in WRF). the link to compiled LMDZ physics library is done through the libo_links folder that contains only ciclad right now but can be populated with configurations. for the moment the changes to default is only applicable to ifort cases but it is easy to broaden this to other cases by working on arch/configure_new.defaults.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WRF.COMMON/WRFV3/arch/configure_new.defaults

    r2749 r2753  
    192192CC              =       CONFIGURE_CC
    193193LD              =       $(FC)
    194 RWORDSIZE       =       CONFIGURE_RWORDSIZE
    195 PROMOTION       =       -i4
    196 ARCH_LOCAL      =       -DNONSTANDARD_SYSTEM_FUNC
    197 CFLAGS_LOCAL    =       -w -O3 -ip
     194RWORDSIZE       =       8
     195PROMOTION       =       -i4 -real-size 64
     196ARCH_LOCAL      =       -DNEWPHYS -DNONSTANDARD_SYSTEM_FUNC
     197CFLAGS_LOCAL    =       -w -O3 -mcmodel=large -shared-intel -ip
    198198LDFLAGS_LOCAL   =       -ip
    199199CPLUSPLUSLIB    =       
    200200ESMF_LDFLAG     =       $(CPLUSPLUSLIB)
    201 FCOPTIM         =       -O3
     201FCOPTIM         =       -O3 -mcmodel=large -shared-intel
    202202FCREDUCEDOPT    =       $(FCOPTIM)
    203203FCNOOPT         =       -O0
     
    207207FCSUFFIX        =
    208208BYTESWAPIO      =       -convert big_endian
    209 FCBASEOPTS      =       -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO)
     209FCBASEOPTS      =       -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) -mkl=parallel
    210210MODULE_SRCH_FLAG =     
    211211TRADFLAG        =      -traditional
    212 CPP             =      /lib/cpp -C -P
     212CPP             =      /lib/cpp -P
    213213AR              =      ar
    214214ARFLAGS         =      ru
Note: See TracChangeset for help on using the changeset viewer.