[mpich-discuss] Run mpich on localhost

Martin Ivanov marto1980 at gmail.com
Fri May 8 00:41:51 CDT 2020

Thank you for your replies. I think another version of MPICH may not work
as I am following a tutorial (
https://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php) that
requires specific library versions.
My /etc/hosts file contains only these two lines:

::1 localhost localhost.my.domain localhost localhost.my.domain

uname -n returns an empty string as I have not set a hostname. I guess I do
not need this because I need to run MPICH only on this machine, that is on
localhost? uname -a gives the following output:

marto@% uname -a
DragonFly  5.8-RELEASE DragonFly v5.8.1-RELEASE #1: Thu May  7 08:26:21
CEST 2020     root@:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64

Apart from providing a --prefix, I configured MPICH with the default
options. During the configure step I got some interesting messages though:

checking for architecture... x86_64
configure: WARNING: Unknown architecture x86_64... proceeding anyway
### Configuring hwloc core
checking hwloc building mode... embedded
configure: hwloc builddir:
configure: hwloc srcdir:
checking if want hwloc maintainer support... disabled (embedded mode)
checking for hwloc directory prefix... tools/topo/hwloc/hwloc/
checking for hwloc symbol prefix... hwloc_
checking size of void *... 8
checking which OS support to include... Unsupported!
configure: WARNING:
configure: WARNING: *** hwloc does not support this system.
configure: WARNING: *** hwloc will *attempt* to build (but it may not work).
configure: WARNING: *** hwloc run-time results may be reduced to showing
just one processor.
configure: WARNING: *** You have been warned.
configure: WARNING: *** Pausing to give you time to read this message...
configure: WARNING:
checking which CPU support to include... x86_64
configure: creating ./config.status
config.status: creating tools/topo/hwloc/hwloc/Makefile
config.status: creating tools/topo/hwloc/hwloc/include/Makefile
config.status: creating tools/topo/hwloc/hwloc/src/Makefile
config.status: creating Makefile
config.status: creating tools/bootstrap/src/bsci_init.c
config.status: creating hydra-doxygen.cfg
config.status: creating include/hydra_config.h
config.status: include/hydra_config.h is unchanged
config.status: creating
config.status: tools/topo/hwloc/hwloc/include/private/autogen/config.h is
config.status: creating
config.status: tools/topo/hwloc/hwloc/include/hwloc/autogen/config.h is
I am looking forward to your replies.

Best regards,

On Thu, May 7, 2020 at 8:59 PM Tony Curtis via discuss <discuss at mpich.org>

> On May 7, 2020, at 2:30 PM, Zhou, Hui via discuss <discuss at mpich.org>
> wrote:
> Hi Martin,
> Could you try the latest version https://www.mpich.org/downloads/ ?
> --
> Hui Zhou
> *From: *Martin Ivanov via discuss <discuss at mpich.org>
> *Reply-To: *"discuss at mpich.org" <discuss at mpich.org>
> *Date: *Thursday, May 7, 2020 at 11:35 AM
> *To: *"discuss at mpich.org" <discuss at mpich.org>
> *Cc: *Martin Ivanov <marto1980 at gmail.com>
> *Subject: *[mpich-discuss] Run mpich on localhost
> Hello,
> I installed mpich-3.0.4 on a x86_64 BSD machine. I need to run MPI on this
> single machine, which has 8 cores. When I run the cpi example, I get:
> marto@% mpiexec -n 3 mpich-3.0.4/examples/cpi
> ssh: Could not resolve hostname : hostname nor servname provided, or not
> known
> Also, how did you configure MPICH?  What is your hostname (uname -n), and
> what is in /etc/hosts?
> Tony
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20200508/d567aaae/attachment-0001.html>

More information about the discuss mailing list