From patchwork Sun May 30 20:02:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eric Brown X-Patchwork-Id: 29688 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EB12527BC81; Sun, 30 May 2021 21:03:34 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4D0BC27BC78 for ; Sun, 30 May 2021 21:03:34 +0100 (BST) Received: from localhost ([::1]:51592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnRen-00078E-IH for patchwork@mira.cbaines.net; Sun, 30 May 2021 16:03:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnReI-00077a-KS for guix-patches@gnu.org; Sun, 30 May 2021 16:03:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnReH-0006AJ-Q0 for guix-patches@gnu.org; Sun, 30 May 2021 16:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnReH-000479-NH for guix-patches@gnu.org; Sun, 30 May 2021 16:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48638] PSOPT (ADOL-C and ColPack) Resent-From: Eric Brown Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 May 2021 20:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48638 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Victor Becerra Cc: 48638@debbugs.gnu.org, Maxime Devos , "Victor Becerra \(v.m.becerra@ieee.org\)" Received: via spool by 48638-submit@debbugs.gnu.org id=B48638.162240493615762 (code B ref 48638); Sun, 30 May 2021 20:03:01 +0000 Received: (at 48638) by debbugs.gnu.org; 30 May 2021 20:02:16 +0000 Received: from localhost ([127.0.0.1]:60408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnRdV-000466-6L for submit@debbugs.gnu.org; Sun, 30 May 2021 16:02:16 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:58959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnRdT-00045s-00 for 48638@debbugs.gnu.org; Sun, 30 May 2021 16:02:12 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E4C665C00B1; Sun, 30 May 2021 16:02:04 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 30 May 2021 16:02:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericcbrown.com; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=IHCviqOpXBRne4so3FSTZlrl4A +b2qc3SeVinBC7PLU=; b=dGWzMRjcTU6dGL437P82d+1xvJqXPXnnDnpkDwxU7+ FNPs2N7eGQhKJ+QcgEV3NewEZ76YiiZrM3kyaLy/dIi8HlnCqZuE1hW6OrH2wtvf g/3HWwD4MBVStyl4v7WZ68wERxtcwwsS++2jwYtRmhpxPBGKBDD+FSMSrDlJWWgD WEPaPZCKxCqDkyBhdOSrR2JU5MAiu/feU/fMLuflexTu1WwWpFfisb1KWrIxJrI1 HI4/1pqgJDfgn/BhvV1JGAav9Z7OeNFkdRlizPX9K3fAu3DI2hBRy46z/J1B+8Ng BFGNl1qEVdV/D5pGhac9DMi20tA2rwgxRVlibbxmmyMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=IHCviq OpXBRne4so3FSTZlrl4A+b2qc3SeVinBC7PLU=; b=qr85nGO/rGaW2/FCYIol54 Q5DPvZl++CYDmZC124YOZmagCkmLVdKOn+7Fz+7ycD8D3Ym/fMzrYuo/9+lPw+C8 0tEJ+VAFlQIqqaKjEM/PboXC73as6EZlDBTg9iMe6KL31SHrpYuvZNRBS9F+9DRB MhdK/5R2gXYo+SwBxG9EJMV+pXiDmRYWVFYcqf29F/Mk+wPzQF22SdmNiuT/TWkU UacWU/RHIX+Pd0C1U8bwLZ51YXdAbPKF9avDQOAWSvDSMYPW87b1ZKd9QN8HKDd/ bIY1/86dOhnzO9OSab3LlbQfeWI8vNRbl25k7gAnz1gfmvrAdr0JrFt1DeZXDtvA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeluddgudeggecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesmhdtreertdertdenucfhrhhomhepgfhrihgt uceurhhofihnuceovggtsghrohifnhesvghrihgttggsrhhofihnrdgtohhmqeenucggtf frrghtthgvrhhnpeeuueehhfdvuddtgeduuedtvdekgfdtuefgledugeeijeegudfghefh geeujefgtdenucfkphepleelrdegfedruddvjedrudenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegvtggsrhhofihnsegvrhhitggtsghrohif nhdrtghomh X-ME-Proxy: Received: from localhost (unknown [99.43.127.1]) by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 30 May 2021 16:02:03 -0400 (EDT) From: Eric Brown In-Reply-To: (Victor Becerra's message of "Sun, 30 May 2021 06:18:20 +0100") References: <827e0402-9d81-4510-aef4-39999a96d30b@www.fastmail.com> <40c0b92a-945a-491f-aef2-51a1c0d2711d@www.fastmail.com> <2db30fa2-eff4-4c03-b0c3-434e13d5ddc7@www.fastmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu) Mail-reply-to: Eric Brown Mail-followup-to: Eric Brown Date: Sun, 30 May 2021 21:02:00 +0100 Message-ID: <86h7ikj8hz.fsf@hurd.ericcbrown.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches (updated patch set attached) Hello Prof. Becerra, Thanks for your response! I forgot to mention the context of this message: I am trying to get PSOPT (and ADOL-C, and ColPack) packaged for GNU Guix. Please note that I have updated: * The homepage URL * Added gnuplot (not required, but awfully nice :-) Warm regards, Eric Brown Victor Becerra writes: > Hello > > Many thanks for your email. > > Yes, I saw there is a problem with the website. Thank you for pointing it out. > > Upon investigation, I realized that the credit card I was using for automated payments of the domain > expired and I did not see the reminders in time, so that the domain lapsed. > > I will ask Google to see if they can reinstate it, as there appears to be no easy way to do it > myself. If that does not work I may have to get a new domain. > > As you correctly indicate PSOPT and its documentation can be accessed from the GitHub page. > > Best wishes, > > Victor Becerra > > On Wed, 26 May 2021 at 18:37, Eric Brown wrote: > > Hello Maxime, > > Thanks for your feedback. Indeed this has only happened recently, as I had been accessing it to > learn it. > > I am Cc:'ing the author and see if he knows anything about it. I think also maybe the GitHub > page would work: > > https://github.com/PSOPT/psopt > > Thanks, > Eric > > On Wed, May 26, 2021, at 12:24 PM, Maxime Devos wrote: > > Eric Brown schreef op di 25-05-2021 om 00:04 [-0500]: > > > Patches attached. > > > > > + (home-page "https://psopt.org") > > psopt.org is dead. It states: > > > > ‘This Domain Name Has Expired - Renewal Instructions’ > > > > Greetings, > > Maxime. > > > > Attachments: > > * signature.asc From 51982dbb910a688d3faa574a68149902b16a7709 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Mon, 24 May 2021 23:40:05 -0500 Subject: [PATCH 3/3] gnu: psopt: Add psopt. * gnu/packages/maths.scm (psopt): New variable. --- gnu/packages/maths.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 6d1d3dc0ca..bca9c086b5 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1884,6 +1884,46 @@ function. It uses C++ overloading to record arithmetic operations, which it plays back later in various ways to calculate the requested values.") (license license:epl1.0))) +(define-public psopt + (package + (name "psopt") + (version "5.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/PSOPT/psopt") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0y56lag51xdmpcak0wydzrkghypfn884nw8rd62gwgzgxgz0ls9f")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no test suite + #:configure-flags + `(,(string-append "-Dadolc_INCLUDE_DIR=" + (assoc-ref %build-inputs "adol-c") "/include") + ,(string-append "-Dadolc_LIBRARY=" + (assoc-ref %build-inputs "adol-c") "/lib")))) + (native-inputs + `(("python-2" ,python-2) + ("pkg-config" ,pkg-config))) + (inputs + `(("adol-c" ,adol-c) + ("colpack" ,colpack) + ("eigen" ,eigen) + ("gnuplot" ,gnuplot) + ("ipopt" ,ipopt) + ("lapack" ,openblas))) + (home-page "https://github.com/PSOPT/psopt") + (synopsis "Optimal Control Software") + (description + "PSOPT is an optimal control package written in C++ that uses direct +collocation methods. These methods solve optimal control problems by +approximating the time-dependent variables using global or local +polynomials.") + (license license:lgpl2.1))) + (define-public libflame (package (name "libflame") -- 2.32.0.rc0