summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2020-07-03 23:24:55 +0200
committerbartus2020-07-04 02:52:29 +0200
commit65cffe5f5f463dbf84357c80e19ddd14dc2aa324 (patch)
tree1b4038c84a5b42719ce7c4c12df9037c6af863bd
parentc36583a276075a7082a32713f558105e8375c752 (diff)
downloadaur-65cffe5f5f463dbf84357c80e19ddd14dc2aa324.tar.gz
Add mkl
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13091efae2c..332d49df7ab 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -25,6 +25,7 @@ pkgbase = chronoengine
makedepends = oce
makedepends = mumps
makedepends = blas
+ makedepends = intel-mkl
depends = openmpi
depends = blas
depends = boost-libs
@@ -36,6 +37,7 @@ pkgbase = chronoengine
optdepends = python: Python bindings
optdepends = nvidia-utils: CUDA support in PARALLEL module
optdepends = opencascade: add 3D CAD file support (STEP format)
+ optdepends = intel-mkl: This library is currently used in Chrono for its parallel direct solver (Pardiso)
source = chronoengine::git+https://github.com/projectchrono/chrono.git#tag=4.0.0
source = git+https://github.com/google/benchmark.git
source = git+https://github.com/google/googletest.git
diff --git a/PKGBUILD b/PKGBUILD
index 33f202f9c59..2c9213f4480 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,9 @@
#!/hint/bash
# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
+# Notes:
+# MUMPS need some work to be able to link corectly with deps of mumps (scotch,mpi)
+
pkgname=chronoengine
pkgver=4.0.0
_fragment="#tag=${pkgver}"
@@ -21,6 +24,7 @@ makedepends+=(thrust) # MODULE_PARALLEL required
makedepends+=(oce) # MODULE_CASCADE
makedepends+=(mumps) # MODULE_MUMPS
makedepends+=(blas) # MODULE_MUMPS required
+makedepends+=(intel-mkl) # MODULE_MKL
optdepends+=( "irrlicht: Runtime visualization with Irrlicht."
"glew: Runtime visualization with OpenGL."
"glfw: Runtime visualization with OpenGL."
@@ -28,8 +32,8 @@ optdepends+=( "irrlicht: Runtime visualization with Irrlicht."
"python: Python bindings"
"nvidia-utils: CUDA support in PARALLEL module"
"opencascade: add 3D CAD file support (STEP format)"
+ "intel-mkl: This library is currently used in Chrono for its parallel direct solver (Pardiso)"
)
-#optdepends+=("intel-mkl: This library is currently used in Chrono for its parallel direct solver (Pardiso)")
source=("${pkgname}::git+https://github.com/projectchrono/chrono.git${_fragment}"
"git+https://github.com/google/benchmark.git"
"git+https://github.com/google/googletest.git"
@@ -55,7 +59,8 @@ CMAKE_FLAGS=( -DENABLE_MODULE_POSTPROCESS=ON
-DENABLE_MODULE_OPENGL=ON
-DENABLE_MODULE_PARALLEL=ON
-DTHRUST_INCLUDE_DIR=/opt/thrust
- -DENABLE_MODULE_MKL=OFF
+ -DENABLE_MODULE_MKL=ON
+ -DINTEL_ROOT=/opt/intel/mkl
-DENABLE_MODULE_COSIMULATION=ON
-DENABLE_MODULE_FSI=ON
-DENABLE_MODULE_MUMPS=OFF