[scotch] 03/05: improve thread handling with -DSCOTCH_PTHREAD_NUMBER=2 -DSCOTCH_PTHREAD_AFFINITY_LINUX

Drew Parsons dparsons at moszumanska.debian.org
Sun Nov 26 15:12:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

dparsons pushed a commit to tag debian/6.0.4.dfsg1-5
in repository scotch.

commit 4d9bb0401290d01665b7e2a1ef03d1e43fe724e6
Author: Drew Parsons <dparsons at debian.org>
Date:   Sun Nov 26 09:47:06 2017 +0800

    improve thread handling with -DSCOTCH_PTHREAD_NUMBER=2 -DSCOTCH_PTHREAD_AFFINITY_LINUX
    
    as recommended in INSTALL.txt
---
 debian/changelog | 2 ++
 debian/rules     | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1d5ccf5..184e4a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ scotch (6.0.4.dfsg1-5) UNRELEASED; urgency=medium
 
   * debian/rules: apply "set -e" at the build step to halt on build
     error. Closes: #865671.
+  * improve thread handling with -DSCOTCH_PTHREAD_NUMBER=2 and
+    -DSCOTCH_PTHREAD_AFFINITY_LINUX (see INSTALL.txt)
 
  -- Drew Parsons <dparsons at debian.org>  Sun, 26 Nov 2017 09:32:08 +0800
 
diff --git a/debian/rules b/debian/rules
index 19d605f..696d9b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,7 @@ CCP=mpicc
 export CFLAGS_COMMON = -O3 -fPIC -I. -I/usr/include/mpi \
 			-Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ \
 			-DCOMMON_PTHREAD \
+			-DSCOTCH_PTHREAD_NUMBER=2 -DSCOTCH_PTHREAD_AFFINITY_LINUX \
 			-DCOMMON_RANDOM_FIXED_SEED \
 			-DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER
 export LDFLAGS_COMMON = -pthread -lz -lm -lrt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/scotch.git



More information about the debian-science-commits mailing list