<html><p>Hi Fatemeh,</p><p>The thorns you've disabled in the thornlist are responsible for the import of the data in the ADMBase / Hydrobase variables and interact directly with the FUKA exporters (in the bundled/separate FUKA installation). As such, they are necessary to import FUKA ID and simultaneously independent of the thorns you use for subsequent evolution.</p><p>The kadathimport thorn provides the headers for the import functions for specific initial data, whose implementation is then linked from libkadath.a. </p><p>I would recommend that you uncomment the thorns in the thornlist, recompile (kadath library linking is still governed by the .cfg file, which shouldn't change) and re-enable the thorns in the parameter file so that they're active and the ETK can schedule the import routines in the appropriate bins.</p><p>I was actually unaware that bnsanalysis and related analysis thorns depend on the kadath importer thorns. Is this a custom extension or is it possible that some other thorn lists them as depencencies? </p><p>In any case, doing the above should help.</p><p>Best regards</p><p>Konrad</p><p><br><br>W dniu: Czwartek, Wrzesień 04, 2025 17:02 CEST, Fatemeh Hossein Nouri <f.h.noori@gmail.com> napisał(a):<br><br> </p><blockquote type="cite" cite="CAEFxYT7f2=GXYuESMV+-40KLiRzCXqpHGbX2+D+kCshcSdkAHg@mail.gmail.com"><div dir="ltr"><p><span style="color:#000000;font-family:arial, sans-serif;">Hi all, </span></p><div><p><span style="color:#000000;font-family:arial, sans-serif;">I’ve been trying to run Spritz using initial data generated by the latest version of FUKA for a BNS simulation, but I’ve run into issues related to the Kadath libraries.</span></p><p><span style="color:#000000;font-family:arial, sans-serif;">At first, I was getting a mismatch error (<code>Assertion ndim==nbr_points.get_ndim()</code>), which suggests an incompatibility between Spritz’s bundled Kadath and the external version of FUKA/Kadath I used to generate the initial data.</span></p><p><span style="color:#000000;font-family:arial, sans-serif;">To fix this, I tried to build Spritz against my own external Kadath installation (<code>~/fuka/lib/libkadath.a</code>) instead of the one bundled in the Einstein Toolkit. I did this by disabling these thorns in my thornlist: <span style="font-variant-ligatures:no-common-ligatures;">Fuka/kadath_pizza, Fuka/KadathImporter and Fuka/KadathThorn. I also added the following lines to my ET_2024_05/Cactus/simfactory/mdb/optionlists/<machine>.cfg</span></span></p><p><span style="color:#000000;font-family:arial, sans-serif;">KADATH_DIR = $(HOME)/fuka</span></p><p class="gmail-p1" style="font-feature-settings:normal;font-kerning:auto;font-size-adjust:none;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;margin:0px;"><span style="color:#000000;font-family:arial, sans-serif;"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;">KADATH_INC_DIRS</span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;"> = $(KADATH_DIR)/include</span></span></p><p> </p><p class="gmail-p1" style="font-feature-settings:normal;font-kerning:auto;font-size-adjust:none;font-stretch:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-variant-numeric:normal;line-height:normal;margin:0px;"><span style="color:#000000;font-family:arial, sans-serif;"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;">KADATH_LIB_DIRS</span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;"> = </span><span style="font-variant-ligatures:no-common-ligatures;">$(KADATH_DIR)/lib</span></span></p><p class="gmail-p1" style="font-feature-settings:normal;font-kerning:auto;font-size-adjust:none;font-stretch:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-variant-numeric:normal;line-height:normal;margin:0px;"><br> </p><p class="gmail-p1" style="font-feature-settings:normal;font-kerning:auto;font-size-adjust:none;font-stretch:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-variant-numeric:normal;line-height:normal;margin:0px;"><span style="color:#000000;font-family:arial, sans-serif;"><span style="font-variant-ligatures:no-common-ligatures;">One question so far: Did I do things correctly?</span></span></p><p class="gmail-p1" style="font-feature-settings:normal;font-kerning:auto;font-size-adjust:none;font-stretch:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-variant-numeric:normal;line-height:normal;margin:0px;"><br> </p><p class="gmail-p1" style="font-feature-settings:normal;font-kerning:auto;font-size-adjust:none;font-stretch:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-variant-numeric:normal;line-height:normal;margin:0px;"><span style="color:#000000;font-family:arial, sans-serif;"><span style="font-variant-ligatures:no-common-ligatures;">Then I removed the old Kadath:</span></span></p><p class="gmail-p1" style="font-feature-settings:normal;font-kerning:auto;font-size-adjust:none;font-stretch:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-variant-numeric:normal;line-height:normal;margin:0px;"><br> </p><p class="gmail-p1" style="font-feature-settings:normal;font-kerning:auto;font-size-adjust:none;font-stretch:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-variant-numeric:normal;line-height:normal;margin:0px;"> </p><p class="gmail-p1" style="font-feature-settings:normal;font-kerning:auto;font-size-adjust:none;font-stretch:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-variant-numeric:normal;line-height:normal;margin:0px;"><span style="color:#000000;font-family:arial, sans-serif;"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;">rm -rf configs/Spritz_LORENE/build/</span><span style="font-variant-ligatures:no-common-ligatures;">Kadath</span></span></p><p><span style="color:#000000;font-family:arial, sans-serif;">The code compiles fine, but when I try to run the executable with my parameter file, using the '-S' option, I get:</span></p><div class="gmail-contain-inline-size gmail-rounded-2xl gmail-relative gmail-bg-token-sidebar-surface-primary"><div class="gmail-sticky gmail-top-9"><div class="gmail-absolute end-0 gmail-bottom-0 gmail-flex gmail-h-9 gmail-items-center gmail-pe-2"><div class="gmail-bg-token-bg-elevated-secondary gmail-text-token-text-secondary gmail-flex gmail-items-center gmail-gap-4 gmail-rounded-sm gmail-px-2 gmail-font-sans gmail-text-xs"> </div></div></div><div class="gmail-overflow-y-auto gmail-p-4" dir="ltr"><span style="color:#000000;font-family:arial, sans-serif;"><code class="gmail-whitespace-pre!">Error: Thorn kadathimporter <span class="gmail-hljs-keyword">not</span> <span class="gmail-hljs-built_in">found</span>
Error: Thorn kadaththorn <span class="gmail-hljs-keyword">not</span> <span class="gmail-hljs-built_in">found</span>
Activation failed - <span class="gmail-hljs-number">2</span> errors <span class="gmail-hljs-keyword">in</span> activation <span class="gmail-hljs-keyword">sequence</span>
</code></span></div></div><p><span style="color:#000000;font-family:arial, sans-serif;">The confusing part is that my <code>ActiveThorns</code> line in the <code>.par</code> file does not explicitly list <code>KadathThorn</code> or <code>KadathImporter</code>:</span></p><div class="gmail-contain-inline-size gmail-rounded-2xl gmail-relative gmail-bg-token-sidebar-surface-primary"><div class="gmail-sticky gmail-top-9"><div class="gmail-absolute end-0 gmail-bottom-0 gmail-flex gmail-h-9 gmail-items-center gmail-pe-2"><div class="gmail-bg-token-bg-elevated-secondary gmail-text-token-text-secondary gmail-flex gmail-items-center gmail-gap-4 gmail-rounded-sm gmail-px-2 gmail-font-sans gmail-text-xs"> </div></div></div><div class="gmail-overflow-y-auto gmail-p-4" dir="ltr"><span style="color:#000000;font-family:arial, sans-serif;"><code class="gmail-whitespace-pre! gmail-language-ccl">ActiveThorns = "volomnia bnstrackergen bnsanalysis pizzanumutils"
</code></span></div></div><p><span style="color:#000000;font-family:arial, sans-serif;">Yet Spritz fails because those thorns are missing. From what I understand, some of the thorns I’m using (like <code>volomnia</code>, <code>bnstrackergen</code>, or <code>bnsanalysis</code>) depend on <code>KadathThorn</code> and <code>KadathImporter</code>, so they are indirectly required.</span></p><p><span style="color:#000000;font-family:arial, sans-serif;">The core problem:</span></p><p><span style="color:rgb(0,0,0);font-family:arial,sans-serif;">- I need to keep </span><code style="color:rgb(0,0,0);">KadathThorn</code><span style="color:rgb(0,0,0);font-family:arial,sans-serif;"> and </span><code style="color:rgb(0,0,0);">KadathImporter</code><span style="color:rgb(0,0,0);font-family:arial,sans-serif;"> active, since my parameter file requires them through dependencies.</span></p><p><span style="color:rgb(0,0,0);font-family:arial,sans-serif;">- But I also need them to link against my external Kadath (</span><code style="color:rgb(0,0,0);">~/fuka/lib/libkadath.a</code><span style="color:rgb(0,0,0);font-family:arial,sans-serif;">) so that the FUKA initial data is compatible.</span></p><p><span style="color:#000000;font-family:arial, sans-serif;">Would you have suggestions on the cleanest way to make the ET <code>KadathThorn</code> and <code>KadathImporter</code> use my external Kadath library? Is there a recommended workflow for this?</span></p><p><span style="color:rgb(0,0,0);font-family:arial,sans-serif;">Thanks in advance for your help!</span></p><p><span style="color:rgb(0,0,0);font-family:arial,sans-serif;">Bests,</span></p><p><span style="color:rgb(0,0,0);font-family:arial,sans-serif;">Fatemeh Nouri</span></p><p><br> </p></div></div></blockquote><p><br><br><br> </p></html>