-
Notifications
You must be signed in to change notification settings - Fork 1
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
‘MPI’ has not been declared #1
Comments
MPI C++ binding are deprecated: |
hello!When I ran "./localinstall.sh", I had some trouble. -- Build files have been written to: /home/hadoop/local/src/mpi2-master/build [ 33%] Built target mpi2 |
hello!When I ran "./localinstall.sh", I had some trouble.
lionty@server:~/local/src/mpi2$ ./localinstall.sh
-- Build type: NativeRelease
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106300
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:63 (find_package)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106300
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:63 (find_package)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106300
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:63 (find_package)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106300
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:63 (find_package)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106300
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:63 (find_package)
-- Boost version: 1.63.0
-- Found the following Boost libraries:
-- serialization
-- mpi
-- system
-- filesystem
-- thread
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lionty/local/src/mpi2/build
[ 8%] Built target rg
[ 12%] Building CXX object mpi2/CMakeFiles/mpi2.dir/init_impl.cc.o
/home/lionty/local/src/mpi2/mpi2/init_impl.cc: In function ‘boost::mpi::communicator& mpi2::mpi2init(int&, char**&)’:
/home/lionty/local/src/mpi2/mpi2/init_impl.cc:28:20: error: ‘MPI’ has not been declared
int threadLevel = MPI::Init_thread(argc, argv, MPI_THREAD_MULTIPLE);
^
/home/lionty/local/src/mpi2/mpi2/init_impl.cc: In function ‘void mpi2::mpi2finalize()’:
/home/lionty/local/src/mpi2/mpi2/init_impl.cc:114:2: error: ‘MPI’ has not been declared
MPI::Finalize();
^
mpi2/CMakeFiles/mpi2.dir/build.make:86: recipe for target 'mpi2/CMakeFiles/mpi2.dir/init_impl.cc.o' failed
make[2]: *** [mpi2/CMakeFiles/mpi2.dir/init_impl.cc.o] Error 1
CMakeFiles/Makefile2:140: recipe for target 'mpi2/CMakeFiles/mpi2.dir/all' failed
make[1]: *** [mpi2/CMakeFiles/mpi2.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: