-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find ADIOS2: missing: MPI #71
Comments
Check if the installed variant has MPI support. Another option is to provide a ADIOS2 compiled version from source using MPI. |
Thank you for your advices.
I hope I understood it correctly, mpirun/mpiexec/mpicc is executable and installed under the activated Anaconda environment.
Sorry, but I don't really understand this part. |
ADIOS2 has several configuration options for compilation. For this case, it needs to build with MPI. You can get a MPI variant from conda or build from source with MPI turned on as in the docs. Hope the docs help for a detailed explanation. |
I understand the meaning now. Checked from
I tried and faced some problems while building the variant. Testing on the personal virtual machine, with the same error happened, the problem can be solved following the installation instruction of CMake after But, in my case, I have no administrative privileges, making |
Also, building up gray-scott in the environment that has administrative privileges, errors happened. After Just for testing, may not help, but I also ran https://gist.github.com/a519678685/97dc45226d0226a37bf8de45a382c604 |
I'm following the guide at 'https://www.exascaleproject.org/wp-content/uploads/2021/02/ADIOS_tutorial_ECP_AHM_Apr2021_full.pdf', trying to run gray-scott simulation and facing a problem while 'cmake -DCMAKE_PREFIX_PATH=/home/adios/Tutorial -DADIOS2_DIR=/opt/adios2 -DCMAKE_BUILD_TYPE=RelWithDebInfo ..'
Here is the error,
`CMake Error at /home/rin/ulocal/install/cmake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find ADIOS2: missing: MPI (found
/home/rin/ulocal/install/python/Conda/envs/adios2/lib/cmake/adios2/adios2-config.cmake
(found suitable version "2.8.3", minimum required is "2.7.1"))
Call Stack (most recent call first):
/home/rin/ulocal/install/cmake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:243 (_FPHSA_FAILURE_MESSAGE)
/home/rin/ulocal/install/cmake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:585 (_FPHSA_HANDLE_FAILURE_CONFIG_MODE)
/home/rin/ulocal/install/python/Conda/envs/adios2/lib/cmake/adios2/adios2-config-common.cmake:173 (find_package_handle_standard_args)
/home/rin/ulocal/install/python/Conda/envs/adios2/lib/cmake/adios2/adios2-config.cmake:29 (include)
CMakeLists.txt:67 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/rin/ADIOS2-Examples/build/CMakeFiles/CMakeOutput.log".
See also "/home/rin/ADIOS2-Examples/CMakeFiles/CMakeError.log".`
It is tested remotely on a cluster, cluster administrator doesn't provide OpenMPI, so OpenMPI version of 4.1.4 is installed and the path is exported as well.
OS is Ubuntu 22.04.1 LTS.
ADIOS2 of version 2.8.3 is installed through Anaconda and confirmed connected to the library.
cmake --version is 3.25. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: