<html>#2747: Inclusion of sgrid importer in Einstein Toolkit
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Samuel Cupp</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td>ET_2023_11</td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>enhancement</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>

<p>Comment (by Samuel Cupp):</p>
<p>When I try to compile, I get errors like</p>
<div class="codehilite"><pre><span></span><span>/usr/bin/ld: /home/sam/grav/toolkit/tmp/Cactus/configs/sim/scratch/external/SGRID/lib/libsgrid.a(Coordinates.o): in function `xyz_of_AnsorgNS':</span>
<span>Coordinates.c:(.text+0xa48e): undefined reference to `GOMP_critical_name_start'</span>
<span>/usr/bin/ld: Coordinates.c:(.text+0xa4dc): undefined reference to `GOMP_critical_name_end'</span>
<span>/usr/bin/ld: Coordinates.c:(.text+0xac01): undefined reference to `GOMP_critical_name_start'</span>
<span>/usr/bin/ld: /home/sam/grav/toolkit/tmp/Cactus/configs/sim/scratch/external/SGRID/lib/libsgrid.a(Coordinates.o): in function `dABphi_dxyz_AnsorgNS':</span>
<span>Coordinates.c:(.text+0xb8cc): undefined reference to `GOMP_critical_name_start'</span>
<span>/usr/bin/ld: Coordinates.c:(.text+0xb91c): undefined reference to `GOMP_critical_name_end'</span>
<span>/usr/bin/ld: Coordinates.c:(.text+0xd14c): undefined reference to `GOMP_critical_name_start'</span>
<span>/usr/bin/ld: /home/sam/grav/toolkit/tmp/Cactus/configs/sim/scratch/external/SGRID/lib/libsgrid.a(Coordinates.o): in function `xyz_of_AnsorgNS':</span>
<span>Coordinates.c:(.text+0xac9b): undefined reference to `GOMP_critical_name_end'</span>
<span>/usr/bin/ld: /home/sam/grav/toolkit/tmp/Cactus/configs/sim/scratch/external/SGRID/lib/libsgrid.a(Coordinates.o): in function `dABphi_dxyz_AnsorgNS':</span>
<span>Coordinates.c:(.text+0xd27b): undefined reference to `GOMP_critical_name_end'</span>
<span>/usr/bin/ld: /home/sam/grav/toolkit/tmp/Cactus/configs/sim/scratch/external/SGRID/lib/libsgrid.a(DNSgrid.o): in function `Interp_Var_From_Grid1_To_Grid2_star._omp_fn.0':</span>
<span>DNSgrid.c:(.text+0x205): undefined reference to `omp_get_num_threads'</span>
<span>/usr/bin/ld: DNSgrid.c:(.text+0x20c): undefined reference to `omp_get_thread_num'</span>
</pre></div>


<p>Is ExternalLibraries/SGRID not properly hooking into the OMP in the toolkit?</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2747/inclusion-of-sgrid-importer-in-einstein'>https://bitbucket.org/einsteintoolkit/tickets/issues/2747/inclusion-of-sgrid-importer-in-einstein</a></p>
</html>