-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add one-node central submit script, additional README changes, conten…
…t, and clarifications
- Loading branch information
Showing
2 changed files
with
61 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
libensemble/tests/scaling_tests/ddmd/swing_submit_central_onenode.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash -x | ||
#SBATCH --job-name=libE-test | ||
#SBATCH --account=STARTUP-USERNAME | ||
#SBATCH --nodes=1 | ||
#SBATCH --gres=gpu:4 | ||
#SBATCH --time=00:45:00 | ||
|
||
# Make sure conda and environment are loaded and activated before sbatch | ||
|
||
module load gcc | ||
module load cuda/11.0.2-4szlv2t | ||
|
||
export EXE=run_libe_ddmd.py | ||
export NUM_WORKERS=4 | ||
|
||
export PYTHONNOUSERSITE=1 | ||
|
||
python $EXE --comms local --nworkers $NUM_WORKERS | ||
|
||
echo The command is: $cmd | ||
echo End PBS script information. | ||
echo All further output is from the process being run and not the script.\n\n | ||
|
||
$cmd | ||
|
||
# Print the date again -- when finished | ||
echo Finished at: `date` |