This repository contains scripts to test the IOW ESM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

36 lines
1.4 KiB

# if from_scratch is true, main_dir will be reoved before the test and on the target a rebuild is triggered,
# thus nothing locally and remotely is prepared
from_scratch=true
# directory where the code will be stored (can be relative to the directory where the test.sh script is)
main_dir="./IOW_ESM"
# source of the code
# can be a path to the root directory (absolute or relative to test directory)
src=".."
# or a name of a branch existing in https://git.io-warnemuende.de/iow_esm/main.git like e.g.
#src="1.01.00"
# Note that if src is not an existing directory it is assumed to be a branch name
# user-specific settings
# setups that will be tested in format of the usual SETUPS file
setups="hlrng_example mvkkarst@glogin:/scratch/usr/mviowmod/IOW_ESM/setups/example/1.00.00
hlrnb_example mvkkarst@blogin:/scratch/usr/mviowmod/IOW_ESM/setups/example/1.00.00"
# destination
destination="hlrng mvkkarst@glogin:/scratch/usr/mvkkarst/test_area
hlrnb mvkkarst@blogin:/scratch/usr/mvkkarst/test_area
phy-10_hlrng_example_sync karsten@phy-10:/silod8/karsten/test_area/hlrng_sync
phy-10_hlrnb_example_sync karsten@phy-10:/silod8/karsten/test_area/hlrnb_sync"
module load miniconda3
# necessary steps for first time
#conda create --name jupyterbook
#conda activate jupyterbook
#conda install -c conda-forge jupyter-book
#pip install pyppeteer
#pip install pdf2image
eval "$(conda shell.bash hook)"
conda activate jupyterbook