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
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to