@@ -26,7 +26,13 @@ CTests and can optionally submit the job script.
2626 source load_dev_polaris_0.3.0-alpha.1_chrysalis_intel_openmpi.sh
2727 ```
2828
29- 3 . Run the utility:
29+ 3 . Initialize the submodule if you are using it (as opposed to a different
30+ Omega development branch) and you have not already done so:
31+ ```
32+ git submodule update --init e3sm_submodules/Omega
33+ ```
34+
35+ 4 . Run the utility:
3036 ```
3137 ./utils/omega/ctest/omega_ctest.py
3238 ```
@@ -60,7 +66,7 @@ CTests and can optionally submit the job script.
6066
6167 * ` --cmake_flags="<flags>" ` : Extra flags to pass to the ` cmake ` command
6268
63- 4 . If you are on a login node and didn't use the ` -s ` flag, you will need
69+ 5 . If you are on a login node and didn't use the ` -s ` flag, you will need
6470 to submit the batch job to run CTests yourself (perhaps after editing the
6571 job script), e.g.:
6672 ```
@@ -70,27 +76,35 @@ CTests and can optionally submit the job script.
7076If all goes well, you will see something like:
7177```
7278$ cat omega_ctest_chrysalis_intel.o464153
73- Test project /gpfs/fs1/home/ac.xylar/e3sm_work/polaris/add-omega-ctest-util/build_omega/build_chrysalis_intel
74- Start 1: DATA_TYPES_TEST
75- 1/9 Test #1: DATA_TYPES_TEST .................. Passed 0.38 sec
76- Start 2: MACHINE_ENV_TEST
77- 2/9 Test #2: MACHINE_ENV_TEST ................. Passed 0.98 sec
78- Start 3: BROADCAST_TEST
79- 3/9 Test #3: BROADCAST_TEST ................... Passed 1.13 sec
80- Start 4: LOGGING_TEST
81- 4/9 Test #4: LOGGING_TEST ..................... Passed 0.03 sec
82- Start 5: DECOMP_TEST
83- 5/9 Test #5: DECOMP_TEST ...................... Passed 1.20 sec
84- Start 6: HALO_TEST
85- 6/9 Test #6: HALO_TEST ........................ Passed 1.08 sec
86- Start 7: IO_TEST
87- 7/9 Test #7: IO_TEST .......................... Passed 2.94 sec
88- Start 8: CONFIG_TEST
89- 8/9 Test #8: CONFIG_TEST ...................... Passed 1.01 sec
90- Start 9: YAKL_TEST
91- 9/9 Test #9: YAKL_TEST ........................ Passed 0.03 sec
92-
93- 100% tests passed, 0 tests failed out of 9
94-
95- Total Test time (real) = 8.91 sec
79+ Test project /gpfs/fs1/home/ac.xylar/e3sm_work/polaris/improve-omega-ctest-output/build_omega/build_chrysalis_intel
80+ Start 1: DATA_TYPES_TEST
81+ 1/33 Test #1: DATA_TYPES_TEST .................... Passed 0.44 sec
82+ Start 2: MACHINE_ENV_TEST
83+ 2/33 Test #2: MACHINE_ENV_TEST ................... Passed 0.88 sec
84+ Start 3: BROADCAST_TEST
85+ 3/33 Test #3: BROADCAST_TEST ..................... Passed 0.89 sec
86+ Start 4: LOGGING_TEST
87+ ...
88+ 32/33 Test #32: GSWC_CALL_TEST ..................... Passed 0.06 sec
89+ Start 33: EOS_TEST
90+ 33/33 Test #33: EOS_TEST ........................... Passed 1.20 sec
91+
92+ 100% tests passed, 0 tests failed out of 33
93+
94+
95+ Label Time Summary:
96+ OPENMP = 63.42 sec*proc (32 tests)
97+ Omega-0 = 63.42 sec*proc (32 tests)
98+
99+ Total Test time (real) = 63.51 sec
100+
101+ (Copy the following to a comment in your Omega PR)
102+
103+ CTest unit tests:
104+ - Machine: chrysalis
105+ - Compiler: intel
106+ - Build type: Release
107+ - Result: All tests passed
108+ - Log: /path/to/ctests.log
109+
96110```
0 commit comments