Skip to content

Commit

Permalink
Merge branch 'feature/cd_standalone_config' into feature/cd_AirCraft_…
Browse files Browse the repository at this point in the history
…STAR
  • Loading branch information
chengdang committed Aug 12, 2024
2 parents f390236 + d79de6f commit feff9fb
Show file tree
Hide file tree
Showing 7 changed files with 929 additions and 727 deletions.
9 changes: 6 additions & 3 deletions configuration/gfortran-debug.setup
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ if [[ "$uname" == "Linux" ]] ; then
export NC4_DIR=/usr/local/ #singularity container only
export HDF_DIR=/usr/local/ #singularity container only
elif [[ "$uname" == "Darwin" ]] ; then
export NC4_DIR="/usr/local/Cellar/netcdf/4.8.0_2" #mac OS, brew install
export HDF_DIR="/usr/local/Cellar/hdf5/1.12.1" #mac OS, brew install
export NC4_DIR="/usr/local/Cellar/netcdf/4.9.2_1" #mac OS, brew install
export NC4F_DIR="/usr/local/Cellar/netcdf-fortran/4.6.1" #mac OS, brew install
export HDF_DIR="/usr/local/Cellar/hdf5/1.14.3_1" #mac OS, brew install
fi

#set the number of openmp threads
Expand All @@ -38,9 +39,11 @@ export LIBS=""

if [[ "$uname" == "Darwin" ]] || [[ "$uname" == "Linux" ]] ; then #mac OS, brew install or Linux (singularity)
export LIBS="\
-L $NC4_DIR/lib -lnetcdf -lnetcdff \
-L $NC4_DIR/lib -lnetcdf \
-L $NC4F_DIR/lib -lnetcdff \
-L $HDF_DIR/lib -lhdf5 \
-I $NC4_DIR/include \
-I $NC4F_DIR/include \
-I $HDF_DIR/include "
else
export LIBS=""
Expand Down
9 changes: 6 additions & 3 deletions configuration/gfortran.setup
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ if [[ "$uname" == "Linux" ]] ; then
export NC4_DIR=/usr/local #singularity container only
export HDF_DIR=/usr/local #singularity container only
elif [[ "$uname" == "Darwin" ]] ; then
export NC4_DIR="/usr/local/Cellar/netcdf/4.8.0_2" #mac OS (brew install)
export HDF_DIR="/usr/local/Cellar/hdf5/1.12.1" #mac OS (brew install)
export NC4_DIR="/usr/local/Cellar/netcdf/4.9.2_1"
export NC4F_DIR="/usr/local/Cellar/netcdf-fortran/4.6.1" #mac OS (brew install)
export HDF_DIR="/usr/local/Cellar/hdf5/1.14.3_1" #mac OS (brew install)
fi

#set the number of openmp threads
Expand All @@ -38,8 +39,10 @@ export LIBS=""

if [[ "$uname" == "Darwin" ]] || [[ "$uname" == "Linux" ]] ; then #mac OS, brew install or linux (singularity)
export LIBS="\
-L $NC4_DIR/lib -lnetcdf -lnetcdff \
-L $NC4_DIR/lib -lnetcdf \
-L $NC4F_DIR/lib -lnetcdff \
-L $HDF_DIR/lib -lhdf5 \
-I $NC4F_DIR/include \
-I $NC4_DIR/include \
-I $HDF_DIR/include "
else
Expand Down
2 changes: 1 addition & 1 deletion src/Build/VERSION.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.

set( ${PROJECT_NAME}_VERSION_STR "2.4.0-alpha" )
set( ${PROJECT_NAME}_VERSION_STR "3.1.1" )

9 changes: 6 additions & 3 deletions src/Build/config-setup/gfortran-debug.setup
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ if [[ "$uname" == "Linux" ]] ; then
export NC4_DIR=/usr/local/ #singularity container only
export HDF_DIR=/usr/local/ #singularity container only
elif [[ "$uname" == "Darwin" ]] ; then
export NC4_DIR="/usr/local/Cellar/netcdf/4.8.0_2" #mac OS, brew install
export HDF_DIR="/usr/local/Cellar/hdf5/1.12.1" #mac OS, brew install
export NC4_DIR="/usr/local/Cellar/netcdf/4.9.2_1" #mac OS, brew install
export NC4F_DIR="/usr/local/Cellar/netcdf-fortran/4.6.1" #mac OS, brew install
export HDF_DIR="/usr/local/Cellar/hdf5/1.14.3_1" #mac OS, brew install
fi

#set the number of openmp threads
Expand All @@ -38,9 +39,11 @@ export LIBS=""

if [[ "$uname" == "Darwin" ]] || [[ "$uname" == "Linux" ]] ; then #mac OS, brew install or Linux (singularity)
export LIBS="\
-L $NC4_DIR/lib -lnetcdf -lnetcdff \
-L $NC4_DIR/lib -lnetcdf \
-L $NC4F_DIR/lib -lnetcdff \
-L $HDF_DIR/lib -lhdf5 \
-I $NC4_DIR/include \
-I $NC4F_DIR/include \
-I $HDF_DIR/include "
else
export LIBS=""
Expand Down
9 changes: 6 additions & 3 deletions src/Build/config-setup/gfortran.setup
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ if [[ "$uname" == "Linux" ]] ; then
export NC4_DIR=/usr/local #singularity container only
export HDF_DIR=/usr/local #singularity container only
elif [[ "$uname" == "Darwin" ]] ; then
export NC4_DIR="/usr/local/Cellar/netcdf/4.8.0_2" #mac OS (brew install)
export HDF_DIR="/usr/local/Cellar/hdf5/1.12.1" #mac OS (brew install)
export NC4_DIR="/usr/local/Cellar/netcdf/4.9.2_1"
export NC4F_DIR="/usr/local/Cellar/netcdf-fortran/4.6.1" #mac OS (brew install)
export HDF_DIR="/usr/local/Cellar/hdf5/1.14.3_1" #mac OS (brew install)
fi

#set the number of openmp threads
Expand All @@ -38,8 +39,10 @@ export LIBS=""

if [[ "$uname" == "Darwin" ]] || [[ "$uname" == "Linux" ]] ; then #mac OS, brew install or linux (singularity)
export LIBS="\
-L $NC4_DIR/lib -lnetcdf -lnetcdff \
-L $NC4_DIR/lib -lnetcdf \
-L $NC4F_DIR/lib -lnetcdff \
-L $HDF_DIR/lib -lhdf5 \
-I $NC4F_DIR/include \
-I $NC4_DIR/include \
-I $HDF_DIR/include "
else
Expand Down
Loading

0 comments on commit feff9fb

Please sign in to comment.