SAMRAI
SAMRAI copied to clipboard
error: an attribute list cannot appear here
when trying to compile with umpire and raja
In file included from /path/to/samrai/master/include/SAMRAI/tbox/AsyncCommPeer.C:23:
/path/to/umpire/master/include/umpire/strategy/DynamicPool.hpp:15:1: error: an attribute list cannot appear here
UMPIRE_DEPRECATE_ALIAS("use QuickPool instead")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/path/to/umpire/master/include/umpire/util/Macros.hpp:119:37: note: expanded from macro 'UMPIRE_DEPRECATE_ALIAS'
#define UMPIRE_DEPRECATE_ALIAS(Msg) [[deprecated(Msg)]]
^~~~~~~~~~~~~~~~~~~
compiler
clang version 10.0.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/chain/clang_10.0.1/bin
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.5.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.5.0
Candidate multilib: .;@m64
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda-10.1, version 10.1
reference: https://github.com/LLNL/SAMRAI/blob/d84e4e7a6d08e065a589708edc4949c97fa1c8ab/source/SAMRAI/tbox/AsyncCommPeer.C#L23
We have switched from DynamicPool to QuickPool, as DynamicPool has bee deprecated by umpire. https://github.com/LLNL/SAMRAI/pull/185