From 22dbae2aad4983e4e9152077a9c582c67d40c591 Mon Sep 17 00:00:00 2001 From: Satish Karra Date: Thu, 13 Jan 2022 13:08:13 -0700 Subject: [PATCH 1/2] updating hdf5 github url. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index ee3e7c24..3c37d0bd 100644 --- a/src/Makefile +++ b/src/Makefile @@ -117,7 +117,7 @@ all: hdf5-1.8 silo-4.10.2 dated xfehm .PHONY: hdf5-1.8 hdf5-1.8: - @cd ${TPLDIR} && git clone https://github.com/live-clones/hdf5.git --branch 1.8/master $@ + @cd ${TPLDIR} && git clone git@github.com:HDFGroup/hdf5.git --branch 1.8/master $@ @cd ${TPLDIR}/hdf5-1.8/ && git branch && ./configure --prefix=${TPLDIR}/hdf5-1.8_install/ --enable-fortran --enable-cxx @cd ${TPLDIR}/hdf5-1.8/ && make install From e00dc3a8183f2a33e999490da1a1b3d6e344c892 Mon Sep 17 00:00:00 2001 From: Satish Karra Date: Thu, 13 Jan 2022 13:33:56 -0700 Subject: [PATCH 2/2] modified clean and added allclean so that it gives user option to not remove hdf5 all the time. --- src/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 3c37d0bd..0fa5b676 100644 --- a/src/Makefile +++ b/src/Makefile @@ -45,8 +45,8 @@ DEPEND = ${SRCDIR}Makefile.depends OPSYS = $(shell uname -s ) DATETAG = $(shell date '+%y-%m-%d') DATE = $(shell date '+.%d%b%y') -FFLAGS = -frecord-marker=4 -ffixed-line-length-132 -DEBUGFLAGS = -g -O0 -frecord-marker=4 -fbounds-check -Wall +FFLAGS = -frecord-marker=4 -ffixed-line-length-132 -fallow-argument-mismatch +DEBUGFLAGS = -g -O0 -frecord-marker=4 -fbounds-check -Wall -fallow-argument-mismatch # Define the written OS tag @@ -89,6 +89,7 @@ define help make install build release FEHM into PREFIX (default: /usr/local/bin) make uninstall remove release FEHM from PREFIX make clean remove all object and mod files + make allclean remove all object, mod and tpl files make test run FEHM unit tests make help view this help screen @@ -145,6 +146,11 @@ uninstall: clean: rm *.o rm *.mod + +.PHONY: allclean +allclean: + rm *.o + rm *.mod rm -R ${TPLDIR}/hdf5-1.8 .PHONY: help