[firedrake] firedrake testing

Ham, David A david.ham at imperial.ac.uk
Mon Dec 23 11:56:26 GMT 2019


Dear Smail,

It looks like your installation may have failed. Can you please provide the file firedrake-install.log which will have been generated in the directory where you ran the install script.

Regards,

David

Sent from my iPhone

On 22 Dec 2019, at 18:18, Smail Merabet <merabetsmail at gmail.com> wrote:



Dear firedrake users,

I am trying to test the installation, but I get the following error message

(base) MacBook-Pro-de-Merabet:~ merabet$ unset PETSC_DIR

(base) MacBook-Pro-de-Merabet:~ merabet$ unset PETSC_ARCH

(base) MacBook-Pro-de-Merabet:~ merabet$ source /Users/merabet/firedrake/bin/activate

(firedrake) (base) MacBook-Pro-de-Merabet:~ merabet$ cd Desktop/Firedrake/

(firedrake) (base) MacBook-Pro-de-Merabet:Firedrake merabet$ python helmholtz.py

Traceback (most recent call last):

  File "helmholtz.py", line 51, in <module>

    from firedrake import *

  File "/Users/merabet/firedrake/src/firedrake/firedrake/__init__.py", line 19, in <module>

    import firedrake.petsc as petsc

  File "/Users/merabet/firedrake/src/firedrake/firedrake/petsc.py", line 4, in <module>

    petsc4py.init(sys.argv)

  File "/Users/merabet/firedrake/lib/python3.7/site-packages/petsc4py/__init__.py", line 42, in init

    PETSc = petsc4py.lib.ImportPETSc(arch)

  File "/Users/merabet/firedrake/lib/python3.7/site-packages/petsc4py/lib/__init__.py", line 29, in ImportPETSc

    return Import('petsc4py', 'PETSc', path, arch)

  File "/Users/merabet/firedrake/lib/python3.7/site-packages/petsc4py/lib/__init__.py", line 73, in Import

    module = import_module(pkg, name, path, arch)

  File "/Users/merabet/firedrake/lib/python3.7/site-packages/petsc4py/lib/__init__.py", line 58, in import_module

    with f: return imp.load_module(fullname, f, fn, info)

  File "/Users/merabet/opt/anaconda3/lib/python3.7/imp.py", line 242, in load_module

    return load_dynamic(name, filename, file)

  File "/Users/merabet/opt/anaconda3/lib/python3.7/imp.py", line 342, in load_dynamic

    return _load(spec)

ImportError: dlopen(/Users/merabet/firedrake/lib/python3.7/site-packages/petsc4py/lib/default/PETSc.cpython-37m-darwin.so<http://petsc.cpython-37m-darwin.so/>, 2): Library not loaded: @rpath/libmpi.12.dylib

  Referenced from: /Users/merabet/firedrake/lib/python3.7/site-packages/petsc4py/lib/default/PETSc.cpython-37m-darwin.so<http://petsc.cpython-37m-darwin.so/>

  Reason: image not found

(firedrake) (base) MacBook-Pro-de-Merabet:Firedrake merabet$



Thanks

_______________________________________________
firedrake mailing list
firedrake at imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the firedrake mailing list