Swig update Request

Predrag Punosevac predragp at andrew.cmu.edu
Tue Oct 15 14:55:48 EDT 2019


---------- Forwarded message ---------
From: Predrag Punosevac <predragp at andrew.cmu.edu>
Date: Tue, Oct 15, 2019 at 2:51 PM
Subject: Re: Swig update Request
To: George Stoica <gis at andrew.cmu.edu>


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

root at gpu8$ pwd
/opt/miniconda3/bin
root at gpu8$ ./swig -version

SWIG Version 3.0.12

Compiled with x86_64-conda_cos6-linux-gnu-c++ [x86_64-conda_cos6-linux-gnu]

Configured options: +pcre

Please see http://www.swig.org for reporting bugs and further information


I am CC-ing users as I am sure you are not the only one who is confused
about these things.

On Tue, Oct 15, 2019 at 12:29 PM George Stoica <gis at andrew.cmu.edu> wrote:

> Hi Predrag,
>
> 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:
> [image: Screen Shot 2019-10-15 at 12.24.32 PM.png]
>
> 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?
>
> Thanks,
> George
>
> On Tue, Oct 15, 2019 at 12:42 AM Predrag Punosevac <
> predragp at andrew.cmu.edu> wrote:
>
>> Which Python are you using? You should be creating your own Python
>> virtual environment in your scratch directory using either
>> /opt/miniconda3 (which will give you python 3.7.4 and corresponding
>> pip) or /opt/rh/rh-python36 (same thing). You are probably using
>> python from the base which is quite old 2.7.5 as it is a scripting
>> language on the Red Hat.
>>
>> I do not recommend using Python 2.7 branch unless you have to deal
>> with the legacy code which is not ported to 3.7
>>
>> On Mon, Oct 14, 2019 at 11:49 PM George Stoica <gis at andrew.cmu.edu>
>> wrote:
>> >
>> > Hi Predrag,
>> >
>> > I hope everything is well.
>> >
>> > 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?
>> >
>> > Thanks very much,
>> > George
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.srv.cs.cmu.edu/pipermail/autonlab-users/attachments/20191015/73092fa3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2019-10-15 at 12.24.32 PM.png
Type: image/png
Size: 30614 bytes
Desc: not available
URL: <http://mailman.srv.cs.cmu.edu/pipermail/autonlab-users/attachments/20191015/73092fa3/attachment-0001.png>


More information about the Autonlab-users mailing list