Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2007 10:36:50 +0900 (JST)
From:      NAKATA Maho <chat95@mac.com>
To:        ports@freebsd.org
Subject:   Re: Migration to gfortran42
Message-ID:  <20070111.103650.48474013.chat95@mac.com>
In-Reply-To: <20070109.175640.102530289.chat95@mac.com>
References:  <20070107.133544.78739935.chat95@mac.com> <20070109.175640.102530289.chat95@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
(trim portmgr@freebsd.org, kris@obsecurity.org)

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)

ports                   maintainer           Used Fortran  committed    f77/f90?
astro/cfitsio           ports@FreeBSD.org    gfortran        yes          source 
math/atlas              maho@FreeBSD.org     gfortran        yes          source 
math/atlas-devel        maho@FreeBSD.org     gfortran        yes          source 
biology/molden          ports@FreeBSD.org    gfortran        yes          source 
benchmarks/himenobench  maho@FreeBSD.org     gfortran        yes          source 
math/blas               stas@FreeBSD.org     gfortran        yes          source 
math/lapack             jmz@FreeBSD.org      gfortran        yes          source 
biology/ortep3          ports@FreeBSD.org    gfortran        yes          source 
biology/psi88           ports@FreeBSD.org    f77             yes          source 
math/metis              ports@FreeBSD.org    gfortran        yes          source 
math/taucs              ports@FreeBSD.org    gfortran        yes          source 
math/arpack             ports@FreeBSD.org    gfortran        yes          source 
cad/calculix            maho@FreeBSD.org     gfortran        yes          source 
science/2dhf            maho@FreeBSD.org     gfortran        yes          source 
science/mpqc            maho@FreeBSD.org     gfortran        yes          link
science/psi3            maho@FreeBSD.org     gfortran        yes          source
math/suitesparse        maho@FreeBSD.org     gfortran        yes          source
math/lapack95           maho@FreeBSD.org     gfortran        yes          source
math/lapack++           maho@FreeBSD.org     gfortran        yes          source
science/elmer-eio       ports@FreeBSD.org    gfortran        yes          source 
science/elmer-matc      ports@FreeBSD.org    gfortran        yes          source 
science/elmer-hutiter   ports@FreeBSD.org    gfortran        yes          source 
math/blacs              maho@FreeBSD.org     gfortran        yes          source
math/scalapack          maho@FreeBSD.org     gfortran        yes          source
math/octave-devel       maho@FreeBSD.org     gfortran        yes          source (*)
math/blocksolve95       ports@FreeBSD.org    gfortran        yes          source 
science/elmer-fem       ports@FreeBSD.org    gfortran        yes          source 
science/elmergrid       ports@FreeBSD.org    gfortran        yes          source 
science/elmerpost       ports@FreeBSD.org    gfortran        yes          source 
net/mpich2              thierry@FreeBSD.org  gfortran        yes          source
science/elmerfront     ports@FreeBSD.org     gfortran        not yet      source 
---------------------------------------------------------------------------------
math/freefem++         ports@FreeBSD.org     gfortran        not yet      source 
science/abinit         ports@FreeBSD.org     gfortran        not yet      source 
--------------------------------------------------------------------
many are not yet done...

here is the newest tip

* Migrate to gfortran42
WANT_FORTRAN=yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC=	gfortran42
F77=	gfortran42
* 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@FreeBSD.org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070111.103650.48474013.chat95>