Commit 865c890f authored by Martino Bertoni's avatar Martino Bertoni 🌋
Browse files

removing the memory parameters from slurms.py because of StarLife policy

parent d37e10a6
Pipeline #2468 failed with stages
in 64 minutes and 6 seconds
...@@ -106,7 +106,7 @@ fi ...@@ -106,7 +106,7 @@ fi
elements = kwargs.get("elements", []) elements = kwargs.get("elements", [])
compress_out = kwargs.get("compress", True) compress_out = kwargs.get("compress", True)
check_error = kwargs.get("check_error", True) check_error = kwargs.get("check_error", True)
memory = kwargs.get("memory", 2) #memory = kwargs.get("memory", 2)
maxtime = kwargs.get("time", None) maxtime = kwargs.get("time", None)
cpusafe = kwargs.get("cpusafe", True) cpusafe = kwargs.get("cpusafe", True)
...@@ -139,8 +139,8 @@ fi ...@@ -139,8 +139,8 @@ fi
jobParams.append("#SBATCH --nodes=1") jobParams.append("#SBATCH --nodes=1")
jobParams.append("#SBATCH --ntasks=" + str(cpu)) jobParams.append("#SBATCH --ntasks=" + str(cpu))
if memory > 1: #if memory > 1:
jobParams.append("#SBATCH --mem=" + str(memory) + "G") # jobParams.append("#SBATCH --mem=" + str(memory) + "G")
if maxtime is not None: if maxtime is not None:
jobParams.append( jobParams.append(
......
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