On Tue, Mar 10, 2015 at 3:37 PM, Birgitte Maria Elisabeth Brydso <[email protected]> wrote: >>> /lap/openmpi/1.8.1/gcc-4.6/ >> >> >> Is this a module? In that case you should add "module load >> <modulename>" to PROLOGUE. See for instance some of the examples in >> hashstack. >> > > Yes. It's a module. > >> Some comments about your profile: >> >> - You should use openblas for blas and lapack since you build petsc >> and dolfin with openblas. >> - It looks like the PATH is not indented correctly. Is that on purpose? >> >> > > No, that was an error. > > After adding the module to prologue, using openblas, and indenting the PATH, > I got a bit longer. Fenics builds, I can import dolfin into python, and I no > longer get the ORTE error. It is using the correct MPI version, so that is > great, thanks! > > I now have a problem with incompatible versions of SWIG. The one installed > on the system is 2.0.4, and fenics seems to have built 2.0.11. For some > reason it then tries to use the system version during running, I think? This > is the error message I get when trying to run a short test program > bvp_01.py: > > Incompatible swig versions detected. UFC swig version is not the same as > extension module swig version: '2.0.11' != '2.0.4' > Traceback (most recent call last): > File "./bvp_01.py", line 119, in <module> > bvp_01 ( 8 ) > File "./bvp_01.py", line 47, in bvp_01 > V = FunctionSpace ( mesh, "Lagrange", 1 ) > File > "/pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/bld/profile/hztejro3ksqb/lib/python2.7/site-packages/dolfin/functions/functionspace.py", > line 456, in __init__ > FunctionSpaceBase.__init__(self, mesh, element, constrained_domain) > File > "/pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/bld/profile/hztejro3ksqb/lib/python2.7/site-packages/dolfin/functions/functionspace.py", > line 147, in __init__ > ufc_element, ufc_dofmap = jit(self._ufl_element) > File > "/pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/bld/profile/hztejro3ksqb/lib/python2.7/site-packages/dolfin/compilemodules/jit.py", > line 66, in mpi_jit > output = local_jit(*args, **kwargs) > File > "/pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/bld/profile/hztejro3ksqb/lib/python2.7/site-packages/dolfin/compilemodules/jit.py", > line 126, in jit > return jit_compile(form, parameters=p) > File > "/pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/bld/profile/hztejro3ksqb/lib/python2.7/site-packages/ffc/jitcompiler.py", > line 75, in jit > return jit_element(ufl_object, parameters) > File > "/pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/bld/profile/hztejro3ksqb/lib/python2.7/site-packages/ffc/jitcompiler.py", > line 186, in jit_element > compiled_form, module, form_data, prefix = jit_form(form, parameters) > File > "/pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/bld/profile/hztejro3ksqb/lib/python2.7/site-packages/ffc/jitcompiler.py", > line 164, in jit_form > check_swig_version(module) > File > "/pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/bld/profile/hztejro3ksqb/lib/python2.7/site-packages/ffc/jitcompiler.py", > line 86, in check_swig_version > (ufc.__swigversion__, compiled_module.swigversion)) > File "<string>", line 1, in <lambda> > File > "/pfs/nobackup/home/b/bbrydsoe/fenics_MPIMODULE_build/bld/profile/hztejro3ksqb/lib/python2.7/site-packages/ufl/log.py", > line 151, in error > raise self._exception_type(self._format_raw(*message)) > Exception: Incompatible swig versions detected. UFC swig version is not the > same as extension module swig version: '2.0.11' != '2.0.4'
What do you get when you run the following commands: $ which swig $ swig -version Also try instant-clean as suggested by Jan. > Also attaching the new version of my yaml file. Is there a specific reason that you use revision 1a97d560b12d86d8c36f8e574a1ebb3ea00067b7 of hashstack? This is from June 2014 and a lot has happened both in hashdist/hashstack and FEniCS since then. Johannes > Is there something I need to set differently in order for fenics to run with > the swig it has built? > > > > Thanks, Birgitte > > > > > > -- > Birgitte Maria E. Brydsö > HPC2N, MIT-Huset > Umeå University > SE-901 87 Umeå > > Telephone: +46(0)90-786 64 55 > Email: [email protected] > > _______________________________________________ > fenics-support mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics-support > _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
