Hi,

 sorry that I could not follow the conversation.

> Two more questions:
>
> 1- Can the user-provided epilogue scripts be turned off server-side?  In
>    other words, would this epilogue.user thing work on *every* site
>    running TORQUE?
as far as I know torque does not have an option that disables that. At least 
version 4.2.x has the functionality as a default.


> 2- The docs are somewhat terse as to the actual format of the info
>    passed to the epilogue.user script.  Can you please run an
>    epilogue.user script that prints $argv[1] up to $argv[10] and send me
>    the output?  E.g.

Job has been submitted as

> qsub  test-eoilogue.sh  -l epilogue=~/epilogue.sh

Here is what comes in a job output log file

>  cat  ~/test-epilogue.o1113387

Per Job Epilogue Script
Thu Jun  9 17:24:26 CEST 2016

Sample epilogue.user
========
argv1=1113387.batch.server
argv2=nanava
argv3=nanava
argv4=test-epilogue
argv5=28415
argv6=epilogue=/home/nanava/epilogue.sh,mem=4gb,neednodes=1:ppn=1,nodes=1:ppn=1,walltime=00:30:00
argv7=cput=00:00:00,mem=4112kb,vmem=38916kb,walltime=00:00:20
argv8=all
argv9=
argv10=0

Best,
Gizo


>
> #! /bin/bash
>
> echo Sample epilogue.user
> echo ========
> echo argv1=$1
> echo argv2=$2
> echo argv3=$3
> echo argv4=$4
> echo argv5=$5
> echo argv6=$6
> echo argv7=$7
> echo argv8=$8
> echo argv9=$9
> echo argv10=${10}
>
> Thanks,
> R
>
> --
> Riccardo Murri
> http://www.s3it.uzh.ch/about/team/#Riccardo.Murri
>
> S3IT: Services and Support for Science IT
> University of Zurich
> Winterthurerstrasse 190, CH-8057 Zürich (Switzerland)
>
> Tel: +41 44 635 4208
> Fax: +41 44 635 6888



--

--
Dr. Gizo Nanava
Leibniz Universitaet IT Services
Leibniz Universitaet Hannover
Schlosswender Str. 5
D-30159 Hannover
Tel +49 511 762 7919085
http://www.luis.uni-hannover.de


Reply via email to