<div dir="ltr"><div dir="ltr">Hello Dr. Haas,<div><br></div><div>Many thanks for your inputs.  Glad to tell you it worked!  I made changes in the Sconstruct file exactly as in your email and it ran fine. </div><div><br></div><div>Have a good evening!</div><div><br></div><div>- Krishiv</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 6, 2021 at 11:42 AM Roland Haas &lt;<a href="mailto:rhaas@illinois.edu">rhaas@illinois.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Krishiv,<br>
<br>
hmm, worksforme.<br>
<br>
I just gave this a try on my macOS + macports test machine.<br>
<br>
Without any changes I get the error your describe when running:<br>
<br>
scons -f SConstruct.gnu<br>
<br>
and then I changed CPPPATH to read:<br>
<br>
env[&#39;CPPPATH&#39;]  = [&#39;/usr/local/packages/gsl-2.4-gnu/include&#39;, &#39;EffSource/ScalarSchwarzschild/EffectiveSource&#39;, &#39;/opt/local/include/&#39;]<br>
<br>
and  LIBPATH to:<br>
<br>
env[&#39;LIBPATH&#39;]  = [&#39;/usr/local/packages/gsl-2.4-gnu/lib&#39;, &#39;/usr/local/packages/lapack-3.4.2-gnu&#39;, &#39;/opt/local/lib/&#39;]<br>
<br>
I also (had to) change LIBS to<br>
<br>
env[&#39;LIBS&#39;] = [&#39;stdc++&#39;, &#39;gsl&#39;, &#39;m&#39;, &#39;gslcblas&#39;, &#39;lapack&#39;, &#39;blas&#39;]<br>
<br>
ie replace refblas with blas.<br>
<br>
<br>
With that compilation and linking worked fine. Did you maybe keep the<br>
double quotes? Ie set things like so:<br>
<br>
env[&#39;CPPPATH&#39;]  = [&#39;/usr/local/packages/gsl-2.4-gnu/include&#39;, &#39;EffSource/ScalarSchwarzschild/EffectiveSource&#39;, &#39;&quot;/opt/local/include/&quot;&#39;]<br>
<br>
I am not familiar with scons though I would suggest removing the Build directory (or otherwise making sure that you start from a clean checkout).<br>
<br>
Yours,<br>
Roland<br>
<br>
&gt; Sorry kindly ignore the email below. I ran scons from the wrong location.<br>
&gt; <br>
&gt; I am still getting the same error and checking.<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On Wed, Oct 6, 2021 at 11:13 AM Krishiv Bhatia &lt;<a href="mailto:flyingunicorns5724@gmail.com" target="_blank">flyingunicorns5724@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt; <br>
&gt; &gt; Hello Dr. Haas,<br>
&gt; &gt;<br>
&gt; &gt; Many thanks for your reply.  I sincerely appreciate your time.<br>
&gt; &gt;<br>
&gt; &gt; The file is there:<br>
&gt; &gt;<br>
&gt; &gt; $ ls /opt/local/include/gsl/gsl_sf_ellint.h<br>
&gt; &gt;<br>
&gt; &gt; /opt/local/include/gsl/gsl_sf_ellint.h<br>
&gt; &gt;<br>
&gt; &gt; Per your advice, I added:<br>
&gt; &gt;  - &quot;/opt/local/include/&quot; to CPPPATH<br>
&gt; &gt;  - &quot;/opt/local/lib/&quot; to LIBPATH<br>
&gt; &gt;<br>
&gt; &gt; Now I get:<br>
&gt; &gt;<br>
&gt; &gt; $ scons<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; scons: *** No SConstruct file found.<br>
&gt; &gt;<br>
&gt; &gt; File &quot;/opt/anaconda3/lib/python3.8/site-packages/SCons/Script/Main.py&quot;,<br>
&gt; &gt; line 944, in _main<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Wed, Oct 6, 2021 at 10:14 AM Roland Haas &lt;<a href="mailto:rhaas@illinois.edu" target="_blank">rhaas@illinois.edu</a>&gt; wrote:<br>
&gt; &gt;  <br>
&gt; &gt;&gt; Hello Krishiv,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; you need to check that the include file is present eg for macports this<br>
&gt; &gt;&gt; would be (something like):<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; /opt/local/include/gsl/gsl_sf_ellint.h<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; If that is not found the you will have to edit the SConstruct file you<br>
&gt; &gt;&gt; are using to have the path &quot;/opt/local/include/&quot; in CPPPATH.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; You then likely have to add &quot;/opt/local/lib/&quot; to LIBPATH.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Maybe someone on this list has a macOS+macports SConstruct file for<br>
&gt; &gt;&gt; SelfForce1D that you could use.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Yours,<br>
&gt; &gt;&gt; Roland<br>
&gt; &gt;&gt;  <br>
&gt; &gt;&gt; &gt; Hello All,<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Appreciate if somebody can help out with this error:<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; $ scons<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; scons: Reading SConscript files ...<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; scons: done reading SConscript files.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; scons: Building targets ...<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Compiling<br>
&gt; &gt;&gt; &gt;  <br>
&gt; &gt;&gt; Build/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.o  <br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;  <br>
&gt; &gt;&gt; Src/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.cc:16:10:  <br>
&gt; &gt;&gt; &gt; fatal error: gsl/gsl_sf_ellint.h: No such file or directory<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;    16 | #include &lt;gsl/gsl_sf_ellint.h&gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;       |          ^~~~~~~~~~~~~~~~~~~~~<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; compilation terminated.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; scons: ***<br>
&gt; &gt;&gt; &gt;  <br>
&gt; &gt;&gt; [Build/EffSource/ScalarSchwarzschild/EffectiveSource/EffectiveSource-acceleration.o]  <br>
&gt; &gt;&gt; &gt; Error 1<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; scons: building terminated because of errors.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; the gsl library is already installed in my mac. I installed it both  <br>
&gt; &gt;&gt; using  <br>
&gt; &gt;&gt; &gt; MacPorts and brew<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; $ ls /usr/local/Cellar/gsl/2.7/lib/<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; libgsl.25.dylib libgsl.a libgsl.dylib libgslcblas.0.dylib libgslcblas.a<br>
&gt; &gt;&gt; &gt; libgslcblas.dylib pkgconfig<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; $ ls /opt/local/lib/*gsl*<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; /opt/local/lib/libgsl.25.dylib /opt/local/lib/libgsl.dylib<br>
&gt; &gt;&gt; &gt; /opt/local/lib/libgslcblas.a<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; /opt/local/lib/libgsl.a /opt/local/lib/libgslcblas.0.dylib<br>
&gt; &gt;&gt; &gt; /opt/local/lib/libgslcblas.dylib  <br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; My email is as private as my paper mail. I therefore support encrypting<br>
&gt; &gt;&gt; and signing email messages. Get my PGP key from <a href="https://urldefense.com/v3/__http://pgp.mit.edu__;!!DZ3fjg!qaz9T0FGF0tP2Kgg84isVT3zcCHFQcJ4tCDim02GsSFjNH0OQe2xhMtENfXnSI8a$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__http://pgp.mit.edu__;!!DZ3fjg!qaz9T0FGF0tP2Kgg84isVT3zcCHFQcJ4tCDim02GsSFjNH0OQe2xhMtENfXnSI8a$</a>  .<br>
&gt; &gt;&gt;  <br>
&gt; &gt;  <br>
<br>
<br>
<br>
-- <br>
My email is as private as my paper mail. I therefore support encrypting<br>
and signing email messages. Get my PGP key from <a href="http://pgp.mit.edu" rel="noreferrer" target="_blank">http://pgp.mit.edu</a> .<br>
</blockquote></div></div>