-
Notifications
You must be signed in to change notification settings - Fork 579
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
Intrepid2 Build errors with Intel #254
Comments
Hi Christian,
Hi Alejandro,
Best, Kyungjoo From: Christian Trott [email protected] I get tons of errors like this with Intrepid2 using the Intel 15.0.2 compiler. This is a non-threaded build, using the sampleScripts/Sandia-SEMS/configure-all script with the addition of enabling Intrepid2. /home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h: In instantiation of \u2018bool Intrepid::_GLOBAL__N__42_tmpxft_0000a64b_00000000_7_test_02_cpp1_ii_main::solveFN(FN&, const Intrepid::Vector&) [with FN = Intrepid::_GLOBAL__N__42_tmpxft_0000a64b_00000000_7_test_02_cpp1_ii_main::SquareRootNLS; T = double; unsigned int N = 2u]\u2019: @trilinos/intrepid2https://github.com/orgs/trilinos/teams/intrepid2 You are receiving this because you are on a team that was mentioned. |
Actually it is Intrepid not Intrepid2: furthermore I noticed that I had OMPI_CXX still set to use nvcc_wrapper, so it was probably Cuda 7.5 + GCC 4.7.2. I will close this for now, since that is a combination we do not like anyway. |
I get tons of errors like this with Intrepid2 using the Intel 15.0.2 compiler. This is a non-threaded build, using the sampleScripts/Sandia-SEMS/configure-all script with the addition of enabling Intrepid2.
Might be a non-standard conform usage of initializer lists which gcc allows, but intel doesn't.
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h: In instantiation of \u2018bool Intrepid::_GLOBAL__N__42_tmpxft_0000a64b_00000000_7_test_02_cpp1_ii_main::solveFN(FN&, const Intrepid::Vector<T, N>&) [with FN = Intrepid::_GLOBAL__N__42_tmpxft_0000a64b_00000000_7_test_02_cpp1_ii_main::SquareRootNLS; T = double; unsigned int N = 2u]\u2019:
/home/crtrott/Trilinos/packages/intrepid/test/Shared/MiniTensor/test_02.cc:1017:51: required from here
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h:328:8: error: too many braces around initializer for \u2018double\u2019 [-fpermissive]
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h:328:8: error: invalid conversion from \u2018\u2019 to \u2018double\u2019 [-fpermissive]
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h:328:8: error: aggregate value used where a float was expected
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h:328:8: error: too many braces around initializer for \u2018double\u2019 [-fpermissive]
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h:328:8: error: invalid conversion from \u2018\u2019 to \u2018double\u2019 [-fpermissive]
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h:328:8: error: aggregate value used where a float was expected
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h:328:8: error: too many braces around initializer for \u2018double\u2019 [-fpermissive]
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h:328:8: error: invalid conversion from \u2018\u2019 to \u2018double\u2019 [-fpermissive]
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h:328:8: error: aggregate value used where a float was expected
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h:328:8: error: too many braces around initializer for \u2018double\u2019 [-fpermissive]
/home/crtrott/Trilinos/packages/intrepid/src/Shared/MiniTensor/Intrepid_MiniTensor_Solvers.h:328:8: error: invalid conversion from \u2018\u2019 to \u2018double\u2019 [-fpermissive]
@trilinos/intrepid2
The text was updated successfully, but these errors were encountered: