commit 7686c38cd9015de88f6cf34e01451cfe5884d341
parent c8db853c706d13e47fd0022b74df694f3008d803
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 7 Sep 2019 06:50:36 +0200
Update README and clean up Makefile
Diffstat:
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS=-g -Wall -pg -O2
+CFLAGS=-g -Wall -pg -O2 -fopenmp
LDLIBS=-lm
BIN=lbm
@@ -7,20 +7,16 @@ BIN=lbm
default: plots
plots: data
- # Plotting data
@cd out && for f in *.txt; do gnuplot -e "matrixfile='$$f'" plotmatrix.gp; done
data: $(BIN)
- # Running program
@./$(BIN)
profile: clean $(BIN) data
- # Profiling program
@gprof $(BIN) > $(BIN)-profile.txt
@less $(BIN)-profile.txt
clean:
- # Removing autogenerated files
@$(RM) $(BIN)
@$(RM) *.o
@$(RM) out/*.txt
diff --git a/README.rst b/README.rst
@@ -12,6 +12,7 @@ Requirements
The build requirements are:
* A C compiler, from e.g. the `GNU Compiler Collection
<http://gcc.gnu.org/>`_ (GCC)
+ * Gnuplot for result visualization
Obtaining lbm-d3q19
-------------------
@@ -19,7 +20,7 @@ The best way to keep up to date with subsequent updates, bugfixes and
development, is to use the Git version control system. To obtain a local
copy, execute::
- git clone https://github.com/anders-dc/lbm-d3q19.git
+ git clone git://src.adamsgaard.dk/lbm-d3q19
Build and run instructions
--------------------------