Wrong syntax for MPICH

Submitted by dventuri on Thu, 05/03/2018 - 18:59

While installing/compiling LIGGGHTS with "make auto", if the "mpicxx" command from MPICH distribution is set to use other compiler than g++ (say icpc for instance), the makefile will try to change back to g++ using the syntax:
"mpicxx file.cpp -cxx g++"

However this syntax is incorrect (at least in the latest MPICH version, 3.2.1) and causes error. The correct is:
"mpicxx file.cpp -cxx=g++"

arnom's picture

arnom | Tue, 05/15/2018 - 11:53

Thanks for the bug report, we will have a look at this for the next release.
Kind regards,
Arno

DCS team member & LIGGGHTS(R) core developer