Last change
on this file since 2243 was
1888,
checked in by yushan, 4 years ago
|
trunk : some scripts for parallel job submission.
|
-
Property svn:executable set to
*
|
File size:
769 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | module load subversion |
---|
3 | module load python3 |
---|
4 | |
---|
5 | export arch=X64_IRENE |
---|
6 | export mode=prod |
---|
7 | |
---|
8 | export build_dir=xios_test_suite/RUN_TEST_SUITE/build_${arch}_${mode} |
---|
9 | |
---|
10 | echo "Start Building XIOS ... " |
---|
11 | bash -c "cd ../.. && ./make_xios --arch_path `pwd`/../ARCH --arch ${arch} --${mode} --build_dir ${build_dir} --job 4" |
---|
12 | |
---|
13 | export build_status=$? |
---|
14 | if [[ ${build_status} == 0 ]] |
---|
15 | then |
---|
16 | echo "XIOS Build Finished. Start Unit Tests" |
---|
17 | bash ./my_prod.sh |
---|
18 | else |
---|
19 | echo "XIOS Build Failed. Skip Unit Tests" |
---|
20 | fi |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | #ccc_msub -E "--wait" job_irene.sh |
---|
26 | |
---|
27 | #bash -c "python generate_test.py" |
---|
28 | #mv _test_${xios_machine_name}_info.js test_${xios_machine_name}_info.js |
---|
29 | #copy_to_thredds test_${xios_machine_name}_info.js |
---|
30 | #mv test_${xios_machine_name}_info.js _test_${xios_machine_name}_info.js |
---|
Note: See
TracBrowser
for help on using the repository browser.