Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 5 additions & 4 deletions Servers/Zeus/ARC/.arc/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,21 @@
servers = {
'local': { # Each Zeus node containes 80 cores and 378 GB RAM
'cluster_soft': 'PBS',
'un': 'alon',
'un': 'kaplan.kfir',
Copy link
Contributor

Choose a reason for hiding this comment

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

can you make this something general and add a reminder comment to modify it?

'cpus': 16, # 20
'memory': 160, # 360 / 4.0
},
}

global_ess_settings = {
'gaussian': ['local'],
'gaussian': 'local',
'molpro': 'local',
}

supported_ess = ['gaussian']
supported_ess = ['gaussian', 'molpro']

default_job_settings = {
'job_total_memory_gb': 32,
'job_total_memory_gb': 80,
'job_cpu_cores': 16,
}

Expand Down
35 changes: 28 additions & 7 deletions Servers/Zeus/ARC/.arc/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,57 @@

submit_scripts = {
'local': {
'gaussian': """#!/bin/bash -l
'gaussian': """#!/bin/sh
Copy link
Contributor

Choose a reason for hiding this comment

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

why this change?


#PBS -q zeus_all_q
#PBS -N {name}
#PBS -l select=1:ncpus={cpus}:mem={memory}
#PBS -o out.txt
#PBS -e err.txt

. ~/.bashrc

PBS_O_WORKDIR={pwd}
cd $PBS_O_WORKDIR

source /usr/local/g09/setup.sh

GAUSS_SCRDIR=/gtmp/$PBS_JOBID
GAUSS_SCRDIR=/home/{un}/scratch/g09/$PBS_JOBID
Copy link
Contributor

Choose a reason for hiding this comment

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

This is problematic and causes a "Disk Quota Exceeded Error"

export $GAUSS_SCRDIR
mkdir -p $GAUSS_SCRDIR
export GAUSS_SCRDIR=$GAUSS_SCRDIR

. ~/.bashrc

which g09

touch initial_time

source /usr/local/g09/setup.sh

g09 < input.gjf > input.log

rm -rf $GAUSS_SCRDIR

touch final_time

""",
'molpro': """#!/bin/sh

#PBS -q zeus_all_q
#PBS -N {name}
#PBS -l select=1:ncpus={cpus}:mem={memory}
#PBS -o out.txt
#PBS -e err.txt

PBS_O_WORKDIR={pwd}
cd $PBS_O_WORKDIR

. ~/.bashrc

touch initial_time
chmod 777 $PBS_O_WORKDIR
/home/kaplan.kfir/Code/Molpro/bin/molpro -n {cpus} -t 1 input.in

touch final_time

""",

},
}

Expand Down