mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 05:43:40 +01:00
5b8113b46a
- to choose mpi4py over boost.python.mpi, pass -DPython_use_mpi4py=ON - boost.mpi stays the default for python, but adding the possibility of using mpi4py instead. - Due to numerous pbs on recent OS X + brew installation. boost.mpi does not work (crash in openmpi ??), mpi4py does - the pytriqs/utility/mpi.py is now configured by the cmake (like version.py) to prepare one of the two possibilities. - TODO: not tested carefully : to be done in other machines.
15 lines
403 B
CMake
15 lines
403 B
CMake
|
|
SET(PYTHON_SOURCES
|
|
${CMAKE_CURRENT_SOURCE_DIR}/__init__.py
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dichotomy.py
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dist_on_nodes.py
|
|
${CMAKE_CURRENT_BINARY_DIR}/mpi.py
|
|
${CMAKE_CURRENT_BINARY_DIR}/mpi_mpi4py.py
|
|
${CMAKE_CURRENT_BINARY_DIR}/mpi_boost.py
|
|
${CMAKE_CURRENT_SOURCE_DIR}/redirect.py
|
|
)
|
|
|
|
install (FILES ${PYTHON_SOURCES} DESTINATION ${TRIQS_PYTHON_LIB_DEST}/utility)
|
|
|
|
|