openmc with mpi installation problem

126 views
Skip to first unread message

Lababsa Djahid

unread,
May 4, 2018, 2:05:39 PM5/4/18
to OpenMC Users Group

I am trying to install openmc with mpi support. every time I run the make command I get the error: /usr/include/hdf5/mpich/H5public.h:61:13: fatal error: mpi.h: No such file or directory


Screenshot from 2018-05-04 19-04-43.png

Paul Romano

unread,
May 4, 2018, 2:39:01 PM5/4/18
to lababs...@gmail.com, openmc...@googlegroups.com
Make sure that you set the CC, FC, and CXX environment variables at the time you call CMake (as described here). I think what's happening here is that it's trying to use a non-MPI-wrapper version of the C++ compiler, so it's not able to find an MPI header file.

Best,
Paul

On Fri, May 4, 2018 at 1:05 PM Lababsa Djahid <lababs...@gmail.com> wrote:

I am trying to install openmc with mpi support. every time I run the make command I get the error: /usr/include/hdf5/mpich/H5public.h:61:13: fatal error: mpi.h: No such file or directory


--
You received this message because you are subscribed to the Google Groups "OpenMC Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openmc-users...@googlegroups.com.
To post to this group, send email to openmc...@googlegroups.com.
Visit this group at https://groups.google.com/group/openmc-users.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages