1# Each patch test owns its generated mesh and output.
3 COMMAND "${EP_MPI_RUN}" ${EP_MPI_RUN_FLAGS} -np 1 "${EP_PATCH}"
4 -json_config auxiliary_logarithmic_stress_patch_prepare.json
5 OUTPUT_FILE prepare.log ERROR_FILE prepare.err RESULT_VARIABLE result)
7 message(FATAL_ERROR "Patch mesh preparation failed: ${result}")
9set(mesh auxiliary_logarithmic_stress_patch.h5m)
12 COMMAND "${EP_MPI_RUN}" ${EP_MPI_RUN_FLAGS} -np 1 "${EP_PARTITION}"
13 -file_name "${mesh}" -output_file auxiliary_logarithmic_stress_patch_2p.h5m
15 OUTPUT_FILE partition.log ERROR_FILE partition.err RESULT_VARIABLE result)
16 if(NOT result EQUAL 0)
17 message(FATAL_ERROR "Patch mesh partition failed: ${result}")
19 set(mesh auxiliary_logarithmic_stress_patch_2p.h5m)
22 COMMAND "${EP_MPI_RUN}" ${EP_MPI_RUN_FLAGS} -np ${EP_RANKS} "${EP_PATCH}"
23 -json_config auxiliary_logarithmic_stress_patch_atom.json -file_name "${mesh}"
24 -analytical_expr_file "${EP_PATCH_PYTHON}"
25 -elastic_mat_mumps_icntl_20 0 -elastic_mat_mumps_icntl_14 800
26 RESULT_VARIABLE result)
28 message(FATAL_ERROR "Homogeneous auxiliary patch failed: ${result}")