Introduction
Introduction Statistics Contact Development Disclaimer Help
tMakefile - lbm-d3q19 - 3D lattice-Boltzmann code to approximate Navier-Stokes …
git clone git://src.adamsgaard.dk/lbm-d3q19
Log
Files
Refs
LICENSE
---
tMakefile (420B)
---
1 CFLAGS=-Wall -O2 -fopenmp -march=native -funroll-loops #-g -pg
2 LDLIBS=-lm
3 BIN=lbm
4
5 .PHONY: default plots data profile clean
6
7 default: plots
8
9 plots: data
10 @cd out && for f in *.txt; do gnuplot -e "matrixfile='$$f'" plot…
11
12 data: $(BIN)
13 @./$(BIN)
14
15 profile: clean $(BIN) data
16 @gprof $(BIN) > $(BIN)-profile.txt
17 @less $(BIN)-profile.txt
18
19 clean:
20 @$(RM) $(BIN)
21 @$(RM) *.o
22 @$(RM) out/*.txt
23 @$(RM) out/*.png
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.