Skip to content
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

Adding Allocation and Partition - New Approach #117

Open
wants to merge 4 commits into
base: v2
Choose a base branch
from

Conversation

JTSIV1
Copy link
Contributor

@JTSIV1 JTSIV1 commented Apr 26, 2024

  • allocation and partition are now specified in slurm parameters in the job and sent to the HPC
  • defaults are in a new place in the hpc configs
  • defaults are followed if nothing else specified

@JTSIV1 JTSIV1 changed the title Adding Allocation and Partition Adding Allocation and Partition - New Approach Apr 26, 2024
@alexandermichels
Copy link
Member

@JTSIV1 could you resolve these conflicts?

Copy link
Member

@alexandermichels alexandermichels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just needs a small change

@@ -79,6 +88,7 @@ ${
}
${config.gpus_per_task ? `#SBATCH --gpus-per-task=${config.gpus_per_task}` : ""}
${config.partition ? `#SBATCH --partition=${config.partition}` : ""}
${config.allocation ? `#SBATCH -A << ${config.allocation} >>` : ""}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't work. You need to remove the << and >> around the allocation. The output should look like:

#SBATCH -A xxxxx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants