Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gsl compilation error #875

Closed
jobs-git opened this issue Jul 22, 2023 · 2 comments
Closed

gsl compilation error #875

jobs-git opened this issue Jul 22, 2023 · 2 comments

Comments

@jobs-git
Copy link

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
Copy link
Collaborator

toxa81 commented Jul 22, 2023

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
Copy link
Collaborator

toxa81 commented Jun 13, 2024

Close as inactive

@toxa81 toxa81 closed this as completed Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants