On Thu, 5 Feb 2015 15:44:35 +0100 (CET)
Birgitte Maria Elisabeth Brydso <[email protected]> wrote:

> >> I have no idea what is going on. Any ideas?
> >
> > Sure, you have to look into CMake logs what's going wrong
> > 
> /afs/hpc2n.umu.se/home/b/bbrydsoe/.hashdist/tmp/vtk-izqbwqpiwzwf/_build/CMakeFiles/CMakeOutput.log
> > /afs/hpc2n.umu.se/home/b/bbrydsoe/.hashdist/tmp/vtk-izqbwqpiwzwf/_build/CMakeFiles/CMakeError.log
> >
> > In case of troubles you can post the files (or just relevant
> > content) here.
> >
> > BTW, do you need visualization facilities in DOLFIN on cluster
> > installation at all? You could just remove VTK from hashdist
> > profile.
> >
> >
> 
> I looked in CMakeError.log. It looks as if it is not finding the 
> pthreads library, which is odd.
> 
> Anyway, I tried to compile without vtk, and it got a little further

You're almost done. PyDOLFIN modules are the very last step of the
build.

> now. It starts building dolfin, actually, but does not complete. This
> is the tail of build.sh:
> 
> 2015/02/05 15:07:00 - INFO: [package:run_job] [ 95%] Building CXX
> object dolfin/CMakeFiles/dolfin.dir/refinement/RivaraRefinement.cpp.o
> 2015/02/05 15:07:03 - INFO: [package:run_job] [ 96%] Building CXX
> object
> dolfin/CMakeFiles/dolfin.dir/refinement/UniformMeshRefinement.cpp.o
> 2015/02/05 15:07:05 - INFO: [package:run_job] [ 96%] Building CXX
> object dolfin/CMakeFiles/dolfin.dir/refinement/refine.cpp.o
> 2015/02/05 15:07:06 - INFO: [package:run_job] Linking CXX shared
> library libdolfin.so 2015/02/05 15:07:13 - INFO: [package:run_job]
> [ 96%] Built target dolfin 2015/02/05 15:07:13 - INFO:
> [package:run_job] Scanning dependencies of target copy_swig_files
> 2015/02/05 15:07:14 - INFO: [package:run_job] [ 96%] Built target 
> copy_swig_files
> 2015/02/05 15:07:14 - INFO: [package:run_job] [ 96%] Swig source
> 2015/02/05 15:07:31 - INFO: [package:run_job] Scanning dependencies
> of target _mesh
> 2015/02/05 15:07:31 - INFO: [package:run_job] [ 96%] Building CXX
> object
> dolfin/swig/modules/mesh/CMakeFiles/_mesh.dir/modulePYTHON_wrap.cxx.o
> 2015/02/05 15:07:49 - INFO: [package:run_job] make[2]: *** No rule to
> make target
> `/afs/hpc2n.umu.se/home/b/bbrydsoe/.hashdist/bld/python/vocgqpztn6ne/lib/libpython2.7.so',

hashdist tries to link DOLFIN against libpython built by hashdist
although you instructed it to use system python. Is there libpython on
your system? Try maybe

  $ locate libpython2.7.so

Maybe Johannes will know how to debug it.

Jan

> needed by `dolfin/swig/modules/mesh/_mesh.so'.  Stop. 2015/02/05
> 15:07:49 - INFO: [package:run_job] make[1]: ***
> [dolfin/swig/modules/mesh/CMakeFiles/_mesh.dir/all] Error 2
> 2015/02/05 15:07:49 - INFO: [package:run_job] make: *** [all] Error 2
> 2015/02/05 15:07:49 - ERROR: [package:run_job] Command
> '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status
> 2 2015/02/05 15:07:49 - ERROR: [package:run_job] command failed
> (code=2); raising
> 
> 
> 
> 
> 
> 

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to