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/postamble_new

    r2747 r2753  
    3333                      -I$(WRF_SRC_ROOT_DIR)/phys \
    3434                      -I$(WRF_SRC_ROOT_DIR)/chem -I$(WRF_SRC_ROOT_DIR)/inc \
     35                      -I$(WRF_SRC_ROOT_DIR)/libo_links/.config/inc \
     36                      -ICONFIGURE_NETCDF_PATH/include \
    3537                      CONFIGURE_CRTM_INC \
    3638                      CONFIGURE_RTTOV_INC
     
    4951
    5052LIB_EXTERNAL    = \
    51                      CONFIGURE_NETCDF_LIB_PATH CONFIGURE_PNETCDF_LIB_PATH CONFIGURE_GRIB2_LIB
     53                     CONFIGURE_NETCDF_LIB_PATH CONFIGURE_PNETCDF_LIB_PATH CONFIGURE_GRIB2_LIB \
     54                     -L$(WRF_SRC_ROOT_DIR)/libo_links/.config/lib -llmdz \
     55                     -lnetcdf
    5256
    5357LIB             =    $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL)
Note: See TracChangeset for help on using the changeset viewer.