From c5d3fe949c1354e89c228e67f75af26af1ae0502 Mon Sep 17 00:00:00 2001 From: Connor Moore Date: Mon, 6 Apr 2026 05:11:16 -0400 Subject: Added basic tracking and transport for main fortran file, makefile for building/running/plotting with gnuplot (wip) --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..96a64c3 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +FC = gfortran +FFLAGS = -march=native -Ofast +XNAME = monte_carlo.x +NPROC := $(shell nproc) + + +all: build run plot + +build: main.f90 + $(FC) $(FFLAGS) main.f90 -o $(XNAME) + +run: build + OMP_NUM_THREADS=$(NPROC) ./$(XNAME) + +plot: run + echo test -- cgit v1.2.3