Install LIGGGHTS with intel mpi (impi)

Submitted by Sounik on Wed, 02/20/2019 - 00:12

Hello Members,

Installation of LIGGGHTS inside a cluster with intel mpi resulted in the following error on the execution of "make auto":

Warning: MPICXX compiler is icpc but g++. Thus, setting the MPICH cxx compiler to g++.
make[1]: Entering directory `/work/06321/runa1234/stampede2/LIGGGHTS-PUBLIC/src/Obj_auto'
Makefile:499: *** 'Could not compile and link a simple MPI example. Test was done with MPI_LIB='. Stop.
make[1]: Leaving directory `/work/06321/runa1234/stampede2/LIGGGHTS-PUBLIC/src/Obj_auto'
make: *** [auto] Error 2

Any suggestion will be very helpful.

Thanks,
Sounik

arnom's picture

arnom | Thu, 02/21/2019 - 11:31

Can you try and set CXX_USR=icpc in Makefile.user, that should help.

DCS team member & LIGGGHTS(R) core developer

Mouhamaou AMAR | Sun, 12/06/2020 - 03:57

Hello, could you please help me :
I 'he got this error Error executing "make auto" command

alaminelesur@port-45589:~/LIGGGHTS-PUBLIC/src$ make auto
Creating list of contact models completed.
make[1]: Entering directory '/home/alaminelesur/LIGGGHTS-PUBLIC/src/Obj_auto'
Makefile:456: *** 'Could not compile a simple MPI example. Test was done with MPI_INC="" and MPICXX="mpicxx"'. Stop.
make[1]: Leaving directory '/home/alaminelesur/LIGGGHTS-PUBLIC/src/Obj_auto'
make: *** [Makefile:114: auto] Error 2

Thanks in advance for your help