Skip to content

Commit

Permalink
possible workaround for unit test failure
Browse files Browse the repository at this point in the history
taken from: open-mpi/ompi#9656
  • Loading branch information
akohlmey committed Aug 5, 2023
1 parent 782b7cf commit aac7257
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unittest/formats/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ set_tests_properties(TextFileReader PROPERTIES ENVIRONMENT "LAMMPS_POTENTIALS=${
add_executable(test_file_operations test_file_operations.cpp)
target_link_libraries(test_file_operations PRIVATE lammps GTest::GMock)
add_test(NAME FileOperations COMMAND test_file_operations)
# try to mitigate possible OpenMPI bug
set_tests_properties(TextFileReader PROPERTIES ENVIRONMENT "OMPI_MCA_sharedfp=\"^sm\"")

add_executable(test_dump_atom test_dump_atom.cpp)
target_link_libraries(test_dump_atom PRIVATE lammps GTest::GMock)
Expand Down

0 comments on commit aac7257

Please sign in to comment.