... | ... | @@ -2,7 +2,9 @@ |
|
|
|
|
|
## Dump restart file automatically before it's too late
|
|
|
|
|
|
If you are using slurm, you have a way not to loose the last results of your simulation before your time is finished.To avoid this, compile Alya with `-DALYA_SIGNAL` and use `sbatch` in the following way:
|
|
|
<pre>
|
|
|
sbatch --signal=10@45 srun.sh</pre>
|
|
|
If you are using slurm, you have a way not to loose the last results of your simulation before your time is finished. To avoid this, do the following
|
|
|
|
|
|
* Compile Alya with `-DALYA_SIGNAL`
|
|
|
* Run `sbatch --signal=10@45 srun.sh`
|
|
|
|
|
|
Batch system will send a signal (SIGUSR1) to tell Alya to dump the restart file at 45 seconds before the end of the time you were allocated. |
|
|
\ No newline at end of file |