On Sat, Dec 13, 2014 at 1:23 AM, Jacobson, Clas A          UTSCE
<[email protected]> wrote:
> I am failing the same way...
>
> I tried a suggestion from Johannes but did not work...in the /tmp file the
> Python points to the system Python...which seems odd...
>
> Still very willing to try suggestions...

Good! I will try to get back to you on this tomorrow.

Johannes

>
>
> Clas A. Jacobson
> Chief Scientist
> United Technologies Systems & Controls Engineering
> [email protected]
> 860.830.4151
>
> -----Original Message-----
> From: Ted Kord [[email protected]]
> Sent: Friday, December 12, 2014 04:43 PM Eastern Standard Time
> To: Johannes Ring
> Cc: Jacobson, Clas A UTSCE; [email protected]
> Subject: Re: [External] Re: [FEniCS] New improved fenics-install.sh
>
> I upgraded to OSX 10.10.1 and tried again with the same results. I've
> attached the build log file.
>
> On 11 December 2014 at 20:05, Ted Kord <[email protected]> wrote:
>>
>> Johannes, I just tried your suggestion and got:
>>
>> Traceback (most recent call last):
>>
>>   File "<string>", line 1, in <module>
>>
>> ImportError: No module named numpy
>>
>>
>> So, it didn't work for me.
>>
>>
>>
>> On 11 December 2014 at 09:11, Johannes Ring <[email protected]> wrote:
>>>
>>> On Wed, Dec 10, 2014 at 5:00 PM, Jacobson, Clas A          UTSCE
>>> <[email protected]> wrote:
>>> > Let me know when you have something to try.
>>>
>>> Well, it did work for me but I don't have gfortran, so I'm not sure if
>>> it will work for you. If you want to try, you can do the following:
>>>
>>> Start by running the install script and let it finish to it fails. At
>>> the top you should see something like this:
>>>
>>>   Created temporary directory /tmp/fenics-install.IBpSlG for FEniCS
>>> installation.
>>>
>>>  Enter this temporary directory
>>>
>>>   cd /tmp/fenics-install.IBpSlG/hashstack
>>>
>>> and create a new file test.numpy.yaml in this directory with the
>>> following contents:
>>>
>>>   extends:
>>>   - file: osx.yaml
>>>   packages:
>>>     launcher:
>>>     python:
>>>       link: shared
>>>     blas:
>>>       use: host-osx-framework-accelerate
>>>     lapack:
>>>       use: host-osx-framework-accelerate
>>>     numpy:
>>>
>>> Now, build this profile by running
>>>
>>>   ../hashdist/bin/hit build test.numpy.yaml
>>>
>>> Finally, try to import numpy:
>>>
>>>   ./test.numpy/bin/python -c "import numpy"
>>>
>>> Does that work?
>>>
>>> > Strange last night - I "lost" hashdist (hit command). I reinstalled -
>>> > but I do not seem to have the same directories (but the same failure when
>>> > trying to build fenics...). There does not seem to be a "reinstall" for
>>> > hashdist.
>>>
>>> The script downloads hashdist to a temporary directory
>>> /tmp/fenics-install.XXXXXX (where XXXXXX is some random characters),
>>> which will be removed if you restart the machine. You didn't loose the
>>> hit command, you just forgot that it wasn't in your PATH and that you
>>> had to do ../hashdist/bin/hit from the hashstack directory.
>>>
>>> > No obvious issue now - but this does not seem that robust right now.
>>>
>>> Well, I think you have been a bit unlucky. Let us know how the above
>>> work for you.
>>>
>>> Johannes
>>
>>
>>
>>
>> --
>> Best regards,
>>
>> Theodore
>>
>
>
>
> --
> Best regards,
>
> Theodore
>
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to