the reference to the bit mask was crucial. Thank you!
Sven
----
Dipl.-Chem. Sven Siebler
Hessisches Kompetenzzentrum für Hochleistungsrechnen
Universität Kassel
ITS Raum 250
Mönchebergstraße 11
D-34109 Kassel
Tel.: +49 561 804-7759
[email protected]
www.hpc-hessen.de
+++++++++++++++++++++++++++++++++++++
Upcoming Workshop in Darmstadt: HiPerCH 4
High Performance Computing in Hesse
Sep. 28 Oct. 01, 2015, and Fastest User Meeting: Oct. 08 - 09, 2015
More information: www.hpc-hessen.de
+++++++++++++++++++++++++++++++++++++
-----"Dennis McRitchie" <[email protected]> schrieb: -----
Von: "Dennis McRitchie" <[email protected]>
Datum: 02.09.2015 17:06
Betreff: [slurm-dev] RE: slurm-dev Antwort: custom environment variable in epilogctl script ?
Hi Sven,
MEM_PER_CPU is not an environmental variable. It is bit mask defined by the Slurm::Constant module, and is set to the high-order bit.
If $job->{req_mem} has that bit set, then the rest of the variable contains the requested memory per cpu. Otherwise, if the bit is not set, the requested memory was per node.
Hope this helps.
Dennis
From: Sven Siebler [mailto:[email protected]]
Sent: Tuesday, September 1, 2015 12:24 PM
To: slurm-dev
Subject: [slurm-dev] slurm-dev Antwort: RE: slurm-dev Antwort: custom environment variable in epilogctl script ?
Hi,
thank you for the hint with the MailProg option. I think its a much better solution, than my epilogctl approach.
The seff script uses the environment Variable MEM_PER_CPU. Where can i find this information in the slurm database ?
I've found only "mem_req" in the job table, but this value seems to be set only with the sbatch option "--mem"
Best
Sven
----
Dipl.-Chem. Sven Siebler
Hessisches Kompetenzzentrum für Hochleistungsrechnen
Universität Kassel
ITS Raum 250
Mönchebergstraße 11
D-34109 Kassel
Tel.: +49 561 804-7759
[email protected]
www.hpc-hessen.de
+++++++++++++++++++++++++++++++++++++
Upcoming Workshop in Darmstadt: HiPerCH 4
High Performance Computing in Hesse
Sep. 28 Oct. 01, 2015;
and Fastest User Meeting: Oct. 08 - 09, 2015
More information: www.hpc-hessen.de
+++++++++++++++++++++++++++++++++++++
-----"Dennis McRitchie" <[email protected]> schrieb: -----
An: "slurm-dev" <[email protected]>
Von: "Dennis McRitchie" <[email protected]>
Datum: 31.08.2015 20:36
Betreff: [slurm-dev] RE: slurm-dev Antwort: custom environment variable in epilogctl script ?
Hi Sven,
You may want to take a look at seff: http://bugs.schedmd.com/show_bug.cgi?id=1611
Even if you prefer a different performance repot, you might be able to make use of the included smail utility described in the ticket.
Best,
Dennis
From: Skouson, Gary B [mailto:[email protected]]
Sent: Monday, August 31, 2015 12:33 PM
To: slurm-dev
Subject: [slurm-dev] RE: slurm-dev Antwort: custom environment variable in epilogctl script ?
You could use the slurm MailProg option and create your own mail wrapper with the information you want. Users can use sbatch arguments to choose when they get email. Your script can parse the default SLURM message and add/remove anything youd like.
-----
Gary Skouson
From: Sven Siebler [mailto:[email protected]]
Sent: Monday, August 31, 2015 7:16 AM
To: slurm-dev <[email protected]>
Subject: [slurm-dev] slurm-dev Antwort: custom environment variable in epilogctl script ?
No ideas for this issue ?
Of course, i can dump the information during the prolog to the filesystem, and load the file afterwards into the epilogctl script.
But i thought that SLURM should have a nicer way to do something like this
----
Dipl.-Chem. Sven Siebler
Hessisches Kompetenzzentrum für Hochleistungsrechnen
Universität Kassel
ITS Raum 250
Mönchebergstraße 11
D-34109 Kassel
Tel.: +49 561 804-7759
[email protected]
www.hpc-hessen.de
+++++++++++++++++++++++++++++++++++++
Upcoming Workshop in Darmstadt: HiPerCH 4
High Performance Computing in Hesse
Sep. 28 Oct. 01, 2015;
and Fastest User Meeting: Oct. 08 - 09, 2015
More information: www.hpc-hessen.de
+++++++++++++++++++++++++++++++++++++
-----Sven Siebler <[email protected]> schrieb: -----
An: "slurm-dev" <[email protected]>
Von: Sven Siebler <[email protected]>
Datum: 24.08.2015 11:33
Betreff: [slurm-dev] custom environment variable in epilogctl script ?
Hi,
i want to send emails to our users after job completition with something like a job performance report. For this I use the epilogctl script.
Everything works fine, but i want to give the user the possibility to disable the email notification for some jobs.
My first thought was an environment variable the user can set in the sbatch file. But the epilogctl script has only access to specific slurm variables.
Can i use some custom information from the user input in the epilogctl script ? Or should i send the email notification with another script ?
Sven
----
Dipl.-Chem. Sven Siebler
Hessisches Kompetenzzentrum für Hochleistungsrechnen
Universität Kassel
ITS Raum 250
Mönchebergstraße 11
D-34109 Kassel
Tel.: +49 561 804-7759
[email protected]
www.hpc-hessen.de
+++++++++++++++++++++++++++++++++++++
Upcoming Workshop in Darmstadt: HiPerCH 4
High Performance Computing in Hesse
Sep. 28 Oct. 01, 2015;
and Fastest User Meeting: Oct. 08 - 09, 2015
More information: www.hpc-hessen.de
+++++++++++++++++++++++++++++++++++++
smime.p7s
Description: S/MIME Cryptographic Signature
