diff --git a/HPC_setup/create_runscripts_HPC.sh b/HPC_setup/create_runscripts_HPC.sh index f99ba1d527f59e71671fcf0491054109fa17e001..1322f47d69e213071b7aaaf4e93c24add8705b9d 100755 --- a/HPC_setup/create_runscripts_HPC.sh +++ b/HPC_setup/create_runscripts_HPC.sh @@ -58,8 +58,8 @@ if [[ -z "$new_email" ]]; then fi # create HPC_logging dir -hpclogging="/HPC_logging/" -mkdir -p ${cur}${hpclogging} +hpclogging="HPC_logging/" +mkdir -p ${cur}/${hpclogging} # ordering for looping: @@ -73,7 +73,7 @@ cat <<EOT > ${cur}/run_${hpcsys}_$1.bash #SBATCH --account=${budget} #SBATCH --nodes=1 #SBATCH --output=${hpclogging}mlt-out.%j -#SBATCH --error=${hpclogging}/mlt-err.%j +#SBATCH --error=${hpclogging}mlt-err.%j #SBATCH --time=$3 #SBATCH --partition=$1 #SBATCH --gres=gpu:$2 @@ -100,7 +100,7 @@ cat <<EOT > ${cur}/run_${hpcsys}_batch.bash #SBATCH --account=${budget} #SBATCH --nodes=1 #SBATCH --output=${hpclogging}mlt-out.%j -#SBATCH --error=${hpclogging}/mlt-err.%j +#SBATCH --error=${hpclogging}mlt-err.%j #SBATCH --time=08:00:00 #SBATCH --mail-type=ALL #SBATCH --mail-user=${email}