summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorConnor Moore <connor@hhmoore.ca>2026-04-25 17:47:35 -0400
committerConnor Moore <connor@hhmoore.ca>2026-04-25 17:47:35 -0400
commit0fbccda615fa0b15b048b5723e5bfb359f95cd9a (patch)
tree7ad4b42d8f73ae099c7f3f3c1f198134fc4d7e28 /Makefile
Initial commit with code and start of report
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..8c48932
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+FC = mpiifx
+#FFLAGS = -o $(TARGET) -qmkl=sequential
+FFLAGS = -o $(TARGET) -qmkl
+TARGET = test.x
+NWORK = 64
+
+all: clean $(TARGET) run
+
+$(TARGET): main.f90 worker.f90 manager.f90
+ $(FC) $(FFLAGS) main.f90 worker.f90 manager.f90
+
+clean:
+ rm -f *.x *.mod eigs
+
+run:
+ mpirun ./$(TARGET) -np $(NWORK)
+
+