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

Server Submit & Setting Scripts #96

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

calvinp0
Copy link
Member

@calvinp0 calvinp0 commented Jan 8, 2023

As discussed, I would like to move forward with having the Zeus and Atlas settings part of the repo so that when updates do need to occur, it will be pushed to all users for those servers rather than them needing to check out the DRG repo. Additionally, the changes will not affect a user if they use their own local settings

Added in an if/elif/else statement that will check the socket host. 
 - If the socket host is zeus, then it will import the zeus submit script and settings
- Else if the socket host is atlas, then it will import the atlas submit script and settings
- Else if the socket host is not recognised, then it will just import the general submit script and settings.
File that provides the template for the submission file for zeus
Provides the settings for Zeus server
The template for the atlas server submit file
The settings for the atlas server if used
Copy link
Member

@alongd alongd left a comment

Choose a reason for hiding this comment

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

Thanks! I added a few minor comments

'local': {
'cluster_soft': 'PBS',
'cpus': 16,
'max mem': 40, # GB
Copy link
Member

Choose a reason for hiding this comment

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

please bump this to 360 GB


# Submission scripts stored as a dictionary with software as the primary key.
submit_scripts = {
# 'rmg': """#!/bin/bash -l
Copy link
Member

Choose a reason for hiding this comment

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

can remove the commented out section, this is an example for a Slurm server, it's enough to have it in the general submit.py file


# Submission scripts stored as a dictionary with software as the primary key.
submit_scripts = {
# 'rmg': """#!/bin/bash -l
Copy link
Member

Choose a reason for hiding this comment

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

can remove the commented out section, this is an example for a Slurm server, it's enough to have it in the general submit.py file

servers = {
'local': {
'cluster_soft': 'PBS',
'cpus': 16,
Copy link
Member

Choose a reason for hiding this comment

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

max cpu on Atlas is 10

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

Successfully merging this pull request may close these issues.

2 participants