Changeset 2775
- Timestamp:
- Jul 6, 2022, 3:40:12 PM (2 years ago)
- Location:
- trunk/WRF.COMMON/WRFV3
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WRF.COMMON/WRFV3/arch/Config_new.pl
r2759 r2775 34 34 $sw_ompparallel = "" ; 35 35 $sw_stubmpi = "" ; 36 $sw_usenetcdff = " " ; # for 3.6.2 and greater, the fortran bindings might be in a separate lib file36 $sw_usenetcdff = "-lnetcdff" ; # for 3.6.2 and greater, the fortran bindings might be in a separate lib file 37 37 $sw_time = "" ; # name of a timer to time fortran compiles, e.g. timex or time 38 38 $sw_ifort_r8 = 0 ; … … 68 68 $sw_opt_level = substr( $ARGV[0], 11 ) ; 69 69 } 70 if ( substr( $ARGV[0], 1, 11 ) eq "USENETCDFF=" )71 {72 $sw_usenetcdff = substr( $ARGV[0], 12 ) ;73 }70 # if ( substr( $ARGV[0], 1, 11 ) eq "USENETCDFF=" ) 71 # { 72 # $sw_usenetcdff = substr( $ARGV[0], 12 ) ; 73 # } 74 74 if ( substr( $ARGV[0], 1, 5 ) eq "time=" ) 75 75 { … … 321 321 $_ =~ s:CONFIGURE_NETCDF_FLAG:-DNETCDF: ; 322 322 if ( $sw_os == Interix ) { 323 $_ =~ s:CONFIGURE_NETCDF_LIB_PATH:\$\(WRF_SRC_ROOT_DIR\)/external/io_netcdf/libwrfio_nf.a -L$sw_netcdf_path/lib -lnetcdf $sw_usenetcdff : ;323 $_ =~ s:CONFIGURE_NETCDF_LIB_PATH:\$\(WRF_SRC_ROOT_DIR\)/external/io_netcdf/libwrfio_nf.a -L$sw_netcdf_path/lib -lnetcdf $sw_usenetcdff $sw_netcdf_path/lib/libnetcdf.a : ; 324 324 } else { 325 $_ =~ s:CONFIGURE_NETCDF_LIB_PATH:-L\$\(WRF_SRC_ROOT_DIR\)/external/io_netcdf -lwrfio_nf -L$sw_netcdf_path/lib -lnetcdf $sw_usenetcdff : ;325 $_ =~ s:CONFIGURE_NETCDF_LIB_PATH:-L\$\(WRF_SRC_ROOT_DIR\)/external/io_netcdf -lwrfio_nf -L$sw_netcdf_path/lib -lnetcdf $sw_usenetcdff $sw_netcdf_path/lib/libnetcdf.a : ; 326 326 } 327 327 } -
trunk/WRF.COMMON/WRFV3/arch/configure_new.defaults
r2761 r2775 192 192 CC = CONFIGURE_CC 193 193 LD = $(FC) 194 RWORDSIZE = CONFIGURE_RWORDSIZE195 PROMOTION = -i4 196 ARCH_LOCAL = -DN ONSTANDARD_SYSTEM_FUNC197 CFLAGS_LOCAL = -w -O3 - ip194 RWORDSIZE = 8 195 PROMOTION = -i4 -real-size 64 196 ARCH_LOCAL = -DNEWPHYS -DNONSTANDARD_SYSTEM_FUNC 197 CFLAGS_LOCAL = -w -O3 -mcmodel=large -shared-intel -ip 198 198 LDFLAGS_LOCAL = -ip 199 199 CPLUSPLUSLIB = 200 200 ESMF_LDFLAG = $(CPLUSPLUSLIB) 201 FCOPTIM = -O3 201 FCOPTIM = -O3 -mcmodel=large -shared-intel 202 202 FCREDUCEDOPT = $(FCOPTIM) 203 203 FCNOOPT = -O0 … … 207 207 FCSUFFIX = 208 208 BYTESWAPIO = -convert big_endian 209 FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) 209 FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) -mkl=parallel 210 210 MODULE_SRCH_FLAG = 211 211 TRADFLAG = -traditional 212 CPP = /lib/cpp - C -P212 CPP = /lib/cpp -P 213 213 AR = ar 214 214 ARFLAGS = ru -
trunk/WRF.COMMON/WRFV3/arch/postamble_new
r2759 r2775 33 33 -I$(WRF_SRC_ROOT_DIR)/phys \ 34 34 -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 \ 35 37 CONFIGURE_CRTM_INC \ 36 38 CONFIGURE_RTTOV_INC … … 49 51 50 52 LIB_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 52 56 53 57 LIB = $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL)
Note: See TracChangeset
for help on using the changeset viewer.