- Timestamp:
- 07/02/20 17:39:46 (4 years ago)
- Location:
- XIOS/trunk/xios_test_suite
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/xios_test_suite/COMPILE/config_compile.py
r1829 r1916 10 10 if osstdout.returncode!=0: 11 11 print(red(runthis+" FAILED")) 12 print >> sys.stderr, osstdout.returncode12 print(theInfo) 13 13 sys.exit() 14 # else: 15 # print(runthis+" OK") 14 15 16 def generate_compile_job_irene(revision): 17 with open("job_compile_irene.sh", "w") as f: 18 f.write("#!/bin/bash\n") 19 f.write("#=====================================\n") 20 f.write("#script generated by config_compile.py\n") 21 f.write("#=====================================\n") 22 f.write("#MSUB -r XIOS_rev"+revision+"\n") 23 f.write("#MSUB -o client_output.out\n") 24 f.write("#MSUB -e client_error.err\n") 25 f.write("#MSUB -eo\n") 26 f.write("#MSUB -c 48\n") 27 f.write("#MSUB -n 1\n") 28 f.write("#MSUB -X\n") 29 f.write("#MSUB -x\n") 30 f.write("#MSUB -T 1800\n") 31 f.write("#MSUB -q skylake\n") 32 f.write("#MSUB -A gen0826\n") 33 f.write("#MSUB -Q test\n") 34 f.write("#MSUB -m work,scratch\n") 35 f.write("cd $BRIDGE_MSUB_PWD\n") 36 f.write("cmake .\n") 37 f.write("ctest -V\n") 38 f.write("exit\n") 39 40 41 42 def generate_compile_job_jeanzay(revision): 43 print("generating compile job for jz") 44 with open("job_compile_jeanzay.sh", "w") as f: 45 f.write("#!/bin/bash\n") 46 f.write("#=====================================\n") 47 f.write("#script generated by config_compile.py\n") 48 f.write("#=====================================\n") 49 f.write("#SBATCH --ntasks=1\n") 50 f.write("#SBATCH --cpus-per-task=40\n") 51 f.write("#SBATCH --hint=nomultithread\n") 52 f.write("#SBATCH -t 00:30:00\n") 53 f.write("#SBATCH -o output.out\n") 54 f.write("#SBATCH -e error.err \n") 55 f.write("#SBATCH -A psl@cpu\n") 56 f.write("#SBATCH --job-name=XIOS_rev"+revision+"\n") 57 f.write("cd ${SLURM_SUBMIT_DIR}\n") 58 f.write("cmake .\n") 59 f.write("ctest -V\n") 60 f.write("exit\n") 16 61 17 62 … … 44 89 configs[1] += 1 45 90 configs_arg[1].append(word) 46 91 f.close() 47 92 48 93 f=open("CMakeLists.txt", "w") … … 73 118 74 119 f.close() 75 76 120 121 globals()['generate_compile_job_'+machine](revision) 122 77 123 if __name__== "__main__": 78 124 main() -
XIOS/trunk/xios_test_suite/HTML/xios_report.html
r1913 r1916 6 6 <title>XIOS Unit Tests Report - Le Site Web</title> 7 7 8 <script src=" generate_compile_table.js" type="text/javascript"></script>9 <script src=" generate_test_table.js" type="text/javascript"></script>10 11 <script src=" compile_irene_info.js" type="text/javascript"></script>12 <script src=" test_irene_info.js" type="text/javascript"></script>8 <script src="https://forge.ipsl.jussieu.fr/ioserver/chrome/site/XIOS_TEST_SUITE/generate_compile_table.js" type="text/javascript"></script> 9 <script src="https://forge.ipsl.jussieu.fr/ioserver/chrome/site/XIOS_TEST_SUITE/generate_test_table.js" type="text/javascript"></script> 10 11 <script src="https://vesg.ipsl.upmc.fr/thredds/fileServer/work/p86yann/XIOS_TEST_SUITE/compile_irene_info.js" type="text/javascript"></script> 12 <script src="https://vesg.ipsl.upmc.fr/thredds/fileServer/work/p86yann/XIOS_TEST_SUITE/test_irene_info.js" type="text/javascript"></script> 13 13 14 14 <script src="https://forge.ipsl.jussieu.fr/ioserver/chrome/site/XIOS_TEST_SUITE/compile_jeanzay_info.js" type="text/javascript"></script> -
XIOS/trunk/xios_test_suite/TEST_SUITE/step1.py
r1915 r1916 13 13 arch=os.getenv("arch") 14 14 machine=os.getenv("xios_machine_name") 15 svnR=os.getenv("svnR") 15 16 16 17 nb_proc_irene=40 # this must be >= NumberClients+NumberServers for all configs for all test folders … … 111 112 fh.write("# Called by my_run.sh -> run_test -> run_test_irene\n") 112 113 fh.write("#====================================================\n") 113 fh.write("#MSUB -r XIOS \n")114 fh.write("#MSUB -r XIOS_rev"+svnR+"\n") 114 115 fh.write("#MSUB -eo\n") 115 116 fh.write("#MSUB -o output_"+arch+"_"+mode+".out\n") … … 143 144 fh.write("#SBATCH -t 00:10:00\n") 144 145 fh.write("#SBATCH --account=psl@cpu\n") 146 fh.write("#SBATCH --job-name=XIOS_rev"+svnR+"\n") 145 147 fh.write("ulimit -c 0\n") 146 148 fh.write("cd ${SLURM_SUBMIT_DIR}\n") -
XIOS/trunk/xios_test_suite/launch_test_suite
r1913 r1916 1 1 #!/bin/bash 2 export COPY_TO_SERVER= false2 export COPY_TO_SERVER=true 3 3 if [[ $1 == "--copy" ]] 4 4 then
Note: See TracChangeset
for help on using the changeset viewer.