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

mapping_collection not defined #14695

Closed
VictorEijkhout opened this issue Jan 17, 2023 · 4 comments · Fixed by #14698 or #14701
Closed

mapping_collection not defined #14695

VictorEijkhout opened this issue Jan 17, 2023 · 4 comments · Fixed by #14698 or #14701

Comments

@VictorEijkhout
Copy link

/work/00434/eijkhout/dealii/dealii-9.4.1/include/deal.II/numerics/vector_tools_project.templates.h:1020:49: warning: instantiation of variable 'dealii::hp::StaticMappingQ1<1>::mapping_collection'
required here, but no definition is available [-Wundefined-var-template]
    project(hp::StaticMappingQ1<dim, spacedim>::mapping_collection,
                                                ^
/work/00434/eijkhout/dealii/dealii-9.4.1/include/deal.II/hp/mapping_collection.h:150:45: note: forward declaration of template entity is here
    static MappingCollection<dim, spacedim> mapping_collection;

Logs attached.
deal94.zip

@bangerth
Copy link
Member

@VictorEijkhout What compiler is this using? Perhaps clang 3.9?

This sounds related to #3705.

@VictorEijkhout
Copy link
Author

Intel OneAPI. See the configure log for the exact version.

@bangerth
Copy link
Member

I see, yes, this is an LLVM-based compiler, so I assume the warning is the same. Patch forthcoming.

@bangerth
Copy link
Member

The patch in #14698 didn't quite seem to fix it all. So I'm reopening it -- maybe #14701 does it.

@VictorEijkhout Would you mind trying out #14701?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants