That's great! Thanks David!
On Wed, May 6, 2020 at 11:35 AM David Braun wrote:
> i'm not sure I understand the problem. If you want to make sure the
> preamble and postamble run even if the main job doesn't run you can use '-d'
>
> from the man page
>
> -d, --dependency=
> Defer
i'm not sure I understand the problem. If you want to make sure the
preamble and postamble run even if the main job doesn't run you can use '-d'
from the man page
-d, --dependency=
Defer the start of this job until the
specified dependencies have been satisfie
Hi Chris,
I think my question isn't quite clear, but I'm also pretty confident the
answer is no at this point. The idea is that the script is sort of like a
template for running a job, and an end user can submit a custom job with
their own desired resource requests which will end up filling in the
On Tuesday, 5 May 2020 11:00:27 PM PDT Maria Semple wrote:
> Is there no way to achieve what I want then? I'd like the first and last job
> steps to always be able to run, even if the second step needs too many
> resources (based on the cluster).
That should just work.
#!/bin/bash
#SBATCH -c 2
#
Hi Chris,
Thanks for the tip about the memory units, I'll double check that I'm using
them.
Is there no way to achieve what I want then? I'd like the first and last
job steps to always be able to run, even if the second step needs too many
resources (based on the cluster).
As a side note, do you
On Tuesday, 5 May 2020 4:47:12 PM PDT Maria Semple wrote:
> I'd like to set different resource limits for different steps of my job. A
> sample script might look like this (e.g. job.sh):
>
> #!/bin/bash
> srun --cpus-per-task=1 --mem=1 echo "Starting..."
> srun --cpus-per-task=4 --mem=250 --exclu
Hi!
I'd like to set different resource limits for different steps of my job. A
sample script might look like this (e.g. job.sh):
#!/bin/bash
srun --cpus-per-task=1 --mem=1 echo "Starting..."
srun --cpus-per-task=4 --mem=250 --exclusive
srun --cpus-per-task=1 --mem=1 echo "Finished."
Then I woul