cc_staff
1,863
edits
mNo edit summary |
mNo edit summary |
||
Line 151: | Line 151: | ||
<!--T:4733--> | <!--T:4733--> | ||
rm -f cleanup* core* | rm -f cleanup* core* | ||
<!--T:2305--> | <!--T:2305--> | ||
Line 204: | Line 200: | ||
<!--T:4736--> | <!--T:4736--> | ||
rm -f cleanup* core* | rm -f cleanup* core* | ||
<!--T:2205--> | <!--T:2205--> | ||
Line 265: | Line 257: | ||
<!--T:4739--> | <!--T:4739--> | ||
rm -f cleanup* core* | rm -f cleanup* core* | ||
<!--T:2405--> | <!--T:2405--> | ||
Line 330: | Line 318: | ||
<!--T:4742--> | <!--T:4742--> | ||
rm -f cleanup* core* | rm -f cleanup* core* | ||
<!--T:2905--> | <!--T:2905--> | ||
Line 402: | Line 386: | ||
<!--T:3403--> | <!--T:3403--> | ||
rm -f cleanup* core* | rm -f cleanup* core* | ||
<!--T:3405--> | <!--T:3405--> | ||
Line 481: | Line 461: | ||
<!--T:4747--> | <!--T:4747--> | ||
rm -f cleanup* core* | rm -f cleanup* core* | ||
<!--T:3905--> | <!--T:3905--> | ||
Line 794: | Line 770: | ||
<!--T:2845--> | <!--T:2845--> | ||
To avoid writing the solution when a running job successfully completes \remove <code>;Save(Overwrite=True)</code> from the last line of your script. Doing this will make it easier to run multiple test jobs (for scaling purposes when changing ntasks), since the initialized solution will not be overwritten each time. Alternatively, keep a copy of the initialized YOURPROJECT.wbpj file and YOURPROJECT_files subdirectory and restore them after the solution is written | To avoid writing the solution when a running job successfully completes \remove <code>;Save(Overwrite=True)</code> from the last line of your script. Doing this will make it easier to run multiple test jobs (for scaling purposes when changing ntasks), since the initialized solution will not be overwritten each time. Alternatively, keep a copy of the initialized YOURPROJECT.wbpj file and YOURPROJECT_files subdirectory and restore them after the solution is written. | ||
=== Slurm scripts === <!--T:2814--> | === Slurm scripts === <!--T:2814--> | ||
Line 841: | Line 817: | ||
<!--T:2835--> | <!--T:2835--> | ||
runwb2 -B -E "Update();Save(Overwrite=True)" -F YOURPROJECT.wbpj | runwb2 -B -E "Update();Save(Overwrite=True)" -F YOURPROJECT.wbpj | ||
}} | }} |