diff --git a/test_prebuild/run_all_tests.sh b/test_prebuild/run_all_tests.sh index d91f1fdb..2de74906 100755 --- a/test_prebuild/run_all_tests.sh +++ b/test_prebuild/run_all_tests.sh @@ -8,4 +8,4 @@ echo "" && echo "Running test_blocked_data" && cd test_blocked_data && ./run_tes echo "" && echo "Running test_chunked_data" && cd test_chunked_data && ./run_test.sh && cd .. echo "" && echo "Running test_unit_conv" && cd test_unit_conv && ./run_test.sh && cd .. -echo "" && echo "Running test_track_variables" && pytest test_track_variables.py \ No newline at end of file +echo "" && echo "Running test_track_variables" && pytest test_track_variables.py diff --git a/test_prebuild/test_unit_conv/README.md b/test_prebuild/test_unit_conv/README.md index 16db6fc5..17ca1c58 100644 --- a/test_prebuild/test_unit_conv/README.md +++ b/test_prebuild/test_unit_conv/README.md @@ -1,16 +1,16 @@ -# How to build the chunked data test +# How to build the unit conv test 1. Set compiler environment as appropriate for your system 2. Run the following commands: ``` -cd test_prebuild/test_chunked_data/ +cd test_prebuild/test_unit_conv/ rm -fr build mkdir build ../../scripts/ccpp_prebuild.py --config=ccpp_prebuild_config.py --builddir=build cd build cmake .. 2>&1 | tee log.cmake make 2>&1 | tee log.make -./test_chunked_data.x +./test_unit_conv.x # On systems where linking against the MPI library requires a parallel launcher, -# use 'mpirun -np 1 ./test_chunked_data.x' or 'srun -n 1 ./test_chunked_data.x' etc. +# use 'mpirun -np 1 ./test_unit_conv.x' or 'srun -n 1 ./test_unit_conv.x' etc. ``` diff --git a/test_prebuild/test_unit_conv/data.F90 b/test_prebuild/test_unit_conv/data.F90 index 4c5c177c..f53c107e 100644 --- a/test_prebuild/test_unit_conv/data.F90 +++ b/test_prebuild/test_unit_conv/data.F90 @@ -16,7 +16,6 @@ module data integer, parameter :: ncols = 4 integer, parameter :: nspecies = 2 type(ccpp_t), target :: cdata - !real(kind_phys), dimension(1:ncols,1:nspecies), target :: data_array real(kind_phys), dimension(1:ncols,1:nspecies) :: data_array logical :: opt_array_flag diff --git a/test_prebuild/test_unit_conv/data.meta b/test_prebuild/test_unit_conv/data.meta index 91c6e112..895cd6c2 100644 --- a/test_prebuild/test_unit_conv/data.meta +++ b/test_prebuild/test_unit_conv/data.meta @@ -50,4 +50,4 @@ dimensions = (horizontal_loop_extent) type = real kind = kind_phys - active = (flag_for_opt_array) \ No newline at end of file + active = (flag_for_opt_array) diff --git a/test_prebuild/test_unit_conv/main.F90 b/test_prebuild/test_unit_conv/main.F90 index 36e8183e..3f7ee103 100644 --- a/test_prebuild/test_unit_conv/main.F90 +++ b/test_prebuild/test_unit_conv/main.F90 @@ -89,4 +89,4 @@ program test_unit_conv contains -end program test_unit_conv \ No newline at end of file +end program test_unit_conv diff --git a/test_prebuild/test_unit_conv/unit_conv_scheme_2.meta b/test_prebuild/test_unit_conv/unit_conv_scheme_2.meta index bdb9ea4f..534e3abe 100644 --- a/test_prebuild/test_unit_conv/unit_conv_scheme_2.meta +++ b/test_prebuild/test_unit_conv/unit_conv_scheme_2.meta @@ -38,4 +38,4 @@ type = real kind = kind_phys intent = inout - optional = True \ No newline at end of file + optional = True