<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Predrag Punosevac</strong> <span dir="auto"><<a href="mailto:predragp@andrew.cmu.edu">predragp@andrew.cmu.edu</a>></span><br>Date: Tue, Oct 15, 2019 at 2:51 PM<br>Subject: Re: Swig update Request<br>To: George Stoica <<a href="mailto:gis@andrew.cmu.edu">gis@andrew.cmu.edu</a>><br></div><br><br><div dir="ltr"><div dir="ltr">You are mixing swig from the base with python from miniconda3. I just upgraded miniconda3/python to 3.7.4 on GPU8 and I installed for you swig-3.2.1<div><br></div><div>root@gpu8$ pwd<br>/opt/miniconda3/bin<br>root@gpu8$ ./swig -version<br><br>SWIG Version 3.0.12<br><br>Compiled with x86_64-conda_cos6-linux-gnu-c++ [x86_64-conda_cos6-linux-gnu]<br><br>Configured options: +pcre<br><br>Please see <a href="http://www.swig.org" target="_blank">http://www.swig.org</a> for reporting bugs and further information<br></div><div><br></div><div><br></div><div>I am CC-ing users as I am sure you are not the only one who is confused about these things. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 15, 2019 at 12:29 PM George Stoica <<a href="mailto:gis@andrew.cmu.edu" target="_blank">gis@andrew.cmu.edu</a>> 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"><div dir="ltr">Hi Predrag,<div><br></div><div>I was using an anaconda environment with  /opt/rh/rh-python36 as the base python. I've also just tried looking at the /opt/miniconda3 environment but the swig version across both appears to be the same: 2.0.1 which is still too old to parse the FAIR makefiles. I've included a screenshot of the environment using miniconda3:</div><div><div><img src="cid:ii_k1s254bu0" alt="Screen Shot 2019-10-15 at 12.24.32 PM.png" width="531" height="247"><br></div></div><div><br></div><div>One thing I notice is that the python version in the miniconda3 - at least what I have access to - doesn't have python3.7.4. Is there something else I have to do with the environments to obtain a more recent swig?</div><div><br></div><div>Thanks,</div><div>George</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 15, 2019 at 12:42 AM Predrag Punosevac <<a href="mailto:predragp@andrew.cmu.edu" target="_blank">predragp@andrew.cmu.edu</a>> 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">Which Python are you using? You should be creating your own Python<br>
virtual environment in your scratch directory using either<br>
/opt/miniconda3 (which will give you python 3.7.4 and corresponding<br>
pip) or /opt/rh/rh-python36 (same thing). You are probably using<br>
python from the base which is quite old 2.7.5 as it is a scripting<br>
language on the Red Hat.<br>
<br>
I do not recommend using Python 2.7 branch unless you have to deal<br>
with the legacy code which is not ported to 3.7<br>
<br>
On Mon, Oct 14, 2019 at 11:49 PM George Stoica <<a href="mailto:gis@andrew.cmu.edu" target="_blank">gis@andrew.cmu.edu</a>> wrote:<br>
><br>
> Hi Predrag,<br>
><br>
> I hope everything is well.<br>
><br>
> Apologies for all these emails. I was wondering if it's possible to upgrade swig to a newer version such as 3 or the newest version 4.0.1. I am unable to install a package from FAIR due to the current swig version being too old to parse their make install command. I've tried installing it myself but I'm running into what appears to be administrator permission issues. Is is possible to upgrade it?<br>
><br>
> Thanks very much,<br>
> George<br>
</blockquote></div>
</blockquote></div></div>
</div></div>