On Sun, Apr 13, 2014 at 3:09 AM, Mike Sussman <[email protected]> wrote: > > I just upgraded from Kubuntu 13.04 to 13.10, primarily because 13.04 is too > old to be supported and I am worried about security other support. > > Now fenics doesn't work anymore, and I need help recovering. > > After the upgrade, I followed the instructions on the fenics download page: > > sudo add-apt-repository ppa:fenics-packages/fenics > sudo apt-get update > sudo apt-get install fenics > sudo apt-get dist-upgrade > > Then I tried one of the fenics demos and I see the following errors: > % python d1_p2D.py > *** > ------------------------------------------------------------------------- > > *** Warning: UnitSquare has been deprecated in DOLFIN version 1.1.0. > *** The class UnitSquare has been replaced by UnitSquareMesh. > *** > ------------------------------------------------------------------------- > > > Traceback (most recent call last): > File "d1_p2D.py", line 16, in <module> > V = FunctionSpace(mesh, 'Lagrange', 1) > File "/usr/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", > line 403, in __init__ > > FunctionSpaceBase.__init__(self, mesh, element, constrained_domain) > File "/usr/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", > line 84, in __init__ > ufc_element, ufc_dofmap = jit(self._ufl_element) > > File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line > 60, in mpi_jit > return local_jit(*args, **kwargs) > File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line > 122, in jit > > return jit_compile(form, parameters=p, common_cell=common_cell) > File "/usr/lib/python2.7/dist-packages/ffc/jitcompiler.py", line 76, in > jit > return jit_element(ufl_object, parameters) > File "/usr/lib/python2.7/dist-packages/ffc/jitcompiler.py", line 252, in > jit_element > > compiled_form, module, form_data, prefix = jit_form(form, parameters) > File "/usr/lib/python2.7/dist-packages/ffc/jitcompiler.py", line 175, in > jit_form > module_name = "ffc_form_" + jit_object.signature() > > File "/usr/lib/python2.7/dist-packages/ffc/jitobject.py", line 91, in > signature > swig_signature = str(get_swig_version()) > File "/usr/lib/python2.7/dist-packages/instant/config.py", line 47, in > get_swig_version > > result, output = get_status_output("%s -version"%get_swig_binary()) > File "/usr/lib/python2.7/dist-packages/instant/output.py", line 82, in > get_status_output > pipe = Popen(cmd, shell=False, cwd=cwd, env=env, stdout=PIPE, > stderr=STDOUT) > > File "/usr/lib/python2.7/subprocess.py", line 709, in __init__ > errread, errwrite) > File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child > raise child_exception > OSError: [Errno 2] No such file or directory > > > Forgive me, but I cannot see what file is missing. Please help me recover.
I think the problem here is the file dolfin_parameters.xml in the tutorial examples. This file defines some swig parameters that won't work on all setups. Removing these swig related parameters in dolfin_parameters.xml should fix this issue. Johannes _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
