Skip to content

Commit

Permalink
make Makefile thread-safe, and add in correct postw90 dependancies
Browse files Browse the repository at this point in the history
  • Loading branch information
jryates committed Jan 11, 2025
1 parent 13f5a9a commit f9eabb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ REALMAKEFILE=../Makefile.2

TAR := $(shell if which gnutar 1>/dev/null 2> /dev/null; then echo gnutar; else echo tar; fi )

.NOTPARALLEL:
default: wannier post

PREFIX ?= /usr
Expand Down
4 changes: 2 additions & 2 deletions src/Makefile.2
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ sitesym.o : ../sitesym.F90 utility.o types.o constants.o wannier90_types.o
comms.o: ../comms.F90 constants.o error_base.o ../../make.inc
$(COMPILER) $(POSTOPTS) $(FCOPTS) -c ../comms.F90

boltzwann.o: $(POSTDIR)boltzwann.F90 constants.o types.o io.o utility.o postw90_common.o get_oper.o wan_ham.o comms.o spin.o dos.o postw90_types.o ws_distance.o
boltzwann.o: $(POSTDIR)boltzwann.F90 constants.o types.o io.o utility.o postw90_common.o get_oper.o wan_ham.o comms.o spin.o dos.o postw90_types.o ws_distance.o postw90_readwrite.o
$(COMPILER) $(POSTOPTS) $(FCOPTS) -c $(POSTDIR)boltzwann.F90

geninterp.o: $(POSTDIR)geninterp.F90 constants.o types.o io.o get_oper.o postw90_common.o comms.o utility.o wan_ham.o postw90_types.o ws_distance.o
Expand Down Expand Up @@ -196,7 +196,7 @@ postw90_common.o: $(POSTDIR)postw90_common.F90 postw90_types.o ws_distance.o com
postw90_types.o: $(POSTDIR)postw90_types.F90 comms.o types.o utility.o constants.o io.o
$(COMPILER) $(POSTOPTS) $(FCOPTS) -c $(POSTDIR)postw90_types.F90

postw90_readwrite.o: $(POSTDIR)postw90_readwrite.F90 comms.o postw90_types.o types.o utility.o constants.o io.o error.o
postw90_readwrite.o: $(POSTDIR)postw90_readwrite.F90 comms.o postw90_types.o types.o utility.o constants.o io.o error.o wannier90_readwrite.o
$(COMPILER) $(POSTOPTS) $(FCOPTS) -c $(POSTDIR)postw90_readwrite.F90

.PHONY: wannier libs post clean mpi_test w90spn2spn

0 comments on commit f9eabb9

Please sign in to comment.