<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
That makes sense. It will take me a little time to change the source code but I can try it out. I think this is something that should be included in future versions of Cactus so extra code modifications aren’t needed.
<div class=""><br class="">
</div>
<div class="">-DG<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 25, 2022, at 10:53 AM, Roland Haas <<a href="mailto:rhaas@illinois.edu" class="">rhaas@illinois.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hello David,<br class="">
<br class="">
<blockquote type="cite" class="">It still looks like the Vectors Thorn is required to Carpet to work.<br class="">
Is there a way to not compile this Thorn and still have Carpet work?<br class="">
</blockquote>
Hmm, I have not tried this out actually. <br class="">
<br class="">
VECTORISE=no<br class="">
<br class="">
is an option to the vector's thorn which tells it to not use any simd<br class="">
vectorization but just plain scalars. So the thorn is present, making<br class="">
CarpetLib happy. But Vectors (see below) may not compile.<br class="">
<br class="">
When using VECTORISE=no it should be possible to compile even<br class="">
with CCTK_REAL being extended precision (16 bytes), though it is<br class="">
possible that there are explicit checks for the CCTK_REAL width even in<br class="">
that case in the code.<br class="">
<br class="">
The good news is that, in that case only, one should be able to change<br class="">
the source code to make things compile by (worst case) add a specific<br class="">
sizeof(CCTK_REAL) == 16 case and using "long double" instead of<br class="">
"double" for the type of variable.<br class="">
<br class="">
Looking at the source code of Vectors one probably has to duplicate<br class="">
vectors-8-default.h into vectors-16-default.h and add a branch for<br class="">
CCTK_REAL_PRECISION_16 to vectors.h.<br class="">
<br class="">
Does this explanation make sense to you and gives you an idea how you<br class="">
could change the code?<br class="">
<br class="">
Yours,<br class="">
Roland<br class="">
<br class="">
-- <br class="">
My email is as private as my paper mail. I therefore support encrypting<br class="">
and signing email messages. Get my PGP key from <a href="http://pgp.mit.edu" class="">
http://pgp.mit.edu</a> .<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
-- <br class="">
David Garrison, Ph.D.<br class="">
Interim Associate Dean for the College of Science and Engineering, Professor and Former Chair of Physics<br class="">
University of Houston-Clear Lake<br class="">
Bayou 3611<br class="">
Houston, TX 77058 <br class="">
<br class="">
Tel: 281-283-3796 <br class="">
Fax: 281-283-3709 <br class="">
<a href="http://sce.uhcl.edu/garrison" class="">http://sce.uhcl.edu/garrison</a><br class="">
http://www.uhcl.edu/physics<br class="">
<br class="">
"If we knew what it was we were doing, it would not be called research,<br class="">
would it?" ‹ Albert Einstein.<br class="">
<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
</body>
</html>