|
@@ -9,23 +9,23 @@ if __name__=="__main__":
|
|
|
mmax=int((3*(g+2))/5)
|
|
|
n=0
|
|
|
os.system("make clean;make MAX_GENUS="+repr(g))
|
|
|
- file=open("output3/param_"+repr(g),'w')
|
|
|
+ file=open("output/param_"+repr(g),'w')
|
|
|
for m in range(2,mmax+1):
|
|
|
- for k in range(1,2):
|
|
|
+ for k in range(g-m):
|
|
|
file.write(repr(m)+' '+repr(k)+"\n")
|
|
|
n+=1
|
|
|
file.close()
|
|
|
print("Split in ",n," subtasks")
|
|
|
- file=open("oar_wilf_3.sh",'w')
|
|
|
+ file=open("oar_wilf.sh",'w')
|
|
|
file.write("#!/bin/sh\n")
|
|
|
file.write("#OAR -l core=1,walltime=1:00:00\n")
|
|
|
file.write("#OAR -t idempotent\n")
|
|
|
file.write("#OAR -q besteffort\n")
|
|
|
file.write("#OAR -t besteffort\n")
|
|
|
-# file.write('#OAR -p cputype="skylake" or cputype="braodwell"\n')
|
|
|
- file.write("#OAR --array-param-file output3/param_"+repr(g)+"\n")
|
|
|
- file.write("#OAR -O output3/job.%jobid%.output\n")
|
|
|
- file.write("#OAR -E output3/job.%jobid%.error\n")
|
|
|
+ file.write("#OAR --array-param-file output/param_"+repr(g)+"\n")
|
|
|
+ file.write("#OAR -O output/job.%jobid%.output\n")
|
|
|
+ file.write("#OAR -E output/job.%jobid%.error\n")
|
|
|
file.write("cd /nfs/home/lmpa/jfromentin/wilf/single\n")
|
|
|
- file.write("./wilf_alone_3 $*\n")
|
|
|
+ file.write("./wilf $*\n")
|
|
|
file.close()
|
|
|
+
|