From fc74042bcbb2e25f7aa767cc3054610ba0f7a36b Mon Sep 17 00:00:00 2001
From: Antoine Cyril David Hoffmann <ahoffman@spcpc606.epfl.ch>
Date: Mon, 22 Feb 2021 11:23:05 +0100
Subject: [PATCH] small updates

---
 INSTALLATION.txt | 5 +++--
 Makefile         | 5 ++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/INSTALLATION.txt b/INSTALLATION.txt
index 438ccfc5..c2a4c64e 100644
--- a/INSTALLATION.txt
+++ b/INSTALLATION.txt
@@ -1,4 +1,4 @@
-Cloning the code : 
+Cloning the code :
 
 1. ssh-keygen to generate a public key (press enter to the questions)
 2. copy .ssh/id_rsa.pub in the ssh public key list of c4science with your account
@@ -8,7 +8,7 @@ Installing librairies :
 
 requirements : intel mpi compiler
 
-fftw3-mpi : 
+fftw3-mpi :
 1. download .tar.gz on download page http://www.fftw.org/download.html
 2. move it to the lib folder and unzip it with tar -zxvf fftw-3.x.x.tar.gz
 3. cd into the folder created ffw-3.x.x/
@@ -16,6 +16,7 @@ fftw3-mpi :
 4. ./configure --enable-mpi --prefix="CURRENT PATH"
 5. make
 6. make install (if problems, do make distclean before retrying)
+7. mv lib64 lib in the fftw3 folder so the HeLaZ makefile finds it
 
 FM Multiple-Precision Software Package:
 0. ??? (copy paste...)
diff --git a/Makefile b/Makefile
index cfbf61c6..6d888ad5 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ EXTINC += -I$(FMDIR)/mod
 EXTLIBS += -L$(FFTWDIR)/lib
 EXTINC += -I$(FFTWDIR)/include
 
-all: dirs src/srcinfo.h $(EXEC)
+all: dirs src/srcinfo.h $(EXEC) mvmod
 
 run: all
 	(cd wk; $(EXEC);)
@@ -39,6 +39,9 @@ cleanmod:
 cleanbin:
 	@rm -f $(EXEC)
 
+mvmod:
+	mv *.mod mod/.
+
 $(OBJDIR)/diagnose.o : src/srcinfo.h
 
 FOBJ=$(OBJDIR)/advance_field.o $(OBJDIR)/array_mod.o $(OBJDIR)/auxval.o $(OBJDIR)/basic_mod.o \
-- 
GitLab