Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7953 Discussions

Could NOT find MPI_C (missing: MPI_C_LIB_NAMES) (found version "3.1") -- Could NOT find MPI_CXX (mis

Yurina
Beginner
806 Views

I am trying to install one tool and try to compile configure.sh .

I use these compiler version.

g++ (SUSE Linux) 4.8.5

c++ (SUSE Linux) 4.8.5

yurina@XX:~> which icc

/opt/intel/compilers_and_libraries_2018.2.199/linux/bin/intel64/icc

 

There is an error like,

yurina@XX:~/SKIRT/git> ./configSKIRT.sh

Using /home/user/anaconda3/bin/cmake to generate build files

-- Cray Programming Environment 2.5.14 C
-- Cray Programming Environment 2.5.14 CXX
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES) (found version "3.1")
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES) (found version "3.1")
CMake Error at /home/user/anaconda3/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) (found version
  "3.1")
Call Stack (most recent call first):
  /home/user/anaconda3/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /home/user/anaconda3/share/cmake-3.14/Modules/FindMPI.cmake:1672 (find_package_handle_standard_args)
  CMakeLists.txt:48 (find_package)

 

I have already checked where mpicc and mpicxx are.

yurina@XX:~/SKIRT/git> which mpicc
/home/user/anaconda3/bin/mpicc
yurina@XX:~/SKIRT/git> which mpicxx
/home/user/anaconda3/bin/mpicxx

There are several websites that had similar trouble and I have tried those solutions, but I could not solve. 
Could you tell me the solution in my case? 

Thank you in advance.

0 Kudos
3 Replies
VeenaJ_Intel
Moderator
736 Views

Hi,

 

Thanks for posting in Intel communities!

 

In order to assist you more effectively, we would appreciate it if you could provide the following details regarding the issue you are experiencing:

 

  • The tool you are using
  • Steps to reproduce the issue
  • Operating System details
  • Hardware details

 

We sincerely appreciate your cooperation in providing these details. Thank you in advance for your assistance.

 

Regards,

Veena

 

 

 

0 Kudos
VeenaJ_Intel
Moderator
653 Views

Hi,

 

We have not heard back from you. Could you kindly provide the details so that we can help you in resolving your issue.

 

Regards,

Veena

 

 

 

0 Kudos
VeenaJ_Intel
Moderator
608 Views

Hi,

 

We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.

 

Regards,

Veena

 

0 Kudos
Reply