Changeset 2753 for trunk/WRF.COMMON/WRFV3/arch/Config_new.pl
- Timestamp:
- Jul 6, 2022, 9:12:26 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WRF.COMMON/WRFV3/arch/Config_new.pl
r2747 r2753 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 }
Note: See TracChangeset
for help on using the changeset viewer.