leetmaa / KMCLib

A kinetic Monte Carlo Python/C++ library.
GNU General Public License v3.0
119 stars 49 forks source link

Installation error in cluster #1

Closed xingfenghe closed 8 years ago

xingfenghe commented 8 years ago

Hi, I succeeded in installing it on my own redhat. But when installing on cluster which have a lot c++, mpi modules, it failed. I doubt the reason comes from cmake. The make file used the /user/bin/c++ instead of provided gcc path. Could you fix this error or tell me how to fix it?

Best, Albert

leetmaa commented 8 years ago

Did you follow the installation manual? http://leetmaa.github.io/KMCLib/manual-v1.1/install.html If you try to be a bit more specific in your question I might be able to help you. But if you have MPI related installation problems on a cluster you are probably better off asking your cluster admin for help.

xingfenghe commented 8 years ago

Yes. I followed the manual. But I also failed in building serial one. I am wondering how CMKAE know what g++ to use. Seems I can’t assign g++ library to CMAKE.

leetmaa commented 8 years ago

If you take a look at KMCLib/c++/CMakeLists.txt you see that it forces CMAKE to use whatever you have in your local MPI wrapper script as C++ compiler.