<div dir="ltr"><font face="arial, sans-serif" color="#000000">Hi all, </font><div><p><font face="arial, sans-serif" color="#000000">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.</font></p><p><font face="arial, sans-serif" color="#000000">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.</font></p><p><font face="arial, sans-serif" color="#000000">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, </span><span style="font-variant-ligatures:no-common-ligatures">Fuka/KadathImporter and </span><span style="font-variant-ligatures:no-common-ligatures">Fuka/KadathThorn. I also added the following lines to my </span><span style="font-variant-ligatures:no-common-ligatures">ET_2024_05/Cactus/simfactory/mdb/optionlists/<machine>.cfg</span></font></p>





<p><font face="arial, sans-serif" color="#000000">KADATH_DIR = $(HOME)/fuka</font></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-weight:normal;font-stretch:normal;line-height:normal"><font face="arial, sans-serif" color="#000000"><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></font></p><p>






</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal"><font face="arial, sans-serif" color="#000000"><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)</span><span style="font-variant-ligatures:no-common-ligatures">/lib</span></font></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000"><br></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000">One question so far: Did I do things correctly?</font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000"><br></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000">Then I removed the old Kadath:</font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000"><br></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal">





</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal"><font face="arial, sans-serif" color="#000000"><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></font></p>





<p><font face="arial, sans-serif" color="#000000">The code compiles fine, but when I try to run the executable with my parameter file, using the '-S' option, I get:</font></p>
<pre class="gmail-overflow-visible!"><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"><code class="gmail-whitespace-pre!"><font face="arial, sans-serif" color="#000000">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>
</font></code></div></div></pre>
<p><font face="arial, sans-serif" color="#000000">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>:</font></p>
<pre class="gmail-overflow-visible!"><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"><code class="gmail-whitespace-pre! gmail-language-ccl"><font face="arial, sans-serif" color="#000000">ActiveThorns = "volomnia bnstrackergen bnsanalysis pizzanumutils"
</font></code></div></div></pre>
<p><font face="arial, sans-serif" color="#000000">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 style="">KadathThorn</code> and <code style="">KadathImporter</code>, so they are indirectly required.</font></p>
<p><font face="arial, sans-serif" color="#000000">The core problem:</font></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><font face="arial, sans-serif" color="#000000">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?</font></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><span style="color:rgb(0,0,0);font-family:arial,sans-serif"><br></span></p></div>





</div>