diff --git a/run.sh b/run.sh index 6a5c9d9a6724880061b4bb89326c74de24381e22..b22104fa1085c029d74a52b0c8b5854804bd8d4f 100755 --- a/run.sh +++ b/run.sh @@ -5,7 +5,7 @@ #cd openfpm_numerics workspace=$1 -hostname=$2 +hostname=$(cat hostname) nproc=$3 ntask_per_node=$5 nodes=$4 @@ -15,6 +15,10 @@ echo "Directory: $workspace" echo "Machine: $hostname" echo "Branch name: $branch" +if [ x"$hostname" == x"cifarm-centos-node" ]; then + mpi_options="--allow-run-as-root" +fi + # Get the branch of pdata echo "RUN numerics test" diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fa328777a22e48e20899d105555fc6a85d75a4c5..632f46349e66bc870651b9d875081280cd545bcc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -63,7 +63,7 @@ if ( CUDA_ON_BACKEND STREQUAL "HIP" AND HIP_FOUND ) # BoundaryConditions/tests/method_of_images_cylinder_unit_test.cpp # level_set/closest_point/closest_point_unit_tests.cpp level_set/redistancing_Sussman/tests/redistancingSussman_fast_unit_test.cpp - level_set/redistancing_Sussman/tests/help_functions_unit_test.cpp +# level_set/redistancing_Sussman/tests/help_functions_unit_test.cpp level_set/redistancing_Sussman/tests/narrowBand_unit_test.cpp # level_set/redistancing_Sussman/tests/redistancingSussman_unit_test.cpp # level_set/redistancing_Sussman/tests/convergence_test.cpp @@ -103,7 +103,7 @@ else() # BoundaryConditions/tests/method_of_images_cylinder_unit_test.cpp # level_set/closest_point/closest_point_unit_tests.cpp level_set/redistancing_Sussman/tests/redistancingSussman_fast_unit_test.cpp - level_set/redistancing_Sussman/tests/help_functions_unit_test.cpp +# level_set/redistancing_Sussman/tests/help_functions_unit_test.cpp level_set/redistancing_Sussman/tests/narrowBand_unit_test.cpp # level_set/redistancing_Sussman/tests/redistancingSussman_unit_test.cpp # level_set/redistancing_Sussman/tests/convergence_test.cpp