Commit 4ac87a0f authored by ext-neveu_n's avatar ext-neveu_n
Browse files

fixing time for bebop

parent a0bf95b4
......@@ -123,7 +123,7 @@ class Simulation:
print( "You use deprecated environment variable SGE_TIME. Please use in the future TIME")
time = os.getenv("SGE_TIME")
else:
print('You did not set a time limit. Using default: s_rt=23:59:00,h_rt=24:00:00')
#print('You did not set a time limit. Using default: s_rt=23:59:00,h_rt=24:00:00')
time = os.getenv("TIME", "s_rt=23:59:00,h_rt=24:00:00")
if os.getenv("SGE_RAM"):
......@@ -162,6 +162,7 @@ class Simulation:
elif (hostname.startswith("bebop") or hostname.startswith("bdw") or hostname.startswith("knl")):
batchsys = 'SLURM'
runfile = 'run.bebop'
time = os.environ["TIME"]
self.WriteBebop(opalexe, oinpFile, CORES, time, ram, info, runfile, queue, hypert, quiet)
elif (hostname.startswith("cori")):
......
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