From owner-freebsd-ports@FreeBSD.ORG Wed Jan 17 09:04:06 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0D0816A407 for ; Wed, 17 Jan 2007 09:04:06 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by mx1.freebsd.org (Postfix) with ESMTP id 637E213C457 for ; Wed, 17 Jan 2007 09:04:06 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so397843nzh for ; Wed, 17 Jan 2007 01:04:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:message-id:to:subject:from:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding:sender; b=a/N+Y79uURcpGwFqlfaOIQJOy+YSLskyuALpXeSQD0kz6UY9Elus26uIpCSW3oONb7yYwCOqHs4LcUZSI65Z/44WVxnH+5elCVuVZa8Z09xhNSvHd86Emb1Ez7n+JyZg9g55s3H9JuImLP6E42YCXgeNTkMSfwqASpUa+YgpLE0= Received: by 10.35.101.1 with SMTP id d1mr12098261pym.1169024645691; Wed, 17 Jan 2007 01:04:05 -0800 (PST) Received: from localhost ( [133.11.172.102]) by mx.google.com with ESMTP id a2sm7891209pyi.2007.01.17.01.04.03; Wed, 17 Jan 2007 01:04:04 -0800 (PST) Date: Wed, 17 Jan 2007 18:03:55 +0900 (JST) Message-Id: <20070117.180355.02238085.chat95@mac.com> To: ports@freebsd.org From: NAKATA Maho In-Reply-To: <20070112.175508.90768420.chat95@mac.com> References: <20070109.175640.102530289.chat95@mac.com> <20070112.175508.90768420.chat95@mac.com> X-Mailer: Mew version 5.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: Maho NAKATA Cc: Subject: status of migration to gfortran42 2007.1.17: currently all ports using fortran are unstable. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 09:04:06 -0000 * currently all ports using fortran are unstable. please wait until I announce about it.... * kris will tell me how they are broken ;) 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 ------------------------------------------------------------ graphics/robot bad f77 code devel/root !for amd64 science/hdf !for amd64 graphics/cimg non fetchable math/py-numpy -lg2c -> -lgfortran (?) science/py-scipy -lg2c -> -lgfortran (?) science/py-scipy03 -lg2c -> -lgfortran (?) ------------------------------------------------------------ done (but not yet stable) ports maintainer Used Fortran committed f77/f90? -------------------------------------------------------------------------------------- astro/cfitsio ports@FreeBSD.org gfortran yes source benchmarks/himenobench maho@FreeBSD.org gfortran yes source benchmarks/hpl oliver@FreeBSD.org gfortran yes source biology/molden ports@FreeBSD.org gfortran yes source biology/ortep3 ports@FreeBSD.org gfortran yes source biology/platon ports@FreeBSD.org gfortran yes source biology/psi88 ports@FreeBSD.org gfortran yes source biology/tinker ports@FreeBSD.org gfortran yes source cad/calculix maho@FreeBSD.org gfortran yes source cad/feappv ports@FreeBSD.org gfortran yes source cad/sceptre grog@FreeBSD.org f77 yes source cad/pdnmesh sarod@users.sf.net gfortran yes source cad/tochnog ports@FreeBSD.org gfortran yes source database/grass-i18n hrs@FreeBSD.org gfortran yes link devel/libU77 ports@FreeBSD.org gfortran yes source french/aster thierry@FreeBSD.org gfortran yes source french/med ports@FreeBSD.org gfortran yes source graphics/dataplot beech@alaskaparadise.com gfortran yes source graphics/gplot ports@FreeBSD.org gfortran yes source graphics/pgplot jmz@FreeBSD.org gfortran yes source graphics/xd3d thierry@FreeBSD.org gfortran yes source lang/ratfor obrien@FreeBSD.org gfortran yes source math/R eric+fbports@vangyzen.net gfortran yes source math/algae laszlof@FreeBSD.org gfortran yes source math/arpack ports@FreeBSD.org gfortran yes source math/atlas maho@FreeBSD.org gfortran yes source math/atlas-devel maho@FreeBSD.org gfortran yes source math/blacs maho@FreeBSD.org gfortran yes source math/blas stas@FreeBSD.org gfortran yes source math/blocksolve95 ports@FreeBSD.org gfortran yes source math/elmer-umfpack ports@FreeBSD.org gfortran yes source math/elmer-mathlibs ports@FreeBSD.org gfortran yes source math/fftw ports@FreeBSD.org gfortran yes source math/freefem++ ports@FreeBSD.org gfortran yes source math/freemat ports@FreeBSD.org gfortran yes source math/it++ ports@FreeBSD.org gfortran yes source math/jags eric+fbports@vangyzen.net gfortran yes source math/kaskade ports@FreeBSD.org gfortran yes source math/lapack jmz@FreeBSD.org gfortran yes source math/lapack++ maho@FreeBSD.org gfortran yes source math/lapack95 maho@FreeBSD.org gfortran yes source math/libRmath eric+fbports@vangyzen.net gfortran yes source math/linpack ports@FreeBSD.org gfortran yes source math/metis ports@FreeBSD.org gfortran yes source math/metis-edf ports@FreeBSD.org gfortran yes source math/mumps ports@FreeBSD.org gfortran yes source math/nsc2ke ports@FreeBSD.org gfortran yes source math/octave rainer.alves@gmail.com gfortran yes source math/octave-devel maho@FreeBSD.org gfortran yes source (*) math/petsc ports@FreeBSD.org gfortran yes source math/plplot ports@FreeBSD.org gfortran yes source math/scalapack maho@FreeBSD.org gfortran yes source math/scilab js@jeannot.org gfortran yes source math/sdpa maho@FreeBSD.org gfortran yes link math/sdpara maho@FreeBSD.org gfortran yes link math/suitesparse maho@FreeBSD.org gfortran yes source math/superlu ports@FreeBSD.org gfortran yes source math/superlu_mt ports@FreeBSD.org gfortran yes source math/taucs ports@FreeBSD.org gfortran yes source math/umfpack ports@FreeBSD.org gfortran yes source net/mpich2 thierry@FreeBSD.org gfortran yes source net/openmpi brooks@FreeBSD.org gfortran yes source net/pvm ports@FreeBSD.org gfortran yes source science/2dhf maho@FreeBSD.org gfortran yes source science/abinit maho@FreeBSD.org gfortran yes source science/at ports@FreeBSD.org gfortran yes source science/cdf thierry@FreeBSD.org gfortran yes source science/dft++ maho@FreeBSD.org gfortran yes source science/elmer-eio ports@FreeBSD.org gfortran yes source science/elmer-fem ports@FreeBSD.org gfortran yes source science/elmer-hutiter ports@FreeBSD.org gfortran yes source science/elmerfront ports@FreeBSD.org gfortran yes source science/elmerpost ports@FreeBSD.org gfortran yes source science/getdp ports@FreeBSD.org gfortran yes source science/ghemical maho@FreeBSD.org gfortran yes link science/isaac-cdf ports@FreeBSD.org gfortran yes source science/libctl ports@FreeBSD.org gfortran yes source science/libghemical maho@FreeBSD.org gfortran yes link science/mbdyn kay_lehmann@web.de gfortran yes source science/mpb ports@FreeBSD.org gfortran yes source science/mpqc maho@FreeBSD.org gfortran yes link science/mpqc-mpich maho@FreeBSD.org gfortran yes link science/oases ports@FreeBSD.org gfortran yes source science/oof maho@FreeBSD.org gfortran yes source -------------------------------------------------------------------------------------- Memo WANT_FORTRAN= yes #dummy but future use BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 FC= gfortran42 F77= gfortran42 CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}" MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}" * Linking blas/lapack or atlas next of .include , add: .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`/../../.. post-patch: ${DIRNAME} `${LOCALBASE}/bin/${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR ${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" -e "s+%%FORTRANLIBS%%+${FORTRANLIBS}+" ${WRKSRC}/somefile. * Remove dependency of g2c.h etc. Install f2c from ports, and must link against libf2c.so. I'm checking with following environment: FreeBSD 6.2-RELEASE/amd64 with following fortran killer % cat ~/killfortran tar cvfz /home/maho/F77-FBSD62amd64.tar.gz /usr/include/g2c.h /usr/bin/f77 /usr/lib/libg2c.a /usr/lib/libg2c.so /usr/lib/libg2c.so.2 rm /usr/include/g2c.h /usr/bin/f77 /usr/lib/libg2c.a /usr/lib/libg2c.so /usr/lib/libg2c.so.2 thanks, -- NAKATA, Maho (maho@FreeBSD.org)