-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Ocean submit script #6094
Conversation
dc5534b
to
55f6457
Compare
bash -c "${SPECTRE_COMMAND} --input-file ${SPECTRE_INPUT_FILE}" | ||
# Ocean is a supercomputer at Cal State, Fullerton. | ||
# More information: | ||
# https://github.com/sxs-collaboration/WelcomeToSXS/wiki/Ocean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This link currently doesn't go anywhere so you can just say it's hosted by Geoffrey Lovelace or add a wiki page for Ocean. That's probably a question for @geoffrey4444
edit after talking to Geoffrey: "Ocean is a supercomputer at Cal State, Fullerton. For more information, contact Geoffrey Lovelace."
55f6457
to
96b711a
Compare
Works really well, thanks for changing it to work with the scheduler! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@geoffrey4444 do you want to take a look before we merge this?
|
||
# These commands load the relevant modules and cd into the run directory, | ||
# creating it if it doesn't exist | ||
module load ohpc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this line not needed anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We typically don't load modules in the other submit scripts. They have to be loaded on the head node when you submit and they'll carry over.
export PATH=${SPECTRE_BUILD_DIR}/bin:$PATH | ||
|
||
# Flag to stop blas in CCE from parallelizing without charm++ | ||
export OPENBLAS_NUM_THREADS=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this @Bronoulli!
|
||
# These commands load the relevant modules and cd into the run directory, | ||
# creating it if it doesn't exist | ||
module load ohpc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We typically don't load modules in the other submit scripts. They have to be loaded on the head node when you submit and they'll carry over.
SPECTRE_COMMAND="${SPECTRE_EXECUTABLE} +ppn 19 +pemap 0-18 +commap 19" | ||
|
||
mpirun -np ${SLURM_JOB_NUM_NODES} --map-by ppr:1:node singularity exec \ | ||
/opt/ohpc/pub/containers/spectre_ocean.sif \ | ||
bash -c "${SPECTRE_COMMAND} --input-file ${SPECTRE_INPUT_FILE}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlexCarpenter46 or @geoffrey4444 do you know if all this extra core mapping is still necessary? I wouldn't think so, but just to be sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so, I tested it out and it was using the correct number of workers and comm so it seems fine without it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only tested with 1 node, but our summer student tested with multiple nodes and it's not doing what we expect, it's duplicating Executable Output and only utilizing one of the nodes so we'll need to investigate that before merging.
96b711a
to
fb8f09a
Compare
Co-authored-by: Kyle Pannone <kylepannone@csu.fullerton.edu>
fb8f09a
to
fa50321
Compare
Proposed changes
Some changes that will bring Ocean's submit script up to date:
Added Ocean as a machine on develop
Updated Ocean's submit script to be compatible with
spectre schedule
Removed Clang submit script since Ocean compiles with GCC.
Code review checklist
make doc
to generate the documentation locally intoBUILD_DIR/docs/html
.Then open
index.html
.code review guide.
bugfix
ornew feature
if appropriate.