This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Dolfin error while installing fenics.

0 votes

I'm installing fenics on a linux cluster from source and I get the following error messages. Any help on solving this will be appreciated.

[dolfin] Building dolfin/4fls6bwj4w4n, follow log with:
[dolfin] tail -f /home2/cchukw1/.hashdist/tmp/dolfin-4fls6bwj4w4n/build.log
[dolfin|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status 1
[dolfin|ERROR] command failed (code=1); raising

closed with the note: Please send this question to the fenics-support mailing list: http://fenicsproject.org/mailman/listinfo/fenics-support
asked Jun 2, 2015 by chuckdii2002 FEniCS Novice (270 points)
closed Jun 2, 2015 by johannr

1 Answer

0 votes

Can you show content of log file?
/home2/cchukw1/.hashdist/tmp/dolfin-4fls6bwj4w4n/build.log

answered Jun 2, 2015 by Partikel FEniCS Novice (230 points)

2015/06/01 23:25:42 - INFO: [package:run_job] -- Check for working C compiler: /usr/bin/cc -- works
2015/06/01 23:25:42 - INFO: [package:run_job] -- Detecting C compiler ABI info
2015/06/01 23:25:42 - INFO: [package:run_job] -- Detecting C compiler ABI info - done
2015/06/01 23:25:42 - INFO: [package:run_job] -- Detecting C compile features
2015/06/01 23:25:42 - INFO: [package:run_job] -- Detecting C compile features - done
2015/06/01 23:25:42 - INFO: [package:run_job] -- Check for working CXX compiler: /usr/bin/c++
2015/06/01 23:25:42 - INFO: [package:run_job] -- Check for working CXX compiler: /usr/bin/c++ -- works
2015/06/01 23:25:42 - INFO: [package:run_job] -- Detecting CXX compiler ABI info
2015/06/01 23:25:42 - INFO: [package:run_job] -- Detecting CXX compiler ABI info - done
2015/06/01 23:25:43 - INFO: [package:run_job] -- Detecting CXX compile features
2015/06/01 23:25:43 - INFO: [package:run_job] -- Detecting CXX compile features - done
2015/06/01 23:25:43 - INFO: [package:run_job] CMake Error at CMakeLists.txt:25 (message):
2015/06/01 23:25:43 - INFO: [package:run_job] GCC version must be at least 4.6 (for sufficient C++11 support. You have
2015/06/01 23:25:43 - INFO: [package:run_job] version 4.4.6
2015/06/01 23:25:43 - INFO: [package:run_job]
2015/06/01 23:25:43 - INFO: [package:run_job]
2015/06/01 23:25:43 - INFO: [package:run_job] -- Configuring incomplete, errors occurred!
2015/06/01 23:25:43 - INFO: [package:run_job] See also "/home2/cchukw1/.hashdist/tmp/dolfin-4fls6bwj4w4n/_build/CMakeFiles/CMakeOutput.log".
2015/06/01 23:25:43 - ERROR: [package:run_job] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status 1
2015/06/01 23:25:43 - ERROR: [package:run_job] command failed (code=1); raising

2015/06/01 23:25:43 - INFO: [package:run_job] GCC version must be at least 4.6 (for sufficient C++11 support. You have
2015/06/01 23:25:43 - INFO: [package:run_job] version 4.4.6

Probably you should update GCC to version >=4.6, but I don't know how that will interfere with other software on your system.

...