Skip to content

Commit

Permalink
Fix Python path export in xml py script for jet clause.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulmononian committed Oct 15, 2024
1 parent 455a440 commit 3918aac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests-dev/create_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ def write_runtest_env():
export RTVERBOSE=false
"""
if ( MACHINE_ID == 'jet' ):
runtest_envs+="export PATH=/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/envs/ufs-weather-model/bin:/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/bin:$PATH"
runtest_envs+="export PYTHONPATH=/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/envs/ufs-weather-model/lib/python3.8/site-packages:/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/lib/python3.8/site-packages"
runtest_envs += f"export PATH=/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/envs/ufs-weather-model/bin:/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/bin:$PATH\n"
runtest_envs += f"export PYTHONPATH=/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/envs/ufs-weather-model/lib/python3.8/site-packages:/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/lib/python3.8/site-packages\n"

with open(filename,"w+") as f:
f.writelines(runtest_envs)
Expand Down
3 changes: 2 additions & 1 deletion tests/fv3_conf/compile_slurm.IN_jet
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#SBATCH -o out
#SBATCH --account=@[ACCNR]
#SBATCH --partition=@[PARTITION]
#SBATCH --qos=@[QUEUE]
###SBATCH --qos=@[QUEUE]
#SBATCH --qos=debug
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=8
#SBATCH --time=120
Expand Down
4 changes: 2 additions & 2 deletions tests/fv3_conf/fv3_slurm.IN_jet
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
#SBATCH -o out
#SBATCH --account=@[ACCNR]
#SBATCH --partition=@[PARTITION]
#SBATCH --qos=@[QUEUE]
#SBATCH --qos=debug
##SBATCH --ntasks=@[TASKS]
#SBATCH --nodes=@[NODES]
#SBATCH --ntasks-per-node=@[TPN]
#SBATCH --time=@[WLCLK]
#SBATCH --time=30:00
#SBATCH --job-name="@[JBNME]"
### #SBATCH --exclusive

Expand Down

0 comments on commit 3918aac

Please sign in to comment.