electronic-structure / SIRIUS

Domain specific library for electronic structure calculations
BSD 3-Clause "New" or "Revised" License
121 stars 40 forks source link

gsl compilation error #875

Closed jobs-git closed 2 months ago

jobs-git commented 1 year ago

command:

CMAKE_PREFIX_PATH="./install/SpLA-1.5.4/lib/cmake:./install/SpFFT-1.0.6/lib/cmake/SpFFT:/usr::/usr:/lib/cmake/SpFFT:/lib/cmake/SPLA:./install/gsl-2.7/lib:./install/gsl-2.7/include:./install/spglib-1.16.2/include:./install/spglib-1.16.2/lib" cmake -DCMAKE_INSTALL_PREFIX="./install/sirius-7.3.1" -DCMAKE_CXX_FLAGS_RELEASE="-O3 -DNDEBUG -mtune=native -ftree-loop-vectorize" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g -mtune=native -ftree-loop-vectorize" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_SHARED_LIBS="OFF" -DUSE_ELPA="OFF" -DUSE_VDWXC="OFF" -DCMAKE_EXTRA_FLAGS="-Wl,-rpath,./install/gsl-2.7/include/gsl" .. && make -j 4

error:

error: ‘gsl_sf_hermite’ was not declared in this scope; did you mean ‘gsl_sf_hermite_func’
toxa81 commented 1 year ago

I think at some point GSL changed gsl_sf_hermite family of functions: https://git.savannah.gnu.org/cgit/gsl.git/tree/NEWS

** renamed some of the gsl_sf_hermite functions to be more consistent
   with rest of the library, and deprecated old function names

** updated gsl_sf_hermite_func() to use a newer algorithm
   due to B. Bunck which is more stable for large x; also added
   gsl_sf_hermite_func_fast() which uses the faster Cauchy integral
   algorithm in the same paper by Bunck

GSL<=2.5 should be working

toxa81 commented 2 months ago

Close as inactive