mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
move build_mpich section
This commit is contained in:
parent
65a2e34819
commit
c7ab0af7a4
1 changed files with 7 additions and 9 deletions
|
|
@ -314,15 +314,6 @@ ifdef BUILD_ELPA
|
|||
endif
|
||||
|
||||
|
||||
ifdef BUILD_MPICH
|
||||
NW_CORE_SUBDIRS += libext
|
||||
PATH := $(NWCHEM_TOP)/src/libext/bin:$(PATH)
|
||||
NWMPI_INCLUDE = $(shell PATH=$(NWCHEM_TOP)/src/libext/bin:$(PATH) $(NWCHEM_TOP)/src/tools/guess-mpidefs --mpi_include)
|
||||
NWMPI_LIB = $(shell PATH=$(NWCHEM_TOP)/src/libext/bin:$(PATH) $(NWCHEM_TOP)/src/tools/guess-mpidefs --mpi_lib)
|
||||
NWLIBMPI = $(shell PATH=$(NWCHEM_TOP)/src/libext/bin:$(PATH) $(NWCHEM_TOP)/src/tools/guess-mpidefs --libmpi)
|
||||
NWLIBMPI += $(shell /usr/local/bin/pkg-config --libs-only-L hwloc 2> /dev/null)
|
||||
endif
|
||||
|
||||
|
||||
ifndef EXTERNAL_GA_PATH
|
||||
NW_CORE_SUBDIRS += tools
|
||||
|
|
@ -3524,6 +3515,13 @@ ifdef USE_MPI
|
|||
NWLIBMPI =
|
||||
NWMPI_INCLUDE =
|
||||
NWMPI_LIB =
|
||||
else ifdef BUILD_MPICH
|
||||
NW_CORE_SUBDIRS += libext
|
||||
PATH := $(NWCHEM_TOP)/src/libext/bin:$(PATH)
|
||||
NWMPI_INCLUDE = $(shell PATH=$(NWCHEM_TOP)/src/libext/bin:$(PATH) $(NWCHEM_TOP)/src/tools/guess-mpidefs --mpi_include)
|
||||
NWMPI_LIB = $(shell PATH=$(NWCHEM_TOP)/src/libext/bin:$(PATH) $(NWCHEM_TOP)/src/tools/guess-mpidefs --mpi_lib)
|
||||
NWLIBMPI = $(shell PATH=$(NWCHEM_TOP)/src/libext/bin:$(PATH) $(NWCHEM_TOP)/src/tools/guess-mpidefs --libmpi)
|
||||
NWLIBMPI += $(shell /usr/local/bin/pkg-config --libs-only-L hwloc 2> /dev/null)
|
||||
else ifdef FORCE_MPI_ENV
|
||||
ifndef MPI_INCLUDE
|
||||
errormpi1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue