1
0
Fork 0
mirror of https://github.com/Findus23/halo_comparison.git synced 2024-09-18 14:53:49 +02:00

Merge branch 'main' of github.com:Findus23/halo_comparison

This commit is contained in:
Lukas Winkler 2022-12-22 13:44:08 +01:00
commit 6fd456d099
Signed by: lukas
GPG key ID: 54DE4D798D244853
2 changed files with 5 additions and 1 deletions

View file

@ -16,6 +16,8 @@ def jobrun(
tasks: int = None,
nodes: int = None,
mem: int = None,
qos: str = None,
account: str = None,
source: Path = None,
sbatch: bool = True
):
@ -32,6 +34,8 @@ def jobrun(
"nodes": nodes,
"tasks": tasks,
"mem": f"{mem}G",
"qos": qos,
"account": account,
"job-name": name,
"output": jobscript_dir / f"out-{name}-%a_%a.txt"
}

View file

@ -16,7 +16,7 @@ vsc = True
def spectra_jobrun(args):
if vsc:
jobrun(args, time="12:00:00", tasks=128, mem=128, source=Path("/gpfs/data/fs71636/lwinkler/spack_notes.txt"))
jobrun(args, time="12:00:00", nodes=1, source=Path("/gpfs/data/fs71636/lwinkler/spack-latest.sh"))
else:
subprocess.run(args, check=True)