Fix MPI-CUDA bug
This commit is contained in:
@@ -49,10 +49,14 @@ def install(self, spec, prefix):
|
||||
cmake_args.append('-DENABLE_CUDA=OFF')
|
||||
|
||||
# CUDA-aware MPI library support
|
||||
if '+cuda' in spec and '+mpi' in spec:
|
||||
cmake_args.append('-DENABLE_MPI_CUDA=ON')
|
||||
else:
|
||||
cmake_args.append('-DENABLE_MPI_CUDA=OFF')
|
||||
#if '+cuda' in spec and '+mpi' in spec:
|
||||
# cmake_args.append('-DENABLE_MPI_CUDA=ON')
|
||||
#else:
|
||||
# cmake_args.append('-DENABLE_MPI_CUDA=OFF')
|
||||
|
||||
# There may be a bug in the MPI-CUDA code. See:
|
||||
# https://groups.google.com/forum/#!msg/hoomd-users/2griTESmc5I/E69s_M5fDwAJ
|
||||
cmake_args.append('-DENABLE_MPI_CUDA=OFF')
|
||||
|
||||
# Documentation
|
||||
if '+doc' in spec:
|
||||
@@ -64,4 +68,5 @@ def install(self, spec, prefix):
|
||||
cmake('.', *cmake_args)
|
||||
|
||||
make()
|
||||
make("test")
|
||||
make("install")
|
||||
|
Reference in New Issue
Block a user