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

Intrepid2 Build errors with Intel #254

Closed
crtrott opened this issue Mar 31, 2016 · 2 comments
Closed

Intrepid2 Build errors with Intel #254

crtrott opened this issue Mar 31, 2016 · 2 comments
Labels
pkg: Intrepid2 type: bug The primary issue is a bug in Trilinos code or tests

Comments

@crtrott
Copy link
Member

crtrott commented Mar 31, 2016

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

@crtrott crtrott added type: bug The primary issue is a bug in Trilinos code or tests pkg: Intrepid2 labels Mar 31, 2016
@kyungjoo-kim
Copy link
Contributor

Hi Christian,

The minitensor is developed and maintained by Alejandro Mota and I CC'ed him in this message. BTW, which code use mini tensor ? Mini tensor is supposed to be activated with Intrepid_ENABLE_Boost and by default this cmake flag is not set up.

Hi Alejandro,

It is reported that the code does not comply C++ standards. Would you please to squeeze time to fix or bypass this problem for intel compilers ?

Best,

Kyungjoo


From: Christian Trott [email protected]
Sent: Thursday, March 31, 2016 12:56 PM
To: trilinos/Trilinos
Cc: Kim, Kyungjoo (-EXP)
Subject: [EXTERNAL] [trilinos/Trilinos] Intrepid2 Build errors with Intel (#254)

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&) [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/intrepid2https://github.com/orgs/trilinos/teams/intrepid2

You are receiving this because you are on a team that was mentioned.
Reply to this email directly or view it on GitHubhttps://github.com//issues/254

@crtrott
Copy link
Member Author

crtrott commented Apr 1, 2016

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.

@crtrott crtrott closed this as completed Apr 1, 2016
@crtrott crtrott changed the title Intrepid2 Build errors with Intel Intrepid2 Build errors with Intel Apr 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: Intrepid2 type: bug The primary issue is a bug in Trilinos code or tests
Projects
None yet
Development

No branches or pull requests

2 participants