[Users] REAL_PRECISION 16

Roland Haas rhaas at illinois.edu
Tue Jan 25 09:55:51 CST 2022


Hello David,

I doubt it will work with vectorization since we do not implement
vectors with 16 byte floating point values.

You can try setting

VECTORISE=no 

in your option list to disable vectorization which may work.

You can find the available options (not documented unfortunately) here:

https://bitbucket.org/cactuscode/cactusutils/src/master/Vectors/configuration.ccl

Yours,
Roland

> 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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >
> In file included from /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(9): error: identifier "CCTK_REAL_VEC_SIZE" is undefined
>                CCTK_REAL_VEC_SIZE, vec_architecture);
>                ^
> 
> /home/garrison/Cactus/configs/specgrmhd/build/Vectors/vectors.cc<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ >(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<https://urldefense.com/v3/__http://vectors.cc/__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9zQMxE8i$ > (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
> https://urldefense.com/v3/__http://sce.uhcl.edu/garrison__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9ysaoOwZ$ 
> https://urldefense.com/v3/__http://www.uhcl.edu/physics__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x997AmAkI$ 
> 
> "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
> https://urldefense.com/v3/__http://sce.uhcl.edu/garrison__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x9ysaoOwZ$ 
> https://urldefense.com/v3/__http://www.uhcl.edu/physics__;!!DZ3fjg!ozhila849qlggIwIhMGpE_RUVQmUe3tPjOE22SdlXTnZoFTK2ofH8o5x997AmAkI$ 
> 
> "If we knew what it was we were doing, it would not be called research,
> would it?" ‹ Albert Einstein.
> 
> 
> 
> 

-- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20220125/16317742/attachment.bin 


More information about the Users mailing list