lab-cosmo/librascal

doesn't install/buid on CentOS 7.9.2009

UnixJunkie opened this issue · 7 comments

there are many errors, I'll send a gist

this was for 'pip3 install .' I'll create another one for what happens with cmake then make.

I'll work inside a docker container, for the time behing (despite I don't like that)...

The CXX compiler identification is GNU 4.8.5

This is the main issue. Librascal requires C++14, which is only available starting with gcc7. You can install more recent GCC versions CentOS 7 with the devtoolset packages, i.e. devtoolset-9 would install gcc9

Indeed, by setting CXX and CC to a recent version of gcc/g++, the compilation process goes further.