status of migration to gfortran42 2007.1.13: currently all ports using fortran are unstable.

NAKATA Maho chat95 at mac.com
Sat Jan 13 11:45:40 UTC 2007


* currently all ports using fortran are unstable. please wait until I announce
about it....

current status of migration
wait ... wait for commit approval
source ... f90/f77 sources exist
link   ... only exist link against f90/f77 complied libraries
gfortran ... used compiler is gfortran42 
f77     ...  used compiler is g77 (there are some compilation problem with gfortran)

not yet
------------------------------------------------------------
math/algae
science/abinit         maho at FreeBSD.org     gfortran        not yet      source
graphics/dataplot      many problems
science/cdf            non fetchable
math/lapack            update to 3.1
cad/pdnmesh            strange
graphics/pgplot        non standard fortran / hardcode f77
graphics/robot         bad f77 code
------------------------------------------------------------
databases/grass-i18n
devel/root
science/hdf
math/kaskade
gplot-4.3.log
hxplay-1.0.7_1.log
oases-2.2_1.log
platon-2003.12.04.log
plplot-5.6.1.log
pvm-3.4.5.log
french/aster
benchmarks/hpl
graphics/cimg
math/arpack++
math/py-numpy
math/scilab
net/cyphesis
science/mbdyn
science/mpb
science/py-scipy
science/py-scipy03
japanese/grass-ipattfonts
---

ports                   maintainer           Used Fortran  committed    f77/f90?
--------------------------------------------------------------------------------------
astro/cfitsio           ports at FreeBSD.org    gfortran        yes          source 
benchmarks/himenobench  maho at FreeBSD.org     gfortran        yes          source 
biology/molden          ports at FreeBSD.org    gfortran        yes          source 
biology/ortep3          ports at FreeBSD.org    gfortran        yes          source 
biology/psi88           ports at FreeBSD.org    f77             yes          source 
biology/tinker          ports at FreeBSD.org    gfortran        yes          source 
cad/calculix            maho at FreeBSD.org     gfortran        yes          source 
cad/feappv              ports at FreeBSD.org    gfortran        yes          source 
cad/sceptre              grog at FreeBSD.org    f77             yes          source
cad/tochnog             ports at FreeBSD.org    gfortran        yes          source 
devel/libU77            ports at FreeBSD.org    gfortran        yes          source 
graphics/xd3d        thierry at FreeBSD.org     gfortran        yes          source 
graphics/gplot          ports at FreeBSD.org    gfortran        yes          source 
lang/ratfor           obrien at FreeBSD.org     gfortran        yes          source 
math/R             eric+fbports at vangyzen.net gfortran        yes          source 
math/arpack             ports at FreeBSD.org    gfortran        yes          source 
math/atlas              maho at FreeBSD.org     gfortran        yes          source 
math/atlas-devel        maho at FreeBSD.org     gfortran        yes          source 
math/blacs              maho at FreeBSD.org     gfortran        yes          source
math/blas               stas at FreeBSD.org     gfortran        yes          source 
math/blocksolve95       ports at FreeBSD.org    gfortran        yes          source 
math/elmer-umfpack     ports at FreeBSD.org     gfortran        yes          source 
math/elmer-mathlibs    ports at FreeBSD.org     gfortran        yes          source 
math/fftw              ports at FreeBSD.org     gfortran        yes          source
math/freefem++         ports at FreeBSD.org     gfortran        yes          source
math/freemat           ports at FreeBSD.org     gfortran        yes          source
math/it++              ports at FreeBSD.org     gfortran        yes          source
math/jags      eric+fbports at vangyzen.net     gfortran        yes          source 
math/lapack             jmz at FreeBSD.org      gfortran        yes          source 
math/lapack++           maho at FreeBSD.org     gfortran        yes          source
math/lapack95           maho at FreeBSD.org     gfortran        yes          source
math/libRmath  eric+fbports at vangyzen.net     gfortran        yes          source 
math/linpack            ports at FreeBSD.org    gfortran        yes          source 
math/metis              ports at FreeBSD.org    gfortran        yes          source 
math/metis-edf          ports at FreeBSD.org    gfortran        yes          source 
math/mumps              ports at FreeBSD.org    gfortran        yes          source
math/nsc2ke             ports at FreeBSD.org    gfortran        yes          source 
math/octave       rainer.alves at gmail.com     gfortran        yes          source
math/octave-devel       maho at FreeBSD.org     gfortran        yes          source (*)
math/petsc              ports at FreeBSD.org    gfortran        yes          source 
math/scalapack          maho at FreeBSD.org     gfortran        yes          source
math/sdpa               maho at FreeBSD.org     gfortran        yes          link
math/sdpara             maho at FreeBSD.org     gfortran        yes          link
math/suitesparse        maho at FreeBSD.org     gfortran        yes          source
math/superlu            ports at FreeBSD.org    gfortran        yes          source 
math/superlu_mt         ports at FreeBSD.org    gfortran        yes          source 
math/taucs              ports at FreeBSD.org    gfortran        yes          source 
math/umfpack            ports at FreeBSD.org    gfortran        yes          source 
net/mpich2              thierry at FreeBSD.org  gfortran        yes          source
net/openmpi             brooks at FreeBSD.org   gfortran        yes          source 
science/2dhf            maho at FreeBSD.org     gfortran        yes          source 
science/at              ports at FreeBSD.org    gfortran        yes          source 
science/dft++           maho at FreeBSD.org     gfortran        yes          source
science/elmer-eio       ports at FreeBSD.org    gfortran        yes          source 
science/elmer-fem       ports at FreeBSD.org    gfortran        yes          source 
science/elmer-hutiter   ports at FreeBSD.org    gfortran        yes          source 
science/elmerfront      ports at FreeBSD.org    gfortran        yes          source 
science/elmerpost       ports at FreeBSD.org    gfortran        yes          source
science/isaac-cdf       ports at FreeBSD.org    gfortran        yes          source 
science/libctl          ports at FreeBSD.org    gfortran        yes          source 
science/libghemical     maho at FreeBSD.org     gfortran        yes          link
science/mpqc            maho at FreeBSD.org     gfortran        yes          link
science/mpqc-mpich      maho at FreeBSD.org     gfortran        yes          link
science/oof             maho at FreeBSD.org     gfortran        yes          source
--------------------------------------------------------------------------------------

* Migrate to gfortran42
WANT_FORTRAN=	yes #dummy but future use
BUILD_DEPENDS+=	gfortran42:${PORTSDIR}/lang/gcc42
FC=		gfortran42
F77=		gfortran42
MAKE_ENV+=      FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"

* Linking blas/lapack or atlas
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS=     yes
.endif
.if defined(WITH_ATLAS)
LIB_DEPENDS+=   atlas.2:${PORTSDIR}/math/atlas
BLAS=		-lf77blas -latlas
LAPACK=		-lalapack
.else
LIB_DEPENDS+=   blas.2:${PORTSDIR}/math/blas
LIB_DEPENDS+=   lapack.4:${PORTSDIR}/math/lapack
BLAS=		-lblas
LAPACK=		-llapack
.endif

* Useful for other stuffs for gfortran related libaries when link against -lblas with C/C++ programs 
this corresponds to when some program want to link against libg2c of libf2c with GNU f77.

FORTRANLIBDIR=  `${DIRNAME} \`gfortran42 -print-libgcc-file-name\``
FORTRANLIBDIR2= `${DIRNAME} \`gfortran42 -print-libgcc-file-name\``/../../../
FORTRANLIBS=    -lgfortranbegin -lgfortran

thanks,
-- NAKATA, Maho (maho at FreeBSD.org)


More information about the freebsd-ports mailing list