Package Details: dolfin-git 20210201-1

Git Clone URL: https://aur.archlinux.org/dolfin-git.git (read-only, click to copy)
Package Base: dolfin-git
Description: C++ interface of FEniCS for ordinary and partial differential equations.
Upstream URL: https://github.com/FEniCS/dolfinx
Licenses: GPL3
Groups: fenics-git
Submitter: myles
Maintainer: heitzmann
Last Packager: heitzmann
Votes: 9
Popularity: 0.000018
First Submitted: 2013-03-22 22:40
Last Updated: 2021-02-01 14:39

Latest Comments

« First ‹ Previous ... 3 4 5 6 7 8 9 Next › Last »

myles commented on 2012-05-04 00:34

SLEPC: this works fine for me: it is found and the test passes. Maybe it is because the exports are in
/etc/profile.d/{slepc,petsc}.sh and they are only sourced when you login
MTL4: I haven't installed this yet, something about a secure certificate...
UMFPACK: The umfpack one works for me fine and the tests run.
PASTIX: N/A
SCOTCH: This is not found, although it is installed with petsc and from AUR.
PARMETIS: This is not found, although it is installed with petsc and from AUR. Did you have to set an environment variable?

For scotch and parmetis maybe dolfin needs to look harder.

kkimdev commented on 2012-05-03 22:22

1 python examples didn't work for me either for different reasons. For example, demo/pde/poisson/python/

File "/usr/lib/python2.7/site-packages/viper/viper_dolfin.py", line 134, in plot_genericfunction
data.compute_vertex_values(self.x, self.mesh)
TypeError: GenericFunction_compute_vertex_values expected 2 arguments, got 3

different examples give different errors, but not import error. However, it seems this runs c++ examples successfully.


2 Another optional package issue: during cmake CMakeLists.txt,

...
-- The following optional packages could not be found:
-- ---------------------------------------------------
-- (**) SLEPC
-- (**) MTL4
-- (**) UMFPACK
-- (**) PASTIX
-- (**) SCOTCH
...

SLEPC: We should do "export SCOTCH_DIR=/usr/petsc/arch-linux2-cxx-opt/ ", but it still says "-- SLEPc test failed".
MTL4: This is in AUR and I had it. I don't know why it couldn't find it.
UMFPACK: This is offered by either umfpack or suitesparse. I don't know why it couldn't find it.
PASTIX: This is not in AUR
SCOTCH: This is in AUR, or there is petsc downloaded version. If you wish to use the latter one, "export SCOTCH_DIR=/usr/petsc/arch-linux2-cxx-opt/" solves the problem.

kkimdev commented on 2012-05-03 22:21

python examples didn't work for me either for different reasons. For example, demo/pde/poisson/python/

File "/usr/lib/python2.7/site-packages/viper/viper_dolfin.py", line 134, in plot_genericfunction
data.compute_vertex_values(self.x, self.mesh)
TypeError: GenericFunction_compute_vertex_values expected 2 arguments, got 3

different examples give different errors, but not import error. However, it seems this runs c++ examples successfully.


Another optional package issue: during cmake CMakeLists.txt,

...
-- The following optional packages could not be found:
-- ---------------------------------------------------
-- (**) SLEPC
-- (**) MTL4
-- (**) UMFPACK
-- (**) PASTIX
-- (**) SCOTCH
...

SLEPC: We should do "export SCOTCH_DIR=/usr/petsc/arch-linux2-cxx-opt/ ", but it still says "-- SLEPc test failed".
MTL4: This is in AUR and I had it. I don't know why it couldn't find it.
UMFPACK: This is offered by either umfpack or suitesparse. I don't know why it couldn't find it.
PASTIX: This is not in AUR
SCOTCH: This is in AUR, or there is petsc downloaded version. If you wish to use the latter one, "export SCOTCH_DIR=/usr/petsc/arch-linux2-cxx-opt/" solves the problem.

myles commented on 2012-05-03 18:49

This builds but there are some missing python imports (common.py,la.py...) on trying to run a demo and it is not a PYTHONPATH problem. Maybe I will find the answer soon but any help appreciated.

myles commented on 2012-05-03 18:48

Sorry but I can't get this to work anymore, the build fails at 17% http://pastebin.com/sXcfNpgF . I think it is something to do with the version of CGAL, if I try to downgrade it then it wants an older version of Boost - looks like a can of worms.

So, I have submitted the package dolfin-bzr (http://aur.archlinux.org/packages.php?ID=58971), which builds fine, but there are some missing python imports.
Myles

Anonymous comment on 2012-03-16 06:18

Has a hard time finding dependencies also installed through AUR: e.g. PETSc
I had to modify src/dolfin-1.0.0/cmake/module/FindPETSc.cmake to even pick up petscconf.h
-- Checking for package 'PETSc'
-- PETSC_DIR is /usr/petsc
-- PETSC_ARCH is arch-linux2-cxx-opt
-- Found petscconf.h
-- Include directory /usr/include/include does not exist
-- PETSc test failed
-- PETSc could not be found. Be sure to set PETSC_DIR and PETSC_ARCH. (missing: PETSC_TEST_RUNS)

TEST_RUNS is defined in /usr/petsc/arch-linux2-cxx-opt/conf/petscvariables

Anybody have luck with this going through automatically?

Anonymous comment on 2011-11-07 21:15

Package broken: the source was relocated to:
http://launchpad.net/dolfin/1.0.x/0.9.11/+download/dolfin-0.9.11.tar.gz

Changing the path to the source is sufficient, MD5 stays the same.

Anonymous comment on 2011-09-14 12:47

New version 1.0beta is out!
Anyway I must report the very same error as lecio

Anonymous comment on 2011-08-15 20:20

Just two things:

1) Installing dolfin from AUR and trying to import the relative module in python let to the following error:

Python 2.7.2 (default, Jun 29 2011, 11:10:00)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dolfin
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/dolfin/__init__.py", line 13, in <module>
from dolfin.cppimports import *
File "/usr/lib/python2.7/site-packages/dolfin/cppimports.py", line 4, in <module>
import dolfin.cpp as cpp
File "/usr/lib/python2.7/site-packages/dolfin/cpp.py", line 30, in <module>
_cpp = swig_import_helper()
File "/usr/lib/python2.7/site-packages/dolfin/cpp.py", line 26, in swig_import_helper
_mod = imp.load_module('_cpp', fp, pathname, description)
ImportError: /usr/lib/libdolfin.so.0: undefined symbol: _ZN3MPI14Is_initializedEv


2) 'swig', 'trilinos' and 'armadillo' seem not to be necessary as dependences any more. Instead 'cgal' and 'openmpi' should be inserted.

Anonymous comment on 2011-08-15 20:17

Just two things:

1) Installing dolfin from AUR and trying to import the relative module in python let to the following error:

Python 2.7.2 (default, Jun 29 2011, 11:10:00)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dolfin
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/dolfin/__init__.py", line 13, in <module>
from dolfin.cppimports import *
File "/usr/lib/python2.7/site-packages/dolfin/cppimports.py", line 4, in <module>
import dolfin.cpp as cpp
File "/usr/lib/python2.7/site-packages/dolfin/cpp.py", line 30, in <module>
_cpp = swig_import_helper()
File "/usr/lib/python2.7/site-packages/dolfin/cpp.py", line 26, in swig_import_helper
_mod = imp.load_module('_cpp', fp, pathname, description)
ImportError: /usr/lib/libdolfin.so.0: undefined symbol: _ZN3MPI14Is_initializedEv


2) 'swig', 'trilinos' and 'armadillo' seem not to be necessary as dependences any more. Instead 'cgal' and 'openmpi' should be inserted.