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
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions t3/settings/settings_zeus.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
"""
T3's settings

You may keep a short version of this file in a local ".t3" folder under your home folder.
Any definitions made to the local file will take precedence over this file.
"""


# The execution type can be either 'incore', i.e., executed in the same processor,
# or 'local', i.e., to be submitted to the server queue if running on a server.
# If running on a local server, ARC's settings for ``local`` will be used.
execution_type = {
'rmg': 'local',
'arc': 'incore',
}

servers = {
'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

},
}

check_status_command = {'OGE': 'export SGE_ROOT=/opt/sge; /opt/sge/bin/lx24-amd64/qstat -u $USER',
'Slurm': '/usr/bin/squeue -u $USER',
'PBS': '/opt/pbs/bin/qstat -u $USER',
'HTCondor': """condor_q -cons 'Member(Jobstatus,{1,2})' -af:j '{"0","P","R","X","C","H",">","S"}[JobStatus]' RequestCpus RequestMemory JobName '(Time() - EnteredCurrentStatus)'""",
}

submit_command = {'OGE': 'export SGE_ROOT=/opt/sge; /opt/sge/bin/lx24-amd64/qsub',
'Slurm': '/usr/bin/sbatch',
'PBS': '/opt/pbs/bin/qsub',
'HTCondor': 'condor_submit',
}

submit_filenames = {'OGE': 'submit.sh',
'Slurm': 'submit.sl',
'PBS': 'submit.sh',
'HTCondor': 'submit.sub',
}

rmg_initial_memory = 25 # The initial memory for an RMG job when submitted to the queue, in GB