Add support for pe_prolog and pe_epilog files

Send all command line args to the files to be run
Add script to remove empty *.pe* and *.po* files after running pe jobs
Scripts expect this 11 commandline arguments: $pe_hostfile $host $job_owner $job_id $job_name $pe $pe_slots $queue $stdout_path $stderr_path $merge_stderr
This commit is contained in:
2021-05-25 13:22:39 +02:00
parent d76510b2aa
commit d9ca7c3127
2 changed files with 29 additions and 1 deletions

View File

@@ -15,6 +15,6 @@ done
FILESSORTED="$(echo ${FILES} | sort)"
for FILE in ${FILESSORTED} ; do
${FILE} || exit $?
${FILE} $@ || exit $?
done
exit 0