Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273171 - fortran.eclass should set F77 and F90 env vars
Summary: fortran.eclass should set F77 and F90 env vars
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 339465
  Show dependency tree
 
Reported: 2009-06-08 10:21 UTC by Martin Mokrejš
Modified: 2011-04-01 11:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2009-06-08 10:21:27 UTC
I filed an upstream bug about 'No such file or directory' message leaking out of configure output. Upstream proposes to set F77 and F90 vars in my case to 'gfortran'. See https://trac.mcs.anl.gov/projects/mpich2/ticket/619#comment:3 for details.
Comment 1 Justin Bronder (RETIRED) gentoo-dev 2009-08-18 00:40:16 UTC
Look like something for fortran eclass.
Comment 2 Justin Bronder (RETIRED) gentoo-dev 2009-08-18 00:40:57 UTC
Sorry for the noise, messed up that reassignment...
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-08-18 04:46:53 UTC
I don't think F90 is actually a proper make environment variable though sometimes used, mpich2 upstream should may be consider FC instead. 
My understanding was that F77 is being slowly deprecated in favor of FC.

On our side, the fortran.eclass needs either a complete rework or simply a dump. Lately I've been bumping packages without the fortran eclass and used the toolchain-funcs, but the toolchain also needs a bit of work (e.g. bug #278772).

We should try to stick to FC and FFLAGS only so it makes it easier for makefiles.

Comment 4 Martin Mokrejš 2009-08-18 08:13:22 UTC
(In reply to comment #3)
> I don't think F90 is actually a proper make environment variable though
> sometimes used, mpich2 upstream should may be consider FC instead. 
> My understanding was that F77 is being slowly deprecated in favor of FC.

My impression is that F77 and F90 are preferred because it allows one specify for example F77=icc F90=gfortran. Imagine somebody has a parallelized and licensed F77-capable compiler but has to stick to F90 with gfortan from gcc. But, personally am not a programmer in fortran so I don't care, it just seems a bad decision. ;-)
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2011-04-01 11:01:52 UTC
fortran.eclass not used anymore in the tree