Here are the last lines of
/home/user1/.hashdist/tmp/dolfin-sd2jntuwgyab/build.log:

.........
2015/02/02 12:05:47 - INFO: [package:run_job]    u'ZLIB_ID':
u'zlib/3el5ccejre7bcjqgld5gp6iym4ccd5oe'}
2015/02/02 12:05:49 - INFO: [package:run_job] -- The C compiler
identification is GNU 4.4.6
2015/02/02 12:05:49 - INFO: [package:run_job] -- The CXX compiler
identification is GNU 4.4.6
2015/02/02 12:05:49 - INFO: [package:run_job] -- Check for working C
compiler: /usr/bin/cc
2015/02/02 12:05:49 - INFO: [package:run_job] -- Check for working C
compiler: /usr/bin/cc -- works
2015/02/02 12:05:49 - INFO: [package:run_job] -- Detecting C compiler ABI
info
2015/02/02 12:05:50 - INFO: [package:run_job] -- Detecting C compiler ABI
info - done
2015/02/02 12:05:50 - INFO: [package:run_job] -- Check for working CXX
compiler: /usr/bin/c++
2015/02/02 12:05:50 - INFO: [package:run_job] -- Check for working CXX
compiler: /usr/bin/c++ -- works
2015/02/02 12:05:50 - INFO: [package:run_job] -- Detecting CXX compiler ABI
info
2015/02/02 12:05:50 - INFO: [package:run_job] -- Detecting CXX compiler ABI
info - done
2015/02/02 12:05:50 - INFO: [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?

Thank you for your help!

On Mon, Feb 2, 2015 at 2:39 PM, Johannes Ring <[email protected]> wrote:

>
> On Feb 2, 2015 9:31 PM, "Jan Blechta" <[email protected]> wrote:
> >
> > On Mon, 2 Feb 2015 12:29:44 -0600
> > "Laboure, Vincent M" <[email protected]> wrote:
> >
> > > By changing the python version I am using, the download indeed starts!
> > > Thanks Jan!
> > >
> > > After downloading a bunch of stuff (lapack, petsc, etc.), it fails to
> > > download dolfin and returns the following error:
> > >
> > > Downloading
> > >
> https://bitbucket.org/fenics-project/dolfin/downloads/dolfin-1.5.0.tar.gz.
> ..
> > > [=========================] 100.0% (9.2MB of 9.2MB) 8.488MB/s ETA 0s
> > > [dolfin] Building dolfin/sd2jntuwgyab, follow log with:
> > > [dolfin]   tail
> > > -f /home/user1/.hashdist/tmp/dolfin-sd2jntuwgyab/build.log
> > > [dolfin|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']'
> > > returned non-zero exit status 1 [dolfin|ERROR] command failed
> > > (code=1); raising
> > >
> > > Any idea what this could be due to? I have looked into
> > > /home/user1/.hashdist/tmp/dolfin-sd2jntuwgyab/_hashdist/build.sh but I
> > > couldn't figure out what caused this error...
> >
> > Post this file, please.
>
> I think the interesting file is the build.log:
>
> /home/user1/.hashdist/tmp/dolfin-sd2jntuwgyab/build.log.
>
> Johannes
>
> > Jan
> >
> > >
> > > Thanks a lot!
> > >
> > >
> > > On Sat, Jan 31, 2015 at 6:58 AM, Jan Blechta
> > > <[email protected]> wrote:
> > >
> > > > This seems like this issue
> > > > https://github.com/hashdist/hashdist/issues/83
> > > >
> > > > Jan
> > > >
> > > >
> > > > On Tue, 27 Jan 2015 17:31:46 -0600
> > > > "Laboure, Vincent M" <[email protected]> wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > Now that I have FEniCS 1.5 working on my local machine, I am
> > > > > eager to install it on a cluster to run bigger problems.
> > > > >
> > > > > Since I don't have the administrative privileges, I have been
> > > > > trying to use fenics-install.sh typing:
> > > > >
> > > > > curl -s http://fenicsproject.org/fenics-install.sh | bash
> > > > >
> > > > > I tried on two different clusters (Red Hat Enterprise Linux Server
> > > > > release 6.3 for the first one and 6.5 for the second one) from two
> > > > > completely different institutions. Both returns the same error:
> > > > >
> > > > >
> > > > >
> > > > > --2015-01-27 17:07:50--
> > > > > http://fenicsproject.org/fenics-install.sh Resolving
> > > > > fenicsproject.org... 82.118.24.73 Connecting to
> > > > > fenicsproject.org|82.118.24.73|:80... connected. HTTP request
> > > > > sent, awaiting response... 200 OK Length: 6275 (6.1K) [text/x-sh]
> > > > > Saving to: “STDOUT”
> > > > >
> > > > > 100%[======================================>] 6,275
> > > > > --.-K/s   in 0s
> > > > >
> > > > > Created temporary directory /tmp/fenics-install.dlAW9R for FEniCS
> > > > > installation.
> > > > >
> > > > > Downloading HashDist...
> > > > > 2015-01-27 17:07:50 (30.9 MB/s) - written to stdout [6275/6275]
> > > > >
> > > > > Initialized empty Git repository in
> > > > > /tmp/fenics-install.dlAW9R/hashdist/.git/
> > > > > remote: Counting objects: 4775, done.
> > > > > remote: Total 4775 (delta 0), reused 0 (delta 0)
> > > > > Receiving objects: 100% (4775/4775), 2.13 MiB | 1.10 MiB/s, done.
> > > > > Resolving deltas: 100% (2889/2889), done.
> > > > >
> > > > > Downloading HashStack...
> > > > > Initialized empty Git repository in
> > > > > /tmp/fenics-install.dlAW9R/hashstack/.git/
> > > > > remote: Counting objects: 5852, done.
> > > > > remote: Compressing objects: 100% (8/8), done.
> > > > > remote: Total 5852 (delta 2), reused 0 (delta 0)
> > > > > Receiving objects: 100% (5852/5852), 1.12 MiB | 963 KiB/s, done.
> > > > > Resolving deltas: 100% (3460/3460), done.
> > > > >
> > > > > Downloading FEniCS Install...
> > > > > Initialized empty Git repository in
> > > > > /tmp/fenics-install.dlAW9R/fenics-developer-tools/.git/
> > > > > remote: Counting objects: 138, done.
> > > > > remote: Compressing objects: 100% (133/133), done.
> > > > > remote: Total 138 (delta 72), reused 0 (delta 0)
> > > > > Receiving objects: 100% (138/138), 92.18 KiB, done.
> > > > > Resolving deltas: 100% (72/72), done.
> > > > >
> > > > > patching file pkgs/petsc/petsc.py
> > > > > patching file pkgs/petsc/petsc.yaml
> > > > > Ready to build FEniCS. This may take about 2 hours.
> > > > >
> > > > > The following build types are supported:
> > > > >
> > > > >   [0] development version of FEniCS [default]
> > > > >   [1] latest stable version of FEniCS, currently 1.5
> > > > >   [2] only dependencies, including e.g. MPI, PETSc, Swig, Boost
> > > > >
> > > > > Please select build type [0, 1, 2]: 1
> > > > > Using HashStack profile fenics.Linux.yaml.
> > > > >
> > > > > Stable build requested.
> > > > >
> > > > > Starting build...
> > > > >
> > > > > Directory ba created.
> > > > > Directory bld created.
> > > > > Directory src created.
> > > > > Directory db created.
> > > > > Directory cache created.
> > > > > Directory gcroots created.
> > > > > Default configuration file /home/user1/.hashdist/config.yaml
> > > > > written. Downloading
> > > > >
> http://releases.nixos.org/patchelf/patchelf-0.8/patchelf-0.8.tar.bz2...
> > > > > [=========================] 100.0% (0.1MB of 0.1MB) 0.223MB/s ETA
> > > > > 0s [patchelf] Building patchelf/k3rloj265ogt, follow log with:
> > > > > [patchelf]   tail -f
> > > > > /home/user1/.hashdist/tmp/patchelf-k3rloj265ogt/build.log
> > > > > Downloading
> > > > >
> https://sourceforge.net/projects/pcre/files/pcre/8.34/pcre-8.34.tar.bz2.
> > > > ..
> > > > > [ERROR] urllib failed to download (reason: unknown url type:
> > > > > https):
> > > > >
> https://sourceforge.net/projects/pcre/files/pcre/8.34/pcre-8.34.tar.bz2
> > > > > Downloading
> > > > >
> https://sourceforge.net/projects/pcre/files/pcre/8.34/pcre-8.34.tar.bz2.
> > > > ..
> > > > > [ERROR] urllib failed to download (reason: unknown url type:
> > > > > https):
> > > > >
> https://sourceforge.net/projects/pcre/files/pcre/8.34/pcre-8.34.tar.bz2
> > > > > Downloading
> > > > >
> https://sourceforge.net/projects/pcre/files/pcre/8.34/pcre-8.34.tar.bz2.
> > > > ..
> > > > > [ERROR] urllib failed to download (reason: unknown url type:
> > > > > https):
> > > > >
> https://sourceforge.net/projects/pcre/files/pcre/8.34/pcre-8.34.tar.bz2
> > > > > [CRITICAL] You may wish to check your Internet connection or the
> > > > > remote server
> > > > >
> > > > >
> > > > > Does anybody know what the problem could be?
> > > > >
> > > > > Many thanks!
> > > >
> > > >
> >
> > _______________________________________________
> > 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

Reply via email to