From 6134834915dda11edbf76bf34e1d3e2736867c60 Mon Sep 17 00:00:00 2001
From: Ulli <usteinwandel@flatironinstitute.org>
Date: Thu, 23 Nov 2023 15:35:51 -0500
Subject: [PATCH] Adding Makefile.comp.rusty and Makefile.path.rusty in
 buildsystem to make the code compile on the Flatiron cluster rusty

---
 buildsystem/Makefile.comp.rusty | 3 +++
 buildsystem/Makefile.path.rusty | 7 +++++++
 2 files changed, 10 insertions(+)
 create mode 100644 buildsystem/Makefile.comp.rusty
 create mode 100644 buildsystem/Makefile.path.rusty

diff --git a/buildsystem/Makefile.comp.rusty b/buildsystem/Makefile.comp.rusty
new file mode 100644
index 0000000..a08f6d6
--- /dev/null
+++ b/buildsystem/Makefile.comp.rusty
@@ -0,0 +1,3 @@
+CC       =   mpic++ -std=c++11
+CPP       =   mpic++ -std=c++11
+OPTIMIZE  = -ggdb -O3 -march=native  -Wall -Wno-format-security
diff --git a/buildsystem/Makefile.path.rusty b/buildsystem/Makefile.path.rusty
new file mode 100644
index 0000000..d3fc494
--- /dev/null
+++ b/buildsystem/Makefile.path.rusty
@@ -0,0 +1,7 @@
+GSL_INCL = -I$(GSL_BASE)/include
+GSL_LIBS = -L$(GSL_BASE)/lib -Xlinker -R -Xlinker $(GSL_BASE) -lgsl -lgslcblas
+FFTW_INCL= -I$(FFTW3_BASE)/include
+FFTW_LIBS= -L$(FFTW3_BASE)/lib -Xlinker -R -Xlinker $(FFTW3_BASE)/lib
+MPICHLIB =
+HDF5INCL = -I$(HDF5_BASE)/include -DH5_USE_16_API
+HDF5LIB  = -L$(HDF5_BASE)/lib -Xlinker -R -Xlinker $(HDF5_BASE)/lib -lhdf5 -lz
-- 
GitLab