#1776: Wrong mpirun copied to utilities directory in MPI thorn ---------------------+------------------------------------------------------ Reporter: hinder | Owner: Type: defect | Status: confirmed Priority: minor | Milestone: Component: Other | Version: development version Resolution: | Keywords: ExternalLibraries/MPI ---------------------+------------------------------------------------------
Comment (by rhaas):
The recipe for the utilities (MPI/src/make.configuration.defn) reads: {{{ ALL_UTILS += $(shell cd $(MPI_DIR)/bin 2>/dev/null && ls mpirun ompi-clean ompi-iof ompi-probe ompi-profiler ompi-ps ompi-server ompi-top ompi_info 2>/dev/null) }}} and (MPI/src/make.configuration.deps) {{{ $(UTIL_DIR)/%: $(MPI_DIR)/bin/% @echo "Copying $* from $< to $(UTIL_DIR)" -$(MKDIR) $(MKDIRFLAGS) $(UTIL_DIR) 2> /dev/null cp $< $@ }}}
so as long as MPI_DIR is set properly (and detect.pl seems to do so) it should copy the correct executables. Can you check if perhaps homebrew itself sets and MPI_DIR environment variable which make take precendence?