Introduction
Introduction Statistics Contact Development Disclaimer Help
tremove premature openmp optimization - lbm-d3q19 - 3D lattice-Boltzmann code t…
git clone git://src.adamsgaard.dk/lbm-d3q19
Log
Files
Refs
LICENSE
---
commit c8db853c706d13e47fd0022b74df694f3008d803
parent fc71734e79e62bc8bb6d94c90a2dc9f8e28b892d
Author: Anders Damsgaard Christensen <[email protected]>
Date: Thu, 20 Oct 2016 15:22:20 -0700
remove premature openmp optimization
Diffstat:
M Makefile | 2 +-
M lbm.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -1,4 +1,4 @@
-CFLAGS=-g -Wall -pg -O2 -fopenmp
+CFLAGS=-g -Wall -pg -O2
LDLIBS=-lm
BIN=lbm
diff --git a/lbm.c b/lbm.c
t@@ -246,7 +246,7 @@ Float3 find_u(
Float3 u = {0.0, 0.0, 0.0};
Float f_i;
unsigned int i;
-#pragma omp parallel for private(f_i,u)
+//#pragma omp parallel for private(f_i,u)
for (i=0; i<m; i++) {
f_i = f[idxi(x,y,z,i)];
u.x += f_i*e[i].x/rho;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.