gfortran version 4.3 works fine for FreeEOS, but I had a user report
some time ago that gfortran-4.1 (the out-of-date version which tends
to be available on older RedHat Enterprise Linux distributions and
clones) segfaults with FreeEOS, and I recently had this same
experience (free_eos segfaulted) when I was attempting to help a
different user with his FreeEOS installation. A segfault is a
complete showstopper so that completely rules out gfortran-4.1.
Another alternative Fortran compiler on that particular machine was
ifort (version 11.0 20081105), and it turns out that if you use that
compiler consistently for lapack/blas and FreeEOS-2.2.1 you get good
free_eos_test results (and presumably good stellar interior results as
well if you compile your stellar interior code with that same Fortran
compiler.) Others have also reported good ifort experiences to me as
well with FreeEOS, but this was the first time I had been able to
confirm that for myself.
I highly recommend cmake-2.8.4 for now, and it will be the minimum
version of cmake allowed for future releases of FreeEOS in any case. I
also recommend the latest version of lapack/blas-3.3.0 that you build
yourself because it appears there are sometimes packaging bugs (e.g.,
non-standard symbol names) in Linux distribution versions of
lapack/blas such as those found in RedHat Enterprise and clones. And,
of course, I also recommend you use the latest version of FreeEOS
(2.2.1 in this case).
I have attached my notes for how to build cmake-2.8.4,
lapack/blas-3.3.0, and FreeEOS-2.2.1. That latter two are for the
ifort case (where all you have to do is put ifort on the PATH and make
the ifort libraries accessible to the run-time loader, and cmake does
the rest), but they are easily adaptable to the gfortran-4.3 (but not!
4.1) case by making sure gfortran in on the PATH (and possibly
gfortran libraries accessible to the run-time loader, but normally
that should not be necessary) and specifying
before the lapack and free_eos cmake steps.
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
Get latest updates about Open Source Projects, Conferences and News.