-
Notifications
You must be signed in to change notification settings - Fork 51
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
build with intel fails #240
Comments
Hi @jcwright77, What was the platform and the version of icc? Tzanio |
2020 . The constructor args seem right, so not sure why it is choking |
Bump, any ideas on this? We could use the new glvis soon. |
Hi @jcwright77, This error looks strange, and I can't reproduce it. I just build the following with
All of these worked fine for me. Any chance you can use a newer icc and/or rebuild all of the above from scratch? |
In @tzanio's instructions above there is an incorrect make flag: the MFEM GNU make build system does not use Thus, the compiler line for MFEM should be: make serial CXX=icpc -j 16 The GLVis GNU make build system uses by default the compiler used for building MFEM, so there is no need to explicitly set that, unless one wants to use a different compiler. That said, I tried building MFEM+GLVis with Intel For a parallel build, the MFEM GNU make build system expects one to set the MPI compiler wrapper through the variable make parallel MPICXX=mpic++ -j 16 With a parallel MFEM build, the GLVis build system will also pickup and use the MPI compiler used by MFEM, so again one does not need to specify a compiler explicitly. |
I will try building again. I cannot really update to the latest intel very quickly. I will try the parallel build of mfem with the parallel flag in the glvis make. |
By the way, if the problem is in building GLVis with Intel then you can probably just use |
Thanks I may try that. Most of our software stack is built with intel so if any of that is used the final link has to be with intel. |
Sorry, copy+paste error -- it is indeed |
I might try that. Of course glvis now has a few dependencies as well.
…-john
On Sep 9, 2022, at 9:43 PM, Veselin Dobrev ***@***.***> wrote:
By the way, if the problem is in building GLVis with Intel then you can probably just use g++ to build a serial MFEM version just for use with GLVis that is also built with g++. Such a build of GLVis should still work fine with apps build with parallel MFEM builds with Intel compiler. The only requirement is that if you enable MFEM_USE_GNUTLS=YES in the parallel build, you should also enable it in the serial build.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
@jcwright77, were you able to resolve this? |
Trying to get back to it. With each build taking to so it’s taking a while.
…-john
On Sep 18, 2022, at 11:24 AM, Tzanio Kolev ***@***.***> wrote:
@jcwright77, were you able to resolve this?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
building plain serial mfem with g++ and glvis on top of that worked. May be a compiler bug in intel 2020. |
when I have time I'll try a few build with inte 2021 |
lib/gltf.hpp(109): error: the generated default constructor for "glTF_Builder::struct_pbrMetallicRoughness" cannot be used in an initializer for its own data member
{ false, "pbrMetallicRoughness", {} };
^
detected during implicit generation of "glTF_Builder::struct_texture_info::struct_texture_info()" at line 10222
The text was updated successfully, but these errors were encountered: