Skip to content

Commit

Permalink
change pyscf launch command
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Dec 8, 2023
1 parent 3a0c7ff commit 08c4e7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions psiflow/reference/_pyscf.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ def pyscf_singlepoint_pre(
command_cd,
command_write,
"export OMP_NUM_THREADS={};".format(omp_num_threads),
"export OMP_PROC_BIND=true;",
"export KMP_AFFINITY=granularity=fine,compact,1,0;"
"timeout -s 9 {}s python generated.py || true".format(max(walltime - 2, 0)),
]
return " ".join(command_list)
Expand Down

0 comments on commit 08c4e7d

Please sign in to comment.