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

Several corrections in shell-script to setup virtual environment.

parent ae3923ea
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,7 @@ if [[ "$ENV_EXIST" == 0 ]]; then ...@@ -121,7 +121,7 @@ if [[ "$ENV_EXIST" == 0 ]]; then
if [[ "${HOST_NAME}" == hdfml* || "${HOST_NAME}" == juwels* ]]; then if [[ "${HOST_NAME}" == hdfml* || "${HOST_NAME}" == juwels* ]]; then
echo "***** Creating Batch-scripts for running workflow... *****" echo "***** Creating Batch-scripts for running workflow... *****"
script_dir=../HPC_scripts script_dir=../HPC_scripts
elif [[ "${HOST_NAME}" == "zam347" ]]; elif [[ "${HOST_NAME}" == "zam347" ]]; then
echo "***** Creating Batch-scripts for running workflow... *****" echo "***** Creating Batch-scripts for running workflow... *****"
script_dir=../Zam347_scripts script_dir=../Zam347_scripts
fi fi
...@@ -129,9 +129,9 @@ if [[ "$ENV_EXIST" == 0 ]]; then ...@@ -129,9 +129,9 @@ if [[ "$ENV_EXIST" == 0 ]]; then
for wf_script in "${workflow_scripts[@]}"; do for wf_script in "${workflow_scripts[@]}"; do
curr_script=${script_dir}/${wf_script} curr_script=${script_dir}/${wf_script}
if [[ -z "${exp_id}" ]]; then if [[ -z "${exp_id}" ]]; then
./generate_workflow_scripts ${curr_script} ./generate_workflow_runscripts.sh ${curr_script}
elif else
./generate_workflow_scripts ${curr_script} ${exp_id} ./generate_workflow_runscripts.sh ${curr_script} ${exp_id}
fi fi
done done
# *** finished *** # *** finished ***
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment