Commit 9c2c11ca authored by frey_m's avatar frey_m
Browse files

no multithreading

parent 013228ee
......@@ -424,6 +424,7 @@ class Simulation:
s1 += "#SBATCH --output=" + title + ".o%j\n"
s1 += "#SBATCH --time=" + time + "\n"
s1 += "#SBATCH --ntasks=" + str(cores) + "\n"
s1 += "#SBATCH --ntasks-per-core=1 \n"
# Discussed in https://gitlab.psi.ch/OPAL/runOPAL/issues/7:
#if (int(cores) > 22):
# s1 += "#SBATCH --ntasks-per-node=16 \n"
......@@ -433,7 +434,7 @@ class Simulation:
s1 += "#SBATCH --exclude=merlin-c-001 \n"
s1 += "#SBATCH --cores-per-socket=22 \n"
s1 += "#SBATCH --sockets-per-node=2 \n"
s1 += "mpirun " + opalexe + " " + oinpFile + " --info " + str(info) + "\n"
s1 += "mpirun --hint=nomultithread " + opalexe + " " + oinpFile + " --info " + str(info) + "\n"
myfile.write(s1)
myfile.close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment