we use another solution for our finished jobs, everything goes
additionally to Elastic (incl. jobscript), see JobCompLoc and
JobCompType. We don't store the jobscripts in our SLURM Accounting DB.
--
Carsten Beyer
Abteilung Systeme
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstraße 45a * D-20146 Hamburg * Germany
Phone: +49 40 460094-221
Fax: +49 40 460094-270
Email:beyer@dkrz.de
URL:
http://www.dkrz.de
Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
Am 18.06.25 um 11:55 schrieb Gestió Servidors via slurm-users:
>
> Hi again,
>
> Oh, sorry! Yes, I configured slurm.conf with
> “AccountingStoreFlags=job_comment,job_env,job_extra,job_script” but I
> could test… Now, I have tested and I have got my submit script after
> job has finished.
>
> Thanks a lot!!!
>
> --
>
>
http://www.uab.cat/
>
>
>
> *Daniel Ruiz Molina*
> *Tècnic Mitjà Informàtic*
>
> Arquitectura de Computadors i Sistemes Operatius
> Escola d'Enginyeria
>
> Edifici Q - Despatx QC/3052 - Carrer de les Sitges
> Campus de la UAB · 08193 Bellaterra
> (Cerdanyola del Vallès) · Barcelona · Spain
>
> +34 93 581 35 44
> www.uab.cat
http://www.uab.cat/
> Daniel Ruiz at UAB
https://tinyurl.com/yd95zb8j
>
>
>
>
> <www.linkedin.com/in/daniel-ruiz-molina-50a83b27>
>
> Aquest missatge s'adreça exclusivament a la persona destinatària i pot
> contenir informació privada o confidencial. Si l'heu rebut per error,
> comuniqueu-nos-ho i destruïu-lo, i tingueu present que no teniu
> autorització per fer-ne cap ús.
>
> Abans d'imprimir aquest missatge penseu en el medi ambient.
>
> *De:*Guillaume COCHARD
guillaume.cochard@cc.in2p3.fr
> *Enviat:* dimecres, 18 de juny de 2025 10:45
> *Per a:* Gestió Servidors
sysadmin.caos@uab.cat
> *A/c:* slurm-users@lists.schedmd.com
> *Tema:* Re: [slurm-users] Re: Job information if job is completed
>
>
>
>
> No soleu rebre correu electrònic de guillaume.cochard@cc.in2p3.fr.
> descobriu per què aquest fet és important
>
https://aka.ms/LearnAboutSenderIdentification
>
>
>
> Hello,
>
> Have you tried using AccountingStoreFlags=job_script as described in
>
https://slurm.schedmd.com/slurm.conf.html#OPT_AccountingStoreFlags ?
> The user's script should then be accessible through sacct -B (cf.
>
https://slurm.schedmd.com/sacct.html#OPT_batch-script ) as pointed out
> by Eric in his response.
>
> Cheers,
>
> Guillaume
>
> ------------------------------------------------------------------------
>
> *De: *"Gestió Servidors via slurm-users"
slurm-users@lists.schedmd.com
> *À: *slurm-users@lists.schedmd.com
> *Envoyé: *Mercredi 18 Juin 2025 10:22:15
> *Objet: *[slurm-users] Re: Job information if job is completed
>
> Hello,
>
> So if there is no way to get all information from a finished job
> (specially submit script, not command line, but all content from
> submit script, like a copy of it), maybe a solution would be run a
> “prolog” script in each job to run a “cp” from the submit script.
> However, how could I copy the submit scrip from the prolog script?
> Because from the prolog script, I can access to some SLURM variables
> (
https://slurm.schedmd.com/prolog_epilog.html) but I don’t know how to
> know what the script is and run a simple “cp” to a destination folder.
>
> Thanks.
>
>
>
> --
> slurm-users mailing list -- slurm-users@lists.schedmd.com
> To unsubscribe send an email to slurm-users-leave@lists.schedmd.com
>
>