[SCM] LAMMPS Molecular Dynamics Simulator branch, experimental, updated. debian/0_20121116.git9eeec79-1_exp1-10-g4f12b37
Anton Gladky
gladky.anton at gmail.com
Sun Feb 3 21:59:51 UTC 2013
The following commit has been merged in the experimental branch:
commit 9477729254794bae02643c5f00a6956ab9e02a6f
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Sun Feb 3 21:23:22 2013 +0100
Add -fopenmp option to compilation flags.
diff --git a/debian/patches/set_configure_flags.patch b/debian/patches/set_configure_flags.patch
index 100f968..d478d91 100644
--- a/debian/patches/set_configure_flags.patch
+++ b/debian/patches/set_configure_flags.patch
@@ -1,11 +1,11 @@
Description: use CXX and LD-flags, proposed by build environment instead
of hardcoded. Fix linkage problem with fftw3.
-Author: Anton Gladky <gladky.anton at gmail.com>
-Last-Update: 2012-11-19
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2013-02-03
--- a/src/MAKE/Makefile.openmpi
+++ b/src/MAKE/Makefile.openmpi
-@@ -7,13 +7,12 @@
+@@ -7,14 +7,13 @@
# specify flags and libraries needed for your compiler
CC = mpic++
@@ -17,10 +17,12 @@ Last-Update: 2012-11-19
LINK = mpic++
-LINKFLAGS = -O
+-LIB = -lstdc++
+LINKFLAGS = -O $(shell dpkg-buildflags --get LDFLAGS)
- LIB = -lstdc++
++LIB = -lstdc++ -fopenmp
SIZE = size
+ ARCHIVE = ar
@@ -29,7 +28,7 @@
# LAMMPS ifdef settings, OPTIONAL
# see possible settings in doc/Section_start.html#2_2 (step 4)
@@ -30,12 +32,9 @@ Last-Update: 2012-11-19
# MPI library, REQUIRED
# see discussion in doc/Section_start.html#2_2 (step 5)
-@@ -49,9 +48,9 @@
- # PATH = path for FFT library
- # LIB = name of FFT library
+@@ -51,7 +50,7 @@
--FFT_INC = -DFFT_FFTW
-+FFT_INC = -DFFT_FFTW3
+ FFT_INC = -DFFT_FFTW3
FFT_PATH =
-FFT_LIB = -lfftw
+FFT_LIB = -lfftw3
--
LAMMPS Molecular Dynamics Simulator
More information about the debian-science-commits
mailing list