#%Module############################################################# ## Zhengtao.Cui@noaa.gov ## NWC/NWS/NOAA ## nwm 3.0 ##################################################################### proc ModulesHelp { } { puts stderr "Set environment veriables for NWM code" puts stderr "\tHycom: This module initializes environment variables" puts stderr "\t\tfor the Intel Compiler Suite $version\n" } # module-whatis "NWM whatis description" set ver $::env(nwm_ver) set COMP ftn set FC ftn module purge module load envvar/$::env(envvar_ver) module load PrgEnv-intel/$::env(PrgEnv_intel_ver) module load craype/$::env(craype_ver) module load intel/$::env(intel_ver) module load cray-mpich/$::env(cray_mpich_ver) module load netcdf/$::env(netcdf_ver) module load hdf5/$::env(hdf5_ver) module load iobuf/$::env(iobuf_ver) # #To use CrayPat, uncomment the following #line and #remove (comment out) the line 'module load iobuf/2.0.5' # #module load perftools # #module load dmapp # #The next will get NETCDF_DIR not found error on cactus #NETCDF_INC and NETCDF_LIB are already defined by the netcdf module #setenv NETCDF_INC $env(NETCDF_DIR)/include #setenv NETCDF_LIB $env(NETCDF_DIR)/lib