Changeset 1894 for XIOS/trunk/xios_test_suite/TEST_SUITE/step1.py
- Timestamp:
- 06/11/20 17:36:58 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/xios_test_suite/TEST_SUITE/step1.py
r1893 r1894 13 13 arch=os.getenv("arch") 14 14 machine=os.getenv("xios_machine_name") 15 my_counter=116 portion=017 15 18 16 nb_proc_irene=20 # this must be >= NumberClients+NumberServers for all configs for all test folders … … 86 84 with open("full_job_"+arch+"_"+mode+".sh", "a") as fh: 87 85 fh.write("\ncd ${location}/"+location+"; srun --exclusive -n "+str(n)+" generic_testcase.exe > output.out 2> error.out &\n") 88 #fh.write("echo \"test progress "+str(my_counter*portion)+"% \"\n")89 #my_counter = my_counter+190 86 91 87 def main(): 92 global portion93 tmp_list=glob.glob("test_*/CONFIG_*")94 nb_configs = len(tmp_list)95 portion = 100.0/nb_configs96 88 97 89 if machine=="irene":
Note: See TracChangeset
for help on using the changeset viewer.