### (Closed) Compiling fenics 2017.1 on a bullx system

114
views
0
7 months ago by
Dear Fenics community,

I want to compile the latest stable fenics release for use on a bullx system, however I have some difficulties to do so.

First of all: obtaining the source code from git with: git clone git@bitbucket.org:fenics-project/xxx gives me the latest development version of all packages (fiat, dolfin mshr, etc). When I compile this (which I seem to be able to do, but some problems remain) and run:
fenics-version​


I get: 2017.2.0.dev0. Is there an easy way to obtain the latest stable release from fenics via git (i.e. 2017.1)? I now manually downloaded the source code of 2017.1 and compiled that, but I prefer to use git because this makes switching between versions (maybe in the future) a lot more convenient.

Secondly: after installing fiat, instant, dijitso, ufl, ffc and compiling and installing dolfin from source (I seem unable to compile mshr, but as I use an external meshing package this is acceptable), I get the following error when I try to import fenics into pyton 2.7.12:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/squicken/.local/lib/python2.7/site-packages/fenics/__init__.py", line 7, in <module>
from dolfin import *
File "/home/squicken/.local/lib/python2.7/site-packages/dolfin/__init__.py", line 17, in <module>
from . import cpp
File "/home/squicken/.local/lib/python2.7/site-packages/dolfin/cpp/__init__.py", line 43, in <module>
exec("from . import %s" % module_name)
File "<string>", line 1, in <module>
File "/home/squicken/.local/lib/python2.7/site-packages/dolfin/cpp/common.py", line 32, in <module>
_common = swig_import_helper()
File "/home/squicken/.local/lib/python2.7/site-packages/dolfin/cpp/common.py", line 28, in swig_import_helper
_mod = imp.load_module('_common', fp, pathname, description)
ImportError: /home/squicken/lib/libdolfin.so.2017.1: undefined symbol: _ZNK5boost15program_options22error_with_option_name23substitute_placeholdersERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE


What is causing this problem and is there a way I can resolve this?

Kind regards,
Sjeng

Community: FEniCS Project

This post is closed by moderator and no new answer/comment may be added.

If you have further questions about installation, please use slack channel, or mailing list. See pinned article.

written 7 months ago by Chris Richardson

git checkout 2017.1.0​