Skip to content
Snippets Groups Projects
Commit 365a3887 authored by Peter Alexander's avatar Peter Alexander
Browse files

Further script changes

parent d1d986ea
No related branches found
No related tags found
No related merge requests found
...@@ -7,10 +7,10 @@ fi ...@@ -7,10 +7,10 @@ fi
filename="$1" filename="$1"
output_dir=/Users/peteralexander/Documents/R_Workspace/UNPLUM/dummy/scenarios/ output_dir=/exports/csce/eddie/geos/groups/LURG/models/PLUM/output
echo "Starting scenarios in $output_dir" echo "Starting scenarios in $output_dir"
while read -r datarow $filename while read -r datarow
do do
IFS=',' read -r -a array <<< "$datarow" IFS=',' read -r -a array <<< "$datarow"
...@@ -18,7 +18,7 @@ do ...@@ -18,7 +18,7 @@ do
header=( "${array[@]}" ) header=( "${array[@]}" )
else else
scenario="${array[0]}" scenario="${array[0]}"
scenario_dir=$output_dir$scenario scenario_dir=$output_dir/$scenario
echo $scenario echo $scenario
if [ ! -d "$scenario_dir" ]; then if [ ! -d "$scenario_dir" ]; then
...@@ -26,7 +26,8 @@ do ...@@ -26,7 +26,8 @@ do
continue; continue;
fi fi
echo "qsub runPlum.sh scenario_dir" echo "qsub /exports/csce/eddie/geos/groups/LURG/models/PLUM/plumv2/scripts/runPlum.sh $scenario"
qsub /exports/csce/eddie/geos/groups/LURG/models/PLUM/plumv2/scripts/runPlum.sh $scenario
fi fi
done < $filename done < $filename
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment