<html>#2619: include Ellipitca (reader) in Einstein Toolkit
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>open</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></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></td></tr>
</table>

<p>Comment (by Pedro Espino):</p>
<p>Hi Roland, thank you for the guidance. We were able to write an ExternalLibraries thorn for the library in question and to compile the toolkit with this thorn by specifying the aforementioned options (INC_DIRS, LIB_DIRS, and LIBS). However, when we try to compile the separate reader thorn along with this ExternalLibrary, the compilation is facing an issue in the linking stage. Specifically, we would compile the reader code (currently being ported to a thorn) using this library using the following command:</p>
<p>gcc -o idr idr.c -fopenmp -I/path/to/INC_DIRS -L/path/to/LIB_DIRS <strong>-lelliptica_id_reader -Wl,-rpath,/path/to/LIB_DIRS -lm</strong></p>
<p>We have tried including the linker options (<strong>-lelliptica_id_reader -Wl,-rpath,/path/to/LIB_DIRS -lm</strong>) in LDFLAGS and in the LIBS environment variables during compilation, but we are still running into a compilation error during the linking stage. Is there some way to have to toolkit use these linking options to compile the reader thorn specifically?</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2619/include-ellipitca-reader-in-einstein'>https://bitbucket.org/einsteintoolkit/tickets/issues/2619/include-ellipitca-reader-in-einstein</a></p>
</html>