Skip to content

Commit

Permalink
link python scripts at every run
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-barge committed Dec 22, 2023
1 parent 8f30737 commit ec83eb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions RUNTOOLS/templates/includefile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ MERGE_EXEC=$P_UTL_DIR/bin/mergefile_mpp2.exe # rebuild program (REBUIL
# if you want netcdf4 output use mergefile_mpp4.exe
PYEXEC=$P_EXE_DIR/main.py # OASIS coupled executable - comment to ignore
MODELS=$P_EXE_DIR/models.py
if [ ! -f $PYEXEC ]; then ln -s $P_PY_DIR/main.py $PYEXEC ; fi
if [ ! -f $MODELS ]; then ln -s $P_PY_DIR/models.py $MODELS ; fi
ln -s $P_PY_DIR/main.py $PYEXEC
ln -s $P_PY_DIR/models.py $MODELS

# In the following, set the name of some files that have a hard coded name in NEMO. Files with variable names
# are directly set up in the corresponding namelist, the script take care of them.
Expand Down
4 changes: 2 additions & 2 deletions RUNTOOLS/templates/scal/includefile.sh.tmp
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ MERGE_EXEC=$P_UTL_DIR/bin/mergefile_mpp2.exe # rebuild program (REBUIL
# if you want netcdf4 output use mergefile_mpp4.exe
PYEXEC=$P_EXE_DIR/main.py # OASIS coupled executable - comment to ignore
MODELS=$P_EXE_DIR/models.py
if [ ! -f $PYEXEC ]; then ln -s $P_PY_DIR/main.py $PYEXEC ; fi
if [ ! -f $MODELS ]; then ln -s $P_PY_DIR/models.py $MODELS ; fi
ln -s $P_PY_DIR/main.py $PYEXEC
ln -s $P_PY_DIR/models.py $MODELS

# In the following, set the name of some files that have a hard coded name in NEMO. Files with variable names
# are directly set up in the corresponding namelist, the script take care of them.
Expand Down

0 comments on commit ec83eb6

Please sign in to comment.