Hi,
There is an error when compiling the LAMMPS as a library with the latest stable Lammps version (3 Mar 2020). The error log is shown below:
g++: warning: /usr/include: linker input file unused because linking not done
mpic++ -g -O3 -DLAMMPS_GZIP -DLAMMPS_JPEG -DLAMMPS_PNG -DLAMMPS_FFMPEG /lib/x86_64-linux-gnu/openmpi/include/ -DFFT_FFTW3 /usr/include -c ../angle_cosine.cpp
../angle_cosine.cpp: In member function ‘virtual void LAMMPS_NS::AngleCosine::compute(int, int)’:
../angle_cosine.cpp:56:3: error: ‘ev_init’ was not declared in this scope; did you mean ‘init’?
56 | ev_init(eflag,vflag);
| ^~~~~~~
| init
make[1]: *** [Makefile:120: angle_cosine.o] Error 1
make[1]: Leaving directory '/home/test/lammps/lammps-3Mar20/src/Obj_ubuntu'
make: *** [Makefile:217: ubuntu] Error 2
Can you update the openFSI with the new Lammps?
Thanks very much,
Weicai Ye
Hi,
There is an error when compiling the LAMMPS as a library with the latest stable Lammps version (3 Mar 2020). The error log is shown below:
g++: warning: /usr/include: linker input file unused because linking not done
mpic++ -g -O3 -DLAMMPS_GZIP -DLAMMPS_JPEG -DLAMMPS_PNG -DLAMMPS_FFMPEG /lib/x86_64-linux-gnu/openmpi/include/ -DFFT_FFTW3 /usr/include -c ../angle_cosine.cpp
../angle_cosine.cpp: In member function ‘virtual void LAMMPS_NS::AngleCosine::compute(int, int)’:
../angle_cosine.cpp:56:3: error: ‘ev_init’ was not declared in this scope; did you mean ‘init’?
56 | ev_init(eflag,vflag);
| ^~~~~~~
| init
make[1]: *** [Makefile:120: angle_cosine.o] Error 1
make[1]: Leaving directory '/home/test/lammps/lammps-3Mar20/src/Obj_ubuntu'
make: *** [Makefile:217: ubuntu] Error 2
Can you update the openFSI with the new Lammps?
Thanks very much,
Weicai Ye