We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I attempt to compile the LyA project with Reeber enabled on the Nyx development branch, GCC gives me the following error:
LyA
../../Util/reeber/src/reeber.cpp:433:98: error: no matching function for call to ‘FabComponentBlock<double, 3>::FabComponentBlock(diy::GridRef<double, 3>&, std::vector<std::__cxx11::basic_string<char> >&, std::vector<diy::GridRef<double, 3>, std::allocator<diy::GridRef<double, 3> > >&, int&, int&, const diy::DiscreteBounds&, diy::AMRLink::Bounds&, diy::AMRLink::Bounds&, int, AMRLink*&, const Real&, const bool&, bool, const Real&)’ 433 | new_link, absolute_rho, negate, /*absolute = */ true, cell_volume), | ^
If I use clangd to lint the code, I get the following on line 430:
No matching constructor for initialization of 'Block' (aka 'FabComponentBlock<double, 3>')
The text was updated successfully, but these errors were encountered:
For reference, lines 430-433 of reeber.cpp can be found here.
reeber.cpp
Sorry, something went wrong.
For reference, I have attached the makefile I am using: GNUmakefile.txt.
I compiled in the Exec/LyA directory with make -f GNUmakefile.txt -jN, where N is the number of compile threads.
Exec/LyA
make -f GNUmakefile.txt -jN
N
EDIT: Also, in subprojects/amrex/Tools/GNUMake/Make.local, I set the compiler to GCC 13 and the include path to MPICH:
subprojects/amrex/Tools/GNUMake/Make.local
ifneq ($(USE_CUDA),TRUE) CXX := g++-13 CC := gcc-13 endif CXXFLAGS := -I /usr/lib64/mpi/gcc/mpich/include
Successfully merging a pull request may close this issue.
When I attempt to compile the
LyA
project with Reeber enabled on the Nyx development branch, GCC gives me the following error:If I use clangd to lint the code, I get the following on line 430:
No matching constructor for initialization of 'Block' (aka 'FabComponentBlock<double, 3>')
The text was updated successfully, but these errors were encountered: