I tried to compile AMRvis setting AMREX_HOME to point correctly to the location of my AMREX source (version from both last October and last month) and added their headers and libs to CFLAGS and LDFLAGS respectively. When trying to compile, I run into the following issue:
In file included from ./ArrayView.H(12),
from AmrVisTool.cpp(39):
./DatasetClient.H(38): error: identifier "MultiFab" is undefined
bool ArrayViewMultiFabElement(MultiFab *multifab, int element);
This seems to be the case because in the amrex headers, this class is located in the amrex namespace, while amrvis is not referring to this namespace when using MultiFab ... thus seemingly rendering this version of amrvis incompatible with the versions of amrex I used.
Is there any advice on which version of amrex to use to successfully compile amrvis?
Hi,
I tried to compile AMRvis setting AMREX_HOME to point correctly to the location of my AMREX source (version from both last October and last month) and added their headers and libs to CFLAGS and LDFLAGS respectively. When trying to compile, I run into the following issue:
In file included from ./ArrayView.H(12), from AmrVisTool.cpp(39): ./DatasetClient.H(38): error: identifier "MultiFab" is undefined bool ArrayViewMultiFabElement(MultiFab *multifab, int element);
This seems to be the case because in the amrex headers, this class is located in the amrex namespace, while amrvis is not referring to this namespace when using MultiFab ... thus seemingly rendering this version of amrvis incompatible with the versions of amrex I used.
Is there any advice on which version of amrex to use to successfully compile amrvis?
Thanks in advance, Jascha