-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: fix issue in example slurm job script. Modify 'astro-strong' par…
…am spaces
- Loading branch information
Showing
2 changed files
with
28 additions
and
2 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
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 |
---|---|---|
|
@@ -9,25 +9,30 @@ | |
# The library generation is performed using the `holodeck.librarian.lib_gen` script. | ||
# When holodeck is installed, this is aliased to the command-line function `holodeck_lib_gen`. | ||
# The following two commands should be identical: | ||
# | ||
# python -m holodeck.librarian.lib_gen <ARGS> | ||
# holodeck_lib_gen <ARGS> | ||
# | ||
# The library generation script is parallelized using MPI (specifically mpi4py in python). | ||
# The actual run command can be very simple, for example: | ||
# | ||
# mpirun -np 16 holodeck_lib_gen -n 64 -r 100 --gwb --ss --params PS_Classic_Phenom ./output/ | ||
# | ||
# When running on a remote server with a job scheduler (e.g. SLURM), things can be a bit more | ||
# complicated. Example SLURM configuration is included below, but if you're running on a personal | ||
# computer you can ignore these elements. | ||
# | ||
# Remember to use `nohup` and `&` to run in the background on remote server, so that it's not killed | ||
# when you logout. | ||
# when you logout, e.g. | ||
# | ||
# nohup mpirun -np 16 holodeck_lib_gen -n 64 -r 100 --gwb --ss --params PS_Classic_Phenom ./output/ & | ||
# | ||
# ------------------ | ||
# Luke Zoltan Kelley | ||
# [email protected] | ||
# ================================================================================================== | ||
|
||
|
||
# ==== SLURM job scheduler configuration ==== | ||
# NOTE: SLURM uses a single '#' to denote its configuration. Multiple '#' marks are ignored. | ||
|
||
|
@@ -136,7 +141,7 @@ echo -e "Running mpirun $(date +'%Y-%m-%d|%H:%M:%S')\n" | |
echo "" | ||
|
||
# this is the actual call to run holodeck | ||
mpirun -np $NTASKS $COMMAND $SPACE $OUTPUT -n $NSAMPS -r $NREALS -f $NFREQS $ARGS 1> $LOG_OUT 2> $LOG_ERR & | ||
mpirun -np $NTASKS $COMMAND $SPACE $OUTPUT -n $NSAMPS -r $NREALS -f $NFREQS $ARGS 1> $LOG_OUT 2> $LOG_ERR | ||
|
||
echo "" | ||
echo -e "Completed python script $(date +'%Y-%m-%d|%H:%M:%S')\n" | ||
|