-
Notifications
You must be signed in to change notification settings - Fork 0
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
WIP: Introduced user configurable memory specification #349
Merged
Conversation
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
Checklist of Confirmed Compatible filesgacode/shared/binAZURE-COMET
DAINT_PGI-HPC_ITER
IRIS-OMEGA
PPPL-STAMPEDE
SUMMIT-MARCONI
gacode/shared/bingacode_getversion-update_gacode.csh
|
wdeshazer
changed the title
Introduced user configurable memory specification
WIP: Introduced user configurable memory specification
Feb 7, 2024
Progress: Platform specific SLURM settingsThis is an example of a qsub and I am not sure where the memory is requested. bfile=$SIMDIR/batch.src
echo "#!/bin/bash " > $bfile
echo "#SBATCH -J $LOCDIR" >> $bfile
echo "#SBATCH -o $SIMDIR/batch.out" >> $bfile
echo "#SBATCH -e $SIMDIR/batch.err" >> $bfile
echo "#SBATCH -t $WALLTIME" >> $bfile
echo "#SBATCH -n $cores_used" >> $bfile
if [ "$QUEUE" = "null_queue" ]
then
echo "#SBATCH -p sque" >> $bfile
else
echo "#SBATCH -p $QUEUE" >> $bfile
fi
echo "$CODE -e $LOCDIR -n $nmpi -nomp $nomp -numa $numa -mpinuma $mpinuma -p $SIMROOT" >> $bfile Completed:
Logic Added But has unusual call
Reviewed these Files that I need consultation (@jmcclena or @smithsp)
|
jmcclena
previously approved these changes
Feb 7, 2024
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.
Looks fine to me.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reverts #346
Warning
WIP
Note
Previous PR was WIP but not Marked.
New approach: Memory Defaults are moving to Platform qsubs
Introduces User Configurable Memory Specification to
gacode/shared/bin/gacode_qsub
gacode/platform/qsub
Provisioned for
-mem
and-mem-per-cpu
Applied Precedence rules
-mem=16GB
Communicates select through environment variables
Site Supplemental file responds correspondingly
gacode/shared/bin/gacode_qsub
gacode/platform/qsub/qsub.PPPL
gacode/platform/qsub/qsub.OMEGA
gacode/shared/bin/gacode_qsub_multi
needs same medicinegacode/shared/bin
to ensure compatibilitygacode/platform/qsub
to ensure compatibilityI have taken a cursory look at all files and don't see anything glaring, but it deserves more consideration