From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKScN-00026U-R8 for guix-patches@gnu.org; Mon, 12 Jun 2017 12:55:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKScM-00012Y-Si for guix-patches@gnu.org; Mon, 12 Jun 2017 12:55:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41220) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKScM-00012P-Ot for guix-patches@gnu.org; Mon, 12 Jun 2017 12:55:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dKScM-00042G-JL for guix-patches@gnu.org; Mon, 12 Jun 2017 12:55:06 -0400 Subject: [bug#27344] [PATCH 10/12] gnu: Add xyce-parallel. Resent-Message-ID: From: Theodoros Foradis Date: Mon, 12 Jun 2017 19:52:24 +0300 Message-Id: <20170612165226.1268-10-theodoros.for@openmailbox.org> In-Reply-To: <20170612165226.1268-1-theodoros.for@openmailbox.org> References: <20170612165226.1268-1-theodoros.for@openmailbox.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27344@debbugs.gnu.org * gnu/packages/engineering.scm (xyce-parallel): New variable. --- gnu/packages/engineering.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 596ddb80b..44a114622 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1243,3 +1243,40 @@ of large-scale, complex multi-physics engineering and scientific problems. capable of solving extremely large circuit problems by supporting large-scale parallel computing platforms. It also supports serial execution.") (license license:gpl3+))) + +(define trilinos-parallel-xyce + (package (inherit trilinos-serial-xyce) + (name "trilinos-parallel-xyce") + (arguments + `(,@(substitute-keyword-arguments (package-arguments trilinos-serial-xyce) + ((#:configure-flags flags) + `(append (list "-DTrilinos_ENABLE_ShyLU=ON" + "-DTrilinos_ENABLE_Zoltan=ON" + "-DTPL_ENABLE_MPI=ON") + ,flags))))) + (inputs + `(("mpi" ,openmpi) + ,@(package-inputs trilinos-serial-xyce))))) + +(define-public xyce-parallel + (package (inherit xyce-serial) + (name "xyce-parallel") + (arguments + `(,@(substitute-keyword-arguments (package-arguments xyce-serial) + ((#:configure-flags flags) + `(list "CXXFLAGS=-O3 -std=c++11" + "CXX=mpiCC" + "CC=mpicc" + "F77=mpif77" + "--enable-mpi" + "--enable-isorropia=no" + "--enable-zoltan=no" + (string-append + "ARCHDIR=" + (assoc-ref %build-inputs "trilinos"))))))) + (propagated-inputs + `(("mpi" ,openmpi))) + (inputs + `(("trilinos" ,trilinos-parallel-xyce) + ,@(alist-delete "trilinos" + (package-inputs xyce-serial)))))) -- 2.13.1