Skip to content

Commit

Permalink
avoid need of USE_MPI for make clean nwchemgit#903
Browse files Browse the repository at this point in the history
  • Loading branch information
edoapra committed Nov 28, 2023
1 parent 3c1b014 commit 81925ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config/makefile.h
Original file line number Diff line number Diff line change
Expand Up @@ -3585,8 +3585,10 @@ ifdef USE_MPI
CORE_LIBS += $(NWLIBMPI)
endif
else
ifneq ($(MAKECMDGOALS),$(findstring $(MAKECMDGOALS), clean realclean distclean dependencies include_stamp deps_stamp directories $(BINDIR)/depend.x))
errornousempi:
$(info )
$(info MAKECMDGOALS $(MAKECMDGOALS))
$(info please set the env. variable USE_MPI)
$(info and provide a working MPI installation)
$(info )
Expand All @@ -3596,6 +3598,7 @@ else
else
CORE_LIBS +=
endif
endif
endif


Expand Down

0 comments on commit 81925ba

Please sign in to comment.