Can you please send us the complete build.log file (as an attachment)? Johannes On Mar 31, 2015 10:16 PM, "[email protected]" < [email protected]> wrote:
> Thanks for your answer. I have gfortran installed on my computer, as well > as > f77 and fort77, if needed. I tried updating gfortran installation but I > still > get the same error. The very same problem manifests when I try to install > Fenics on a cluster. > > Stefano > > > >----Messaggio originale---- > >Da: [email protected] > >Data: 31-mar-2015 12.01 > >A: "[email protected]"<[email protected]> > >Cc: "[email protected]"<[email protected]> > >Ogg: Re: [FEniCS-support] Installation from source errors building MPI > > > >On Mon, Mar 30, 2015 at 3:47 PM, [email protected] > ><[email protected]> wrote: > >> Hallo > >> I am having troubles installing Fenics 1.5. I followed the instructions > on > >> the site typing: > >> curl -s http://fenicsproject.org/fenics-install.sh | bash > >> And selecting the stable build. > >> > >> Some libraries have been downloaded and compiled, but while downloading > MPI, > >> the system returned a fatal error. The installation on other computers > and > >> clusters produced the same error. > >> > >> [mpi] Building mpi/gmkx3ftk3tz2, follow log with: > >> [mpi] tail -f /home/b/.hashdist/tmp/mpi-gmkx3ftk3tz2-5/build.log > >> [mpi|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non- > zero > >> exit status 1 > >> [mpi|ERROR] command failed (code=1); raising > >> > >> The log messages associated are: > >> > >> 2015/03/30 15:09:54 - INFO: [package:run_job] checking for Fortran 77 > >> libraries of fort77... -L/home/b/.hashdist/bld/libxml2/mlk7x2dhjiud/lib > >> -L/home/b/.hashdist/bld/patchelf/k3rloj265ogt/lib > >> -L/home/b/.hashdist/bld/pkg-config/pjksilnbb4iy/lib -lf2c -lm > >> 2015/03/30 15:09:54 - INFO: [package:run_job] checking whether fort77 > >> accepts the FLIBS found by autoconf... no > >> 2015/03/30 15:09:54 - INFO: [package:run_job] checking for valid > entries in > >> FLIBS... > >> 2015/03/30 15:09:54 - INFO: [package:run_job] checking whether gcc links > >> with FLIBS found by autoconf... yes > >> 2015/03/30 15:09:55 - INFO: [package:run_job] checking whether Fortran > 77 > >> and C objects are compatible... no > >> 2015/03/30 15:09:55 - INFO: [package:run_job] checking for file... file > >> 2015/03/30 15:09:55 - INFO: [package:run_job] configure: error: Could > not > >> determine a way to link a Fortran test program! > >> 2015/03/30 15:09:55 - INFO: [package:run_job] checking for linker for > >> Fortran main program... > >> 2015/03/30 15:09:55 - ERROR: [package:run_job] Command '[u'/bin/bash', > >> '_hashdist/build.sh']' returned non-zero exit status 1 > >> 2015/03/30 15:09:55 - ERROR: [package:run_job] command failed (code=1); > >> raising > > > >It looks like you do not have a Fortran compiler. On a Debian based > >system (like Ubuntu), you can install the gfortran package. > > > >Johannes > > > > >
_______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
