summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bd3491f..78a410c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
FC = gfortran
FFLAGS = -march=native -O3
XNAME = monte_carlo.x
-NPROC := $(shell nproc)
all: clean build run plot
@@ -13,7 +12,7 @@ build: main.f90
$(FC) $(FFLAGS) main.f90 -o $(XNAME)
run: build
- OMP_NUM_THREADS=$(NPROC) ./$(XNAME)
+ ./$(XNAME)
plot: run
gnuplot plot.gnu