Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - dolfin-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: dolfin-git 20151005-1

Git Clone URL: https://aur-dev.archlinux.org/dolfin-git.git (read-only)
Package Base: dolfin-git
Description: the C++/Python interface of FEniCS, providing a consistent PSE (Problem Solving Environment) for ordinary and partial differential equations.
Upstream URL: https://bitbucket.org/fenics-project/dolfin
Licenses: LGPL
Groups: fenics-git
Conflicts: dolfin
Submitter: myles
Maintainer: myles
Last Packager: myles
Votes: 7
Popularity: 0.000410
First Submitted: 2013-03-22 22:40
Last Updated: 2015-11-19 23:30

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

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.

toffyrn commented on 2011-02-07 20:31

The file "cmake/modules/FindArmadillo.cmake" uses a deprecated method "rand". Find/replace the four occurences to the new method "randu" and it detects armadillo, and compiles.

Should armadillo be a required dependency?