Skip to content

Commit

Permalink
Drop Python module load on graham, cedar & beluga
Browse files Browse the repository at this point in the history
With our change to using a salishsea-cmd miniconda env on HPC clusters in
combination with the --user install strategy, the SalishSeaNEMO.sh script no
longer needs to load a Python module because the Python interpreter is provided
by the #! in `$HOME/.local/bin/salishsea`.
  • Loading branch information
douglatornell committed Apr 29, 2023
1 parent c0ee516 commit 6cf0a4c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions salishsea_cmd/run.py
Expand Up @@ -952,14 +952,12 @@ def _modules():
"""\
module load StdEnv/2020
module load netcdf-fortran-mpi/4.6.0
module load python/3.11.2
"""
),
"cedar": textwrap.dedent(
"""\
module load StdEnv/2020
module load netcdf-fortran-mpi/4.6.0
module load python/3.11.2
"""
),
"delta": textwrap.dedent(
Expand All @@ -971,7 +969,6 @@ def _modules():
"""\
module load StdEnv/2020
module load netcdf-fortran-mpi/4.6.0
module load python/3.11.2
"""
),
"omega": textwrap.dedent(
Expand Down
4 changes: 0 additions & 4 deletions tests/test_run.py
Expand Up @@ -1983,7 +1983,6 @@ def test_beluga(self, account, deflate):
module load StdEnv/2020
module load netcdf-fortran-mpi/4.6.0
module load python/3.11.2
mkdir -p ${RESULTS_DIR}
cd ${WORK_DIR}
Expand Down Expand Up @@ -2090,7 +2089,6 @@ def test_cedar(self, cpu_arch, nodes, cores_per_node, mem, deflate):
module load StdEnv/2020
module load netcdf-fortran-mpi/4.6.0
module load python/3.11.2
mkdir -p ${RESULTS_DIR}
cd ${WORK_DIR}
Expand Down Expand Up @@ -2195,7 +2193,6 @@ def test_graham(self, account, deflate):
module load StdEnv/2020
module load netcdf-fortran-mpi/4.6.0
module load python/3.11.2
mkdir -p ${RESULTS_DIR}
cd ${WORK_DIR}
Expand Down Expand Up @@ -3196,7 +3193,6 @@ def test_beluga_cedar_graham(self, system):
"""\
module load StdEnv/2020
module load netcdf-fortran-mpi/4.6.0
module load python/3.11.2
"""
)
assert modules == expected
Expand Down

0 comments on commit 6cf0a4c

Please sign in to comment.