Skip to content
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
60 changes: 60 additions & 0 deletions t3/settings/submit_atlas.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
"""
Submit scripts
"""

# Submission scripts stored as a dictionary with software as the primary key.
submit_scripts = {
# 'rmg': """#!/bin/bash -l
Copy link
Copy Markdown
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

# #SBATCH -J {name}
# #SBATCH -t 05-00:00:00
# #SBATCH -o out.txt
# #SBATCH -e err.txt
# #SBATCH --ntasks={cpus}
# #SBATCH --mem-per-cpu=9500
#
#
# export PYTHONPATH=$PYTHONPATH:~/Code/RMG-Py/
#
# conda activate rmg_env
#
# touch initial_time
#
# python-jl ~/Code/RMG-Py/rmg.py -n {cpus} input.py
#
# touch final_time
#
# """,
'rmg': """Universe = vanilla

+JobName = "{name}"

log = job.log
output = out.txt
error = err.txt

getenv = True

should_transfer_files = no

executable = job.sh

request_cpus = {cpus}
request_memory = {memory}MB

queue

""",
'rmg_job': """#!/bin/bash -l

touch initial_time

source /srv01/technion/$USER/.bashrc

conda activate rmg_env

python-jl /Local/ce_dana/Code/RMG-Py/rmg.py -n {cpus} input.py{max_iterations}

touch final_time

""",
}