(trim [EMAIL PROTECTED], [EMAIL PROTECTED])
Please let me know which port is using Fortran!
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?
newly migrated
---------------------------------------------------------------------------------
math/fftw [EMAIL PROTECTED] gfortran yes
source
math/nsc2ke [EMAIL PROTECTED] gfortran yes
source
math/mumps [EMAIL PROTECTED] gfortran yes
source
math/petsc [EMAIL PROTECTED] gfortran yes
source
science/dft++ [EMAIL PROTECTED] gfortran yes
source
math/sdpa [EMAIL PROTECTED] gfortran yes
source
math/sdpara [EMAIL PROTECTED] gfortran yes
source
math/metis-edf [EMAIL PROTECTED] gfortran yes
source
math/linpack [EMAIL PROTECTED] gfortran yes
source
---------------------------------------------------------------------------------
wip
---------------------------------------------------------------------------------
math/freefem++ [EMAIL PROTECTED] gfortran not yet
source
science/abinit [EMAIL PROTECTED] gfortran not yet
source
math/R [EMAIL PROTECTED]
benchmarks/hpl [EMAIL PROTECTED]
---------------------------------------------------------------------------------
migrated already
---------------------------------------------------------------------------------
astro/cfitsio [EMAIL PROTECTED] gfortran yes
source
math/atlas [EMAIL PROTECTED] gfortran yes
source
math/atlas-devel [EMAIL PROTECTED] gfortran yes
source
biology/molden [EMAIL PROTECTED] gfortran yes
source
benchmarks/himenobench [EMAIL PROTECTED] gfortran yes
source
math/blas [EMAIL PROTECTED] gfortran yes
source
math/lapack [EMAIL PROTECTED] gfortran yes
source
biology/ortep3 [EMAIL PROTECTED] gfortran yes
source
biology/psi88 [EMAIL PROTECTED] f77 yes
source
math/metis [EMAIL PROTECTED] gfortran yes
source
math/taucs [EMAIL PROTECTED] gfortran yes
source
math/arpack [EMAIL PROTECTED] gfortran yes
source
cad/calculix [EMAIL PROTECTED] gfortran yes
source
science/2dhf [EMAIL PROTECTED] gfortran yes
source
science/mpqc [EMAIL PROTECTED] gfortran yes link
science/psi3 [EMAIL PROTECTED] gfortran yes
source
math/suitesparse [EMAIL PROTECTED] gfortran yes
source
math/lapack95 [EMAIL PROTECTED] gfortran yes
source
math/lapack++ [EMAIL PROTECTED] gfortran yes
source
science/elmer-eio [EMAIL PROTECTED] gfortran yes
source
science/elmer-matc [EMAIL PROTECTED] gfortran yes
source
science/elmer-hutiter [EMAIL PROTECTED] gfortran yes
source
math/blacs [EMAIL PROTECTED] gfortran yes
source
math/scalapack [EMAIL PROTECTED] gfortran yes
source
math/octave-devel [EMAIL PROTECTED] gfortran yes
source (*)
math/blocksolve95 [EMAIL PROTECTED] gfortran yes
source
science/elmer-fem [EMAIL PROTECTED] gfortran yes
source
science/elmergrid [EMAIL PROTECTED] gfortran yes
source
science/elmerpost [EMAIL PROTECTED] gfortran yes
source
net/mpich2 [EMAIL PROTECTED] gfortran yes source
science/elmerfront [EMAIL PROTECTED] gfortran not yet
source
---------------------------------------------------------------------------------
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.
FORTRANLIBS= -lgfortranbegin -lgfortran
GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
add ${DIRNAME} `${FC} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
@${REINPLACE_CMD} -e 's|%%FORTRANLIBS%%|${FORTRANLIBS}|g' -e
's|%%GCCLIBDIR%%|${GCCLIBDIR}|g' ${WRKSRC}/Makefile
thanks,
-- NAKATA, Maho ([EMAIL PROTECTED])
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"