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

c++17 compiler needed #21

Open
dsschult opened this issue Apr 15, 2022 · 2 comments
Open

c++17 compiler needed #21

dsschult opened this issue Apr 15, 2022 · 2 comments

Comments

@dsschult
Copy link
Member

From a test on an (older) custom compiler on a supercomputer. Apparently there is no test in cmake, but the code requires c++17.

[ 24%] Building CXX object CMakeFiles/cphotospline.dir/src/cinter/splinetable.cpp.o
/opt/intel/compilers_and_libraries_2020.1.217/linux/bin/intel64/icpc -DPHOTOSPLINE_VERSION=2.1.0 -Dcphotospline_EXPORTS -I/work2/00434/eijkhout/icecube/photospline/photospline-git/include -I/work2/00434/eijkhout/icecube/cfitsio/installation-4.1.0-clx/include -fPIC   -I/work2/00434/eijkhout/icecube/cfitsio/installation-4.1.0-clx/include -ISUITESPARSE_INCLUDE_DIR-NOTFOUND -Wall -Wextra -O3 -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mno-avx -std=gnu++11 -MD -MT CMakeFiles/cphotospline.dir/src/cinter/splinetable.cpp.o -MF CMakeFiles/cphotospline.dir/src/cinter/splinetable.cpp.o.d -o CMakeFiles/cphotospline.dir/src/cinter/splinetable.cpp.o -c /work2/00434/eijkhout/icecube/photospline/photospline-git/src/cinter/splinetable.cpp
/work2/00434/eijkhout/icecube/photospline/photospline-git/include/photospline/detail/simd.h(31): internal error: assertion failed at: "shared/cfe/edgcpfe/overload.c", line 24602

                a = b - type{};
                              ^
@cnweaver
Copy link
Collaborator

This code hasn't changed in years, and given that it builds with g++ 4.8.5, I think it's more likely that whatever this compiler is it doesn't fully implement this gcc extension.

@dsschult
Copy link
Member Author

Looks like an intel compiler. Also note I'm just reporting this from another person we're working with at TACC.

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