LLNL/USER-EPH

problem with eph compilation

Closed this issue · 5 comments

Dear developers,

We are trying to install the eph module in LAMMPS, however we have a recurrent compilation problem. The message is similar for serial and mpi compilation. Just to be sure, we try the compilation in two different machines getting the same errors. We attach you the files with the hope that you can help us or telling us what we are doing wrong.

Many thanks in advance for your help.
Felipe.

serial.txt
mpi.txt

Thanks @fvalenciad, I am curious what your mpicxx --version prints.

This function should be removed from the cpp file

EPH_FDM::EPH_FDM(const char* file) {
because the function is already defined in the hpp.

Hi @correaa ,
the output of mpicxx --version:
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0

Just in case, I delete the function but the compilation still not works.

Hi,
I forgot to remove the eph_fdm.cpp file which is not needed. My personal branch had the safety macros to disable it.

It should be fixed in the latest commit.

Artur

Dear @artuuuro,
with your suggestion the compilation works for both, serial and mpi.
Many thanks for your help!
Best regards,
Felipe