-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile hycom oasis intel #219
Open
lilleannette
wants to merge
6
commits into
develop
Choose a base branch
from
compile_hycom_oasis_intel
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
500ebb8
Update Linux.fram.ifort_hycom
lilleannette 7c9f9d5
Update nextsim_configuration.src
lilleannette dbba2e7
Update srjob.sh
lilleannette 265350a
Update blkdat.input
lilleannette a9036c1
Update blkdat.input
lilleannette c7869c0
Update Linux.fram.ifort_hycom
caglartac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -2,33 +2,18 @@ | |
# must be sourced before compiling and running | ||
export MACHINE_FRAM=1 # compile of core is slightly different on fram | ||
|
||
# Load the right modules | ||
module restore system | ||
module load GCC/6.3.0-2.27 | ||
module load Boost/1.63.0-foss-2017a-Python-2.7.13 | ||
module load netCDF-C++4/4.3.0-foss-2017a-HDF5-1.8.18 | ||
module load CMake/3.9.1 | ||
module load netCDF-Fortran/4.4.4-foss-2017a-HDF5-1.8.18 | ||
#AS | ||
module load PETSc/3.8.0-foss-2017a-Python-2.7.13 | ||
#AS | ||
|
||
|
||
# Linking module and neXtSIM envinronment variables | ||
CLUSTER_ROOT_DIR=/cluster/projects/nn2993k/sim | ||
export PETSC_DIR=$EBROOTPETSC #AS#$CLUSTER_ROOT_DIR/packages/petsc/ | ||
export EBROOTBOOST=/opt/nextsim_intel/boost-1.67/ | ||
export BOOST_INCDIR=$EBROOTBOOST/include | ||
export BOOST_LIBDIR=$EBROOTBOOST/lib | ||
export NETCDF_DIR=$EBROOTNETCDFMINCPLUSPLUS4 | ||
export NETCDF_FOR_DIR=$EBROOTNETCDF | ||
export OPENMPI_DIR=$EBROOTOPENMPI | ||
export NETCDF_DIR=/cluster/software/netCDF/4.9.0-iimpi-2022a | ||
|
||
# User or use-case specific directories | ||
export NEXTSIMDIR=$HOME/Progs/NeXtSIM/nextsim | ||
export NEXTSIMTOOLS_ROOT_DIR=$HOME/Progs/NeXtSIM/nextsim-tools | ||
export NEXTSIMF_ROOT_DIR=$HOME/Progs/NeXtSIM/nextsimf | ||
export NEXTSIM_ENV_ROOT_DIR=$HOME/Progs/NeXtSIM/nextsim-env | ||
export SWARP_ROUTINES=$HOME/Progs/NeXtSIM/SWARP-routines | ||
export INPUT_DATA_DIR=$CLUSTER_ROOT_DIR/data | ||
export XSIM_COMP_VERBOSE=no | ||
|
||
|
@@ -38,7 +23,7 @@ export NEXTSIM_MESH_DIR=$CLUSTER_ROOT_DIR/mesh | |
export NEXTSIM_DATA_DIR=$CLUSTER_ROOT_DIR/data_links | ||
|
||
# GMSH related variables | ||
export GMSH_DIR=$CLUSTER_ROOT_DIR/packages/gmsh/ | ||
export GMSH_DIR=/opt/nextsim_intel/gmsh-3.0.6/ | ||
export PATH=$PATH:$GMSH_DIR/bin | ||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GMSH_DIR/lib | ||
|
||
|
@@ -48,7 +33,7 @@ export AEROBULK_DIR=$CLUSTER_ROOT_DIR/packages/aerobulk/ | |
|
||
# Oasis related variables | ||
export USE_OASIS=true | ||
export OASIS_DIR=/cluster/projects/nn9481k/oasis3-mct/oa3-mct_gfortran/ | ||
export OASIS_DIR=/cluster/projects/nn9878k/guibou/NANUK/oa3-mct_iimpi2022a/ | ||
|
||
# email for slurm jobs | ||
export MY_EMAIL="[email protected]" | ||
export MY_EMAIL="" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code seems to compile of with the extension "a" of "libscrip" on the next line (line 20) rather than at the end of $(OASIS_DIR)/lib/libscrip. , but it would be best to delete the newline command for clarity