[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27344] [PATCH v2 10/12] gnu: Add xyce-parallel.
From: |
Theodoros Foradis |
Subject: |
[bug#27344] [PATCH v2 10/12] gnu: Add xyce-parallel. |
Date: |
Thu, 22 Jun 2017 22:10:03 +0300 |
* 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 e4dff216b..8af1fff93 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1262,3 +1262,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
[bug#27344] [PATCH v2 10/12] gnu: Add xyce-parallel.,
Theodoros Foradis <=
[bug#27344] [PATCH v2 11/12] gnu: Add qucs., Theodoros Foradis, 2017/06/22
[bug#27344] [PATCH v2 09/12] gnu: Add xyce-serial., Theodoros Foradis, 2017/06/22
[bug#27344] [PATCH v2 08/12] gnu: Add ngspice., Theodoros Foradis, 2017/06/22
[bug#27344] [PATCH v2 12/12] gnu: Add qucs-s., Theodoros Foradis, 2017/06/22