TOML files for Harmonie experiments. Each branch defines an experiment (E.g see the cy43/3dvar_exp branch)
# in the future this will become `module load Harmonie`
export PATH:/perm/ms/no/fars/julia-1.1.1/bin:$PATH
export JULIA_DEPOT_PATH=/perm/ms/no/fars/jlpkg4harmonie
export HMHOME_REPOSITORY=https://github.com/roelstappers/hm_home.git
To run an experiment defined in
Harmonie start <branchname>
It is convenient to have a seperate directory for each experiment on ecgate to edit TOML files This can achieve as.
On ecgate
mkdir $PERM/git
cd $PERM/git
git clone --bare [email protected]:roelstappers/hm_home.git
Then create a worktree for in $HOME/hm_home/ by
cd $PERM/git
git worktree add $HOME/hmhome/<branch> <branch>
- Note
hmhome
instead ofhm_home
to avoid any possible conflicts with existing experiments. - Note if $HMHOME_REPOSITORY points to http://... then make sure to do a
git commit
folled bygit push
in the experiment directory on ecgate. Or
export HMHOME_REPOSITORY=$HOME/HMHOME
After this it is still a good idea to commit and push regularly.