Skip to content
Snippets Groups Projects
Commit 68e71f17 authored by Michael Langguth's avatar Michael Langguth
Browse files

Add template identifers to no_HPC-runscripts.

parent 9de41415
No related branches found
No related tags found
No related merge requests found
Pipeline #93554 failed
#!/bin/bash -x
#User's input : your virtual enviornment name
######### Template identifier (don't remove) #########
echo "Do not run the template scripts"
exit 99
######### Template identifier (don't remove) #########
# Name of virtual environment
VIRT_ENV_NAME=venv_test
echo "Activating virtual environment..."
......
#!/bin/bash -x
#User's input : your virtual enviornment name
######### Template identifier (don't remove) #########
echo "Do not run the template scripts"
exit 99
######### Template identifier (don't remove) #########
# Name of virtual environment
VIRT_ENV_NAME=venv_test
echo "Activating virtual environment..."
source ../virtual_envs/${VIRT_ENV_NAME}/bin/activate
if [ -z ${VIRTUAL_ENV} ]; then
if [[ -f ../virtual_envs/${VIRT_ENV_NAME}/bin/activate ]]; then
echo "Activating virtual environment..."
source ../virtual_envs/${VIRT_ENV_NAME}/bin/activate
else
echo "ERROR: Requested virtual environment ${VIRT_ENV_NAME} not found..."
exit 1
fi
fi
#select years and variables for dataset and define target domain
years=( "2007" )
......
#!/bin/bash -x
#User's input : your virtual enviornment name
######### Template identifier (don't remove) #########
echo "Do not run the template scripts"
exit 99
######### Template identifier (don't remove) #########
# auxiliary variables
WORK_DIR="$(pwd)"
BASE_DIR=$(dirname "$WORK_DIR")
# Name of virtual environment
VIRT_ENV_NAME=venv_test
# declare directory-variables which will be modified by config_runscript.py
......
#!/bin/bash -x
#your virtual enviornment name
VIRT_ENV_NAME=venv_test
######### Template identifier (don't remove) #########
echo "Do not run the template scripts"
exit 99
######### Template identifier (don't remove) #########
# auxiliary variables
WORK_DIR="$(pwd)"
BASE_DIR=$(dirname "$WORK_DIR")
# Name of virtual environment
VIRT_ENV_NAME="my_venv"
# declare directory-variables which will be modified by generate_runscript.py
source_dir=/my/path/to/tfrecords/files
......
#!/bin/bash -x
######### Template identifier (don't remove) #########
echo "Do not run the template scripts"
exit 99
######### Template identifier (don't remove) #########
# auxiliary variables
WORK_DIR="$(pwd)"
BASE_DIR=$(dirname "$WORK_DIR")
#your virtual enviornment name
#User's input : your virtual enviornment name
VIRT_ENV_NAME=venv_test
# !!! ADAPAT DEPENDING ON USAGE OF CONTAINER !!!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment