Hello, Has anyone successfully compiled Cactus with REAL_PRECISION = 16? I get the following error which seems to involve the Vectors Thorn which is required for Carpet.
Checking status of thorn Vectors COMPILING CactusUtils/Vectors/src/vectors.cc<http://vectors.cc/> In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(249): error: #error directive: "Unknown CCTK_REAL_PRECISION" #error "Unknown CCTK_REAL_PRECISION" ^ In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(271): error: #error directive: "Unsupported vector size" #error "Unsupported vector size" ^ In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(811): warning #3699: constexpr non-static member function will not be implicitly 'const' in C++14 template <typename = void> constexpr vectype &operator=(vectype const &x) { ^ In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(893): warning #3699: constexpr non-static member function will not be implicitly 'const' in C++14 inline CCTK_ATTRIBUTE_ALWAYS_INLINE constexpr vectype & ^ In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(897): warning #3699: constexpr non-static member function will not be implicitly 'const' in C++14 inline CCTK_ATTRIBUTE_ALWAYS_INLINE constexpr vectype & ^ In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(901): warning #3699: constexpr non-static member function will not be implicitly 'const' in C++14 inline CCTK_ATTRIBUTE_ALWAYS_INLINE constexpr vectype & ^ In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(905): warning #3699: constexpr non-static member function will not be implicitly 'const' in C++14 inline CCTK_ATTRIBUTE_ALWAYS_INLINE constexpr vectype & ^ In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(990): warning #3699: constexpr non-static member function will not be implicitly 'const' in C++14 constexpr bvectype &operator=(bvectype const &x) { ^ In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(1035): warning #3699: constexpr non-static member function will not be implicitly 'const' in C++14 inline CCTK_ATTRIBUTE_ALWAYS_INLINE constexpr bvectype & ^ In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(1039): warning #3699: constexpr non-static member function will not be implicitly 'const' in C++14 inline CCTK_ATTRIBUTE_ALWAYS_INLINE constexpr bvectype & ^ In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(1043): warning #3699: constexpr non-static member function will not be implicitly 'const' in C++14 inline CCTK_ATTRIBUTE_ALWAYS_INLINE constexpr bvectype & ^ In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(1): /home/garrison/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h(1287): error: right operand of "%" is zero #if CCTK_REAL_CACHELINE_SIZE % CCTK_REAL_VEC_SIZE != 0 ^ /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(9): error: identifier "CCTK_REAL_VEC_SIZE" is undefined CCTK_REAL_VEC_SIZE, vec_architecture); ^ /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/>(9): error: identifier "vec_architecture" is undefined CCTK_REAL_VEC_SIZE, vec_architecture); ^ compilation aborted for /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<http://vectors.cc/> (code 2) make[4]: *** [vectors.cc.o] Error 2 make[3]: *** [make.checked] Error 2 make[2]: *** [/home/garrison/Cactus/configs/specgrmhd/lib/libthorn_Vectors.a] Error 2 make[1]: *** [specgrmhd] Error 2 make: *** [specgrmhd-rebuild] Error 2 -DG -- David Garrison, Ph.D. Interim Associate Dean for the College of Science and Engineering, Professor and Former Chair of Physics University of Houston-Clear Lake Bayou 3611 Houston, TX 77058 Tel: 281-283-3796 Fax: 281-283-3709 http://sce.uhcl.edu/garrison http://www.uhcl.edu/physics "If we knew what it was we were doing, it would not be called research, would it?" ‹ Albert Einstein. -- David Garrison, Ph.D. Interim Associate Dean for the College of Science and Engineering, Professor and Former Chair of Physics University of Houston-Clear Lake Bayou 3611 Houston, TX 77058 Tel: 281-283-3796 Fax: 281-283-3709 http://sce.uhcl.edu/garrison http://www.uhcl.edu/physics "If we knew what it was we were doing, it would not be called research, would it?" ‹ Albert Einstein.
_______________________________________________ Users mailing list [email protected] http://lists.einsteintoolkit.org/mailman/listinfo/users
