[CIG-SHORT] compiling PyLith

Antonio Pio Rinaldi aprinaldi at lbl.gov
Sat Jun 28 18:24:36 PDT 2014


Hi,

I'm totally new to PyLith, and before starting I already have problems compiling and installing the program on my mac 10.6.

First of all I tried to use the binary files, but I'm not able to run the "configure" in the folder "src" (several errors, configure basically not able to locate the installed compilers, python, etc)
What I would like to do is to modify some .cc files and recompile.

I figured it out that maybe I needed to install from source using the installer provided on the website.

But unfortunately (even though I followed all the instruction) I'm always getting errors. The installer correctly run the "configure" file (the one in the folder "build/pylith" as suggested), then after make it correctly install gcc, python, and some others, but it gets stuck while installing hdf5 with this error while running configure:

"checking for Fortran flag to compile .f90 files... unknown
configure: error: Fortran could not compile .f90 files"

I tried to ignore this checking by changing a little the configure file for hdf5 (I know I was not suppose to change it, but I wanted to try) and in the end it runs correctly and installs hdf5.

But again I got some other problems when trying to install netcdf (always while running configure).

FULL DEFAULT (I didn't change it) COMMAND:
./configure --prefix=/Users/rinaldi/Desktop/pylith2/pylith CPPFLAGS="-I/Users/rinaldi/Desktop/pylith2/pylith/include " LDFLAGS="-L/Users/rinaldi/Desktop/pylith2/pylith/lib " CFLAGS="-g -O2" CXXFLAGS="-g -O2 -DMPICH_IGNORE_CXX_SEEK" FCFLAGS="" CC=mpicc CXX=mpicxx FC=mpif90 --enable-shared --disable-static --enable-netcdf-4 --disable-dap 

ERROR:

checking for C-equivalent to Fortran routine "SUB"... configure: error: Could not compile conftest.f

Can you help me with this?

Thanks in advance,
Best regards,
Antonio Pio Rinaldi




Antonio Pio Rinaldi, PhD
Postdoctoral Fellow, 
Earth Sciences Division
Lawrence Berkeley National Laboratory
1 Cyclotron Rd., Mail Stop 74-0120
Berkeley, CA 94720, USA











-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20140629/4311bb70/attachment.html>


More information about the CIG-SHORT mailing list