-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from gmao-cda/feature/cda/discover
add config for discover
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
##/bin/bash -xe | ||
|
||
# config for Netcdf | ||
export NC_INCLUDE="$BASEDIR/Linux/include/netcdf" | ||
export NC_LIBS=`$BASEDIR/Linux/bin/nf-config --flibs` | ||
|
||
# config for HDF4 | ||
export H4_INCLUDE="$BASEDIR/Linux/include/hdf" | ||
export H4_LIBS=`$BASEDIR/Linux/bin/h4fc-hdf4 -show |cut -d " " -f2-` | ||
|
||
# config for HDF5 | ||
export H5_INCLUDE="$BASEDIR/Linux/include/hdf5" | ||
export H5_LIBS=`$BASEDIR/Linux/bin/h5pfc -show TESTSRC | awk -F"TESTSRC " '{print $2}'` | ||
|
||
|
||
echo "=====================================" | ||
echo " F90GIO configurations:" | ||
echo | ||
echo "NC_INCLUDE=$NC_INCLUDE" | ||
echo "NC_LIBS=$NC_LIBS" | ||
|
||
echo "H4_INCLUDE=$H4_INCLUDE" | ||
echo "H4_LIBS=$H4_LIBS" | ||
|
||
echo "H5_INCLUDE=$H5_INCLUDE" | ||
echo "H5_LIBS=$H5_LIBS" |