Points de contrôle: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Marked this version for translation)
No edit summary
Line 42: Line 42:
#SBATCH --mem=100M
#SBATCH --mem=100M
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
echo "Current working directory: `pwd`"
echo "Current working directory: $(pwd)"
echo "Starting run at: `date`"
echo "Starting run at: $(date)"
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# Run your simulation step here...
# Run your simulation step here...
Line 49: Line 49:
if test -e "dmtcp_restart_script.sh"; then  
if test -e "dmtcp_restart_script.sh"; then  
     # There is a checkpoint file, restart;
     # There is a checkpoint file, restart;
     ./dmtcp_restart_script.sh -h `hostname`
     ./dmtcp_restart_script.sh -h $(hostname)
else
else
     # There is no checkpoint file, start a new simulation.
     # There is no checkpoint file, start a new simulation.
Line 56: Line 56:


# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
echo "Job finished with exit code $? at: `date`"
echo "Job finished with exit code $? at: $(date)"
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
}}
}}
Bureaucrats, cc_docs_admin, cc_staff
2,318

edits

Navigation menu