Thank you for the answer! Being unfamiliar with HashDist though, I want to make sure I understood correctly.
I see that a .hashdist has been created in my home directory. Is that in that directory that I need to find a hashstack folder where I can paste examples/fenics.abel.gnu.yaml ? (I also tried: git clone http://hashdist.github.io but this returned an error) And to edit default.yaml, what I need to do is to add: packages: ... dolfin: toolset: /path/to/where/the/correct/gcc/version/is build_with: | openblas, suitesparse, scotch, parmetis, petsc, slepc, zlib, hdf5, vtk, cgal, bzip2 Is that correct? Thanks! On Mon, Feb 2, 2015 at 3:22 PM, Jan Blechta <[email protected]> wrote: > On Mon, 2 Feb 2015 15:09:30 -0600 > "Laboure, Vincent M" <[email protected]> wrote: > > > [package:run_job] CMake Error at CMakeLists.txt:25 (message): > > 2015/02/02 12:05:50 - INFO: [package:run_job] GCC version must be at > > least 4.6 (for sufficient C++11 support. You have > > 2015/02/02 12:05:50 - INFO: [package:run_job] version 4.4.6 > > 2015/02/02 12:05:50 - INFO: [package:run_job] > > 2015/02/02 12:05:50 - INFO: [package:run_job] > > 2015/02/02 12:05:50 - INFO: [package:run_job] -- Configuring > > incomplete, errors occurred! > > 2015/02/02 12:05:50 - INFO: [package:run_job] See also > > > "/home/user1/.hashdist/tmp/dolfin-sd2jntuwgyab/_build/CMakeFiles/CMakeOutput.log". > > 2015/02/02 12:05:50 - ERROR: [package:run_job] Command '[u'/bin/bash', > > '_hashdist/build.sh']' returned non-zero exit status 1 > > 2015/02/02 12:05:50 - ERROR: [package:run_job] command failed > > (code=1); raising > > > > It seems that the problem comes from the GCC version. On this cluster, > > several versions of gcc are available (gcc-4.7.2, gcc-4.8.2 and > > gcc-4.9.1) but when I try to load them and rerun the fenics > > installation, I still get the same error... > > > > What would be the way to specify which GCC version to use? > > You have to customize the receipt. See for instance > > https://github.com/hashdist/hashstack/blob/master/examples/fenics.abel.gnu.yaml > > I think you can do something like > > #clone hashdist, hashstack > cd hashstack > cp examples/fenics.abel.gnu.yaml default.yaml > edit default.yaml > hit build > > Jan > > > >
_______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
