default must be gfortran, IMHO.

Sage is distributed with a copy of gfortran libs in case they are not
installed on the machine
that will run Sage.

There is a mechanism in Sage to detect fortrans that are available.

Anyhow, gfrortan is much more wide-spread on Linux (e.g. g95 is not a
part of Debian, AFAIK)

HTH,
Dmitrii

On Feb 17, 12:47 pm, Ondrej Certik <[email protected]> wrote:
> On Wed, Feb 17, 2010 at 11:34 AM, Ethan Coon <[email protected]> wrote:
> > Ok, so I uploaded an spkg, but it's not exactly right yet.  A few issues:
>
> > 1. my stupidity -- the flag should actually be --FLIBS="f95" , not
> > --FFLAGS="-lf95*".  This isn't necessary to get a working PETSc and
> > petsc4py, but it is both more correct and necessary when you start
> > adding on additional libraries to PETSc (like Hypre/ML/Trilinos/etc)
> > that also need linked.  I'll fix this and upload a new package in the
> > next few hours (still testing the full installation with all bells and
> > whistles).
>
> Thanks!
>
>
>
> > 2. I'm not exactly sure what fortran compilers are used with Sage.  In
> > my default installation, it used g95, so the necessary library to
> > include is libf95.a.  Is there ever a case where this should actually
> > be libgfortran.so?  Or are there different names for pgi fortran
> > libraries?  I'm not that familiar with this whole multi-platform game,
> > so I'm leaving it at libf95 for now, but holler if we need to work out
> > some name-mangling with which_fortran to get the right library linked.
>
> Yes, I am not so familiar with this either. CCing sage-devel, maybe
> someone could help us over there.
>
> Ondrej

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to