From owner-freebsd-fortran@FreeBSD.ORG Thu Dec 25 01:18:35 2014 Return-Path: Delivered-To: fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B04D147B for ; Thu, 25 Dec 2014 01:18:35 +0000 (UTC) Received: from eu1sys200aog130.obsmtp.com (eu1sys200aog130.obsmtp.com [207.126.144.203]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E9072C9D for ; Thu, 25 Dec 2014 01:18:31 +0000 (UTC) Received: from mail-wi0-f169.google.com ([209.85.212.169]) (using TLSv1) by eu1sys200aob130.postini.com ([207.126.147.11]) with SMTP ID DSNKVJtly2CYaI/DOpsrrivJMvU2WnZYEueh@postini.com; Thu, 25 Dec 2014 01:18:35 UTC Received: by mail-wi0-f169.google.com with SMTP id r20so16731133wiv.4 for ; Wed, 24 Dec 2014 17:18:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to; bh=KQR+JbmAJBuJEdiCHhoD+gMV+G9rkcqnLlybBo4Urnc=; b=UJPkN5H8U0yA9fjSUq/J70eeFJ9vX5G2iZKqPX4s3KxXdblEJlSsfLBsWECNcIabwz 58cwiYHcS+Fz6JkX8t58JOIqFkHExHDadqfO16Z8ty0OZ4lf0W2Zb+pENHgeRI3lsa/q M9SP0oWVtKwGZWpqTqgSifadauVfaAhGAFV1JGVzeJ083URi3RJzYKcnHE+3FHS62J6/ bw5PvibVGw6AHFRIVjaVg7st1UrNLYbNItULXWHLR5XxpdllrW+RMIzmIdQhJh0oC2C3 FiX1fjk1KghGTgXyXkvFmrf6IBJZBtPfdOGuU2kdqvTZIPI+PBUZyGuVfZbB40l0om4p wMYA== X-Received: by 10.180.73.143 with SMTP id l15mr54267330wiv.24.1419455816539; Wed, 24 Dec 2014 13:16:56 -0800 (PST) X-Gm-Message-State: ALoCoQmavP1CL715LAsq459sqUtv8m4LRnq6FtykcB21XuV9Ve77deq3eMFl399mLtof3VsmU7t3p+duZp0TUhf9TZTa/JcfPsCKD+L5LSmqQAzlU5i0Z2XDBkA+zyyWkLfuMT86rnb5ptBaODMFIconDi4FH0kaDw== X-Received: by 10.180.73.143 with SMTP id l15mr54267314wiv.24.1419455816433; Wed, 24 Dec 2014 13:16:56 -0800 (PST) Received: from mech-as221.men.bris.ac.uk (mech-as221.men.bris.ac.uk. [137.222.187.221]) by mx.google.com with ESMTPSA id hl1sm7067930wjc.18.2014.12.24.13.16.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Dec 2014 13:16:55 -0800 (PST) Date: Wed, 24 Dec 2014 13:16:55 -0800 (PST) X-Google-Original-Date: Wed, 24 Dec 2014 21:16:54 GMT Received: from mech-as221.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as221.men.bris.ac.uk (8.14.9/8.14.9) with ESMTP id sBOLGsuX067859 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 24 Dec 2014 21:16:54 GMT (envelope-from mexas@mech-as221.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as221.men.bris.ac.uk (8.14.9/8.14.9/Submit) id sBOLGs66067857 for fortran@freebsd.org; Wed, 24 Dec 2014 21:16:54 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201412242116.sBOLGs66067857@mech-as221.men.bris.ac.uk> To: fortran@freebsd.org Subject: math/cmlib port - PR submitted, want to discuss Reply-To: mexas@bris.ac.uk X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 01:18:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196258 I need some of the routines which I can only find in this package, so I made a port for it. http://www.nist.gov/itl/math/mcsd-software.cfm The cmlib package has not been updated since 1992 I think. It uses quite a lot of obsolete Fortran, but GCC can deal with this. At present the port installs all of the cmlib package. HOwever, some of its components are available via other existing ports, e.g. math/blas or math/eispack. There are probably also common components with math/slatec (I did that port a while back, so can't remember the exact details right now, but probably quadpack is already available in slatec and in cmlib). I'd like to work towards a set of tightly integrated Fortran\ libraries on FreeBSD, ideally making sure all GAMS categories are available via ports. This probably is a separate large project, but is a worthwhile goal in my opinion. Or maybe not... Anyway, I'd like to hear your feedback, if you are interested in this. Anton From owner-freebsd-fortran@FreeBSD.ORG Thu Dec 25 06:03:07 2014 Return-Path: Delivered-To: fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C99FC65 for ; Thu, 25 Dec 2014 06:03:07 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7BCB327C6 for ; Thu, 25 Dec 2014 06:03:07 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id sBP62vCU032820 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 24 Dec 2014 22:02:57 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id sBP62vRs032819; Wed, 24 Dec 2014 22:02:57 -0800 (PST) (envelope-from sgk) Date: Wed, 24 Dec 2014 22:02:57 -0800 From: Steve Kargl To: Anton Shterenlikht Subject: Re: math/cmlib port - PR submitted, want to discuss Message-ID: <20141225060257.GA32765@troutmask.apl.washington.edu> References: <201412242116.sBOLGs66067857@mech-as221.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201412242116.sBOLGs66067857@mech-as221.men.bris.ac.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: fortran@freebsd.org X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 06:03:07 -0000 On Wed, Dec 24, 2014 at 01:16:55PM -0800, Anton Shterenlikht wrote: > > I'd like to work towards a set of tightly integrated Fortran\ > libraries on FreeBSD, ideally making sure all GAMS categories > are available via ports. This probably is a separate large > project, but is a worthwhile goal in my opinion. > I use blas and lapack. When I was learning F90/95, I rewrote minpack in a free-form modern dialect. I now typically write my own routines, but if I'm in a hurry, I simply search netlib or Alan Miller's big pond repository for a particular routine. Fortunately, Fortran is fairly portable, so not much is needed to get the code to compile. -- Steve From owner-freebsd-fortran@FreeBSD.ORG Thu Dec 25 14:46:13 2014 Return-Path: Delivered-To: freebsd-fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B7CAF58 for ; Thu, 25 Dec 2014 14:46:13 +0000 (UTC) Received: from mx1a.lautre.net (eyra.lautre.net [80.67.160.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.lautre.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 260BE1AFB for ; Thu, 25 Dec 2014 14:46:12 +0000 (UTC) Received: from graf.pompo.net (graf.pompo.net [78.225.128.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: thierry@pompo.net) by mx1a.lautre.net (Postfix) with ESMTPSA id 1FD7E40F9A for ; Thu, 25 Dec 2014 15:46:09 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id 9FBBA71E572; Thu, 25 Dec 2014 15:46:08 +0100 (CET) Date: Thu, 25 Dec 2014 15:46:08 +0100 From: Thierry Thomas To: freebsd-fortran@freebsd.org Subject: Re: math/cmlib port - PR submitted, want to discuss Message-ID: <20141225144608.GA1239@graf.pompo.net> Mail-Followup-To: freebsd-fortran@freebsd.org References: <201412242116.sBOLGs66067857@mech-as221.men.bris.ac.uk> <20141225060257.GA32765@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20141225060257.GA32765@troutmask.apl.washington.edu> X-Operating-System: FreeBSD 10.1-STABLE amd64 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: X-PGP: 0xF1C516B3C8359753 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 14:46:13 -0000 Le jeu 25 déc 14 à 7:02:57 +0100, Steve Kargl écrivait : > I use blas and lapack. When I was learning F90/95, I rewrote > minpack in a free-form modern dialect. I now typically write > my own routines, but if I'm in a hurry, I simply search netlib or > Alan Miller's big pond repository for a particular routine. BTW, I'm going to commit a USES file to centralize the different Blas / Lapack usages. Reviews and comments are welcome: Best regards, -- Th. Thomas. From owner-freebsd-fortran@FreeBSD.ORG Thu Dec 25 16:41:44 2014 Return-Path: Delivered-To: freebsd-fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E3D0357 for ; Thu, 25 Dec 2014 16:41:44 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B7502DE for ; Thu, 25 Dec 2014 16:41:44 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id sBPGfhOD034886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 25 Dec 2014 08:41:43 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id sBPGfhPb034885 for freebsd-fortran@freebsd.org; Thu, 25 Dec 2014 08:41:43 -0800 (PST) (envelope-from sgk) Date: Thu, 25 Dec 2014 08:41:43 -0800 From: Steve Kargl To: freebsd-fortran@freebsd.org Subject: Re: math/cmlib port - PR submitted, want to discuss Message-ID: <20141225164143.GA34817@troutmask.apl.washington.edu> References: <201412242116.sBOLGs66067857@mech-as221.men.bris.ac.uk> <20141225060257.GA32765@troutmask.apl.washington.edu> <20141225144608.GA1239@graf.pompo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141225144608.GA1239@graf.pompo.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 16:41:44 -0000 On Thu, Dec 25, 2014 at 03:46:08PM +0100, Thierry Thomas wrote: > Le jeu 25 d?c 14 ? 7:02:57 +0100, Steve Kargl > ?crivait?: > > > I use blas and lapack. When I was learning F90/95, I rewrote > > minpack in a free-form modern dialect. I now typically write > > my own routines, but if I'm in a hurry, I simply search netlib or > > Alan Miller's big pond repository for a particular routine. > > BTW, I'm going to commit a USES file to centralize the different Blas / > Lapack usages. Reviews and comments are welcome: > > > With only a very brief scan, I would have _valid_ARGS= atlas netlib gotoblas openblas Oldtimers will know "netlib" over "reference" and Goto's library is called gotoblas. The default should be netlib. If you choose to set the default to openblas, does it install a symlink from libopenblas to libblas. In fact, I would recommend setting a symlink for atlas, gotoblas, and openblas. This is, of course, my own opinion. -- Steve From owner-freebsd-fortran@FreeBSD.ORG Thu Dec 25 22:08:15 2014 Return-Path: Delivered-To: freebsd-fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 652E8DAB for ; Thu, 25 Dec 2014 22:08:15 +0000 (UTC) Received: from mx1b.lautre.net (etna.lautre.net [80.67.160.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.lautre.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1EEB61C9D for ; Thu, 25 Dec 2014 22:08:14 +0000 (UTC) Received: from graf.pompo.net (graf.pompo.net [78.225.128.39]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: thierry@pompo.net) by mx1b.lautre.net (Postfix) with ESMTPSA id 03D037E0BA for ; Thu, 25 Dec 2014 23:08:10 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id 7CAD071E571; Thu, 25 Dec 2014 23:08:10 +0100 (CET) Date: Thu, 25 Dec 2014 23:08:10 +0100 From: Thierry Thomas To: freebsd-fortran@freebsd.org Subject: Re: math/cmlib port - PR submitted, want to discuss Message-ID: <20141225220810.GC31170@graf.pompo.net> Mail-Followup-To: freebsd-fortran@freebsd.org References: <201412242116.sBOLGs66067857@mech-as221.men.bris.ac.uk> <20141225060257.GA32765@troutmask.apl.washington.edu> <20141225144608.GA1239@graf.pompo.net> <20141225164143.GA34817@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20141225164143.GA34817@troutmask.apl.washington.edu> X-Operating-System: FreeBSD 10.1-STABLE amd64 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: X-PGP: 0xF1C516B3C8359753 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 22:08:15 -0000 Le jeu 25 déc 14 à 17:41:43 +0100, Steve Kargl écrivait : > > > > > > With only a very brief scan, I would have > > _valid_ARGS= atlas netlib gotoblas openblas > > Oldtimers will know "netlib" over "reference" and Goto's library > is called gotoblas. > > The default should be netlib. If you choose to set > the default to openblas, does it install a symlink from > libopenblas to libblas. In fact, I would recommend setting > a symlink for atlas, gotoblas, and openblas. This is, of course, > my own opinion. Thanks for the feedback. No problem for me: I just choosed "reference" because this was the name used by math/suitesparse. We discussed about the default with maho@ and pfg@, and it seemed that openblas was the "trending" lib, but netlib is fine too. I'm not sure about a symlink: would'nt it imply conflicts between these different ports? How do you see it? -- Th. Thomas. From owner-freebsd-fortran@FreeBSD.ORG Thu Dec 25 22:21:58 2014 Return-Path: Delivered-To: freebsd-fortran@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43CE2FA4 for ; Thu, 25 Dec 2014 22:21:58 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 064321F09 for ; Thu, 25 Dec 2014 22:21:58 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id sBPMLuuP035993 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 25 Dec 2014 14:21:56 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id sBPMLuTf035992 for freebsd-fortran@freebsd.org; Thu, 25 Dec 2014 14:21:56 -0800 (PST) (envelope-from sgk) Date: Thu, 25 Dec 2014 14:21:56 -0800 From: Steve Kargl To: freebsd-fortran@freebsd.org Subject: Re: math/cmlib port - PR submitted, want to discuss Message-ID: <20141225222156.GA35967@troutmask.apl.washington.edu> References: <201412242116.sBOLGs66067857@mech-as221.men.bris.ac.uk> <20141225060257.GA32765@troutmask.apl.washington.edu> <20141225144608.GA1239@graf.pompo.net> <20141225164143.GA34817@troutmask.apl.washington.edu> <20141225220810.GC31170@graf.pompo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141225220810.GC31170@graf.pompo.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 22:21:58 -0000 On Thu, Dec 25, 2014 at 11:08:10PM +0100, Thierry Thomas wrote: > Le jeu 25 d?c 14 ? 17:41:43 +0100, Steve Kargl > > > > > > > > > > With only a very brief scan, I would have > > > > _valid_ARGS= atlas netlib gotoblas openblas > > > > Oldtimers will know "netlib" over "reference" and Goto's library > > is called gotoblas. > > > > The default should be netlib. If you choose to set > > the default to openblas, does it install a symlink from > > libopenblas to libblas. In fact, I would recommend setting > > a symlink for atlas, gotoblas, and openblas. This is, of course, > > my own opinion. > > Thanks for the feedback. No problem for me: I just choosed "reference" > because this was the name used by math/suitesparse. > > We discussed about the default with maho@ and pfg@, and it seemed that > openblas was the "trending" lib, but netlib is fine too. > The original authors of the blas and lapack are the individuals who wrote and maintain the netlib implementations. "trending" lib suggests to me new code with bugs. The netlib libraries are well-known and have been debugged for years. The netlib libraries are also quite portable. > I'm not sure about a symlink: would'nt it imply conflicts between > these different ports? How do you see it? My only concern is if I do gfortran -o myprog myprog.f90 -L/usr/local/lib -llapack -lblas I get myprog. If openblas or gotoblas or atlas is installed in preference to the netlib libraries, I would like the above to magically work. But, I suppose that this is just me. -- Steve