-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Julie Prestopnik <[email protected]> Co-authored-by: johnhg <[email protected]> Co-authored-by: Seth Linden <[email protected]> Co-authored-by: John Halley Gotway <[email protected]> Co-authored-by: j-opatz <[email protected]> Co-authored-by: Howard Soh <[email protected]> Co-authored-by: John Halley Gotway <[email protected]> Co-authored-by: jprestop <[email protected]> Co-authored-by: Howard Soh <[email protected]> Co-authored-by: Randy Bullock <[email protected]> Co-authored-by: davidfillmore <[email protected]> Co-authored-by: rgbullock <[email protected]> Co-authored-by: Seth Linden <[email protected]> Co-authored-by: hsoh-u <[email protected]> Co-authored-by: George McCabe <[email protected]> Co-authored-by: John Halley Gotway <[email protected]> Co-authored-by: MET Tools Test Account <[email protected]> Co-authored-by: mo-mglover <[email protected]> Co-authored-by: davidalbo <[email protected]> Co-authored-by: lisagoodrich <[email protected]> Co-authored-by: Dan Adriaansen <[email protected]>
- Loading branch information
1 parent
2e53ff7
commit cdcc01d
Showing
4 changed files
with
50 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Define the development environment for NCAR project machine seneca | ||
# Based on settings in /usr/local/src/met/README.snat | ||
|
||
# Top-level MET project directory | ||
MET_PROJ_DIR=`ls -1d /met/MET*` | ||
|
||
# Variables required to build MET | ||
export MET_DEVELOPMENT=true | ||
|
||
export MET_NETCDF=/usr/local | ||
export MET_HDF5INC=/usr/include | ||
export MET_HDF5LIB=/usr/lib64 | ||
export MET_HDF=/usr/local/hdf | ||
export MET_HDFEOS=/usr/local/hdfeos | ||
export MET_BUFR=/usr/local | ||
export MET_GRIB2CINC=/usr/include | ||
export MET_GRIB2CLIB=/usr/lib64 | ||
export MET_GSLINC=/usr/include/gsl | ||
export MET_GSLLIB=/usr/lib64 | ||
export MET_CAIROINC=/usr/include/cairo | ||
export MET_CAIROLIB=/usr/lib64 | ||
export MET_FREETYPEINC=/usr/include/freetype2 | ||
export MET_FREETYPELIB=/usr/lib64 | ||
export MET_JASPERLIB=/usr/lib64 | ||
|
||
export MET_PYTHON=/usr/bin/python3 | ||
export MET_PYTHON_CC="-I/usr/include/python3.6m -I/usr/include/python3.6m" | ||
export MET_PYTHON_LD="-L/usr/lib64 -lpython3.6m -lpthread -ldl -lutil -lm" | ||
|
||
# -D__64BIT__ is required because we've compiled libgrib2c.a with that flag | ||
export CFLAGS="-DUNDERSCORE -fPIC -D__64BIT__ -g" | ||
export CXXFLAGS=${CFLAGS} | ||
|
||
# Set LDFLAGS to include -rpath settings when compiling MET | ||
export LDFLAGS="-Wl,--disable-new-dtags" | ||
export LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/local/lib:/usr/lib64:${MET_HDF}/lib:${MET_HDFEOS}/lib" | ||
|
||
# Variables required to run MET | ||
export MET_TEST_INPUT=${MET_PROJ_DIR}/MET_test_data/unit_test | ||
export MET_FONT_DIR=${MET_TEST_INPUT}/fonts | ||
|
||
# Define Rscript to use a version with the ncdf4 package 1.17 or later | ||
export MET_TEST_RSCRIPT=/usr/bin/Rscript | ||
|