[mpich-discuss] Run mpich on localhost

Martin Ivanov marto1980 at gmail.com
Fri May 8 01:12:34 CDT 2020


Hello,

sorry for cross-posting, here is some more info:
"
marto@% mpiexec -info
HYDRA build details:
    Version:                                 3.0.4
    Release Date:                            Wed Apr 24 10:08:10 CDT 2013
    CC:                              gcc
-I/home/marto/WRF/Build_WRF/LIBRARIES/grib2/include
 -L/home/marto/WRF/Build_WRF/LIBRARIES/grib2/lib
    CXX:                             g++
-I/home/marto/WRF/Build_WRF/LIBRARIES/grib2/include
 -L/home/marto/WRF/Build_WRF/LIBRARIES/grib2/lib
    F77:                             gfortran -m64
-L/home/marto/WRF/Build_WRF/LIBRARIES/grib2/lib
    F90:                             gfortran -m64
-L/home/marto/WRF/Build_WRF/LIBRARIES/grib2/lib
    Configure options:                       '--disable-option-checking'
'--prefix=/home/marto/WRF/Build_WRF/LIBRARIES/mpich' 'CC=gcc'
'LDFLAGS=-L/home/marto/WRF/Build_WRF/LIBRARIES/grib2/lib '
'CPPFLAGS=-I/home/marto/WRF/Build_WRF/LIBRARIES/grib2/include
-I/home/marto/WRF/Build_WRF/LIBRARIES/mpich-3.0.4/src/mpl/include
-I/home/marto/WRF/Build_WRF/LIBRARIES/mpich-3.0.4/src/mpl/include
-I/home/marto/WRF/Build_WRF/LIBRARIES/mpich-3.0.4/src/openpa/src
-I/home/marto/WRF/Build_WRF/LIBRARIES/mpich-3.0.4/src/openpa/src
-I/home/marto/WRF/Build_WRF/LIBRARIES/mpich-3.0.4/src/mpi/romio/include'
'CXX=g++' 'F77=gfortran' 'FFLAGS=-m64 -O2' 'FC=gfortran' 'FCFLAGS=-m64 -O2'
'--cache-file=/dev/null' '--srcdir=.' 'CFLAGS= -O2' 'LIBS=-lpthread '
    Process Manager:                         pmi
    Launchers available:                     ssh rsh fork slurm ll lsf sge
manual persist
    Topology libraries available:            hwloc
    Resource management kernels available:   user slurm ll lsf sge pbs
cobalt
    Checkpointing libraries available:
    Demux engines available:                 poll select
"
Best regards,
Martin

On Fri, May 8, 2020 at 7:41 AM Martin Ivanov <marto1980 at gmail.com> wrote:

> Hello,
> 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
> 127.0.0.1 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:
> /home/marto/WRF/Build_WRF/LIBRARIES/mpich-3.0.4/src/pm/hydra/tools/topo/hwloc/hwloc
> configure: hwloc srcdir:
> /home/marto/WRF/Build_WRF/LIBRARIES/mpich-3.0.4/src/pm/hydra/tools/topo/hwloc/hwloc
> 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!
> (x86_64-unknown-dragonfly5.8)
> 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
> tools/topo/hwloc/hwloc/include/private/autogen/config.h
> config.status: tools/topo/hwloc/hwloc/include/private/autogen/config.h is
> unchanged
> config.status: creating
> tools/topo/hwloc/hwloc/include/hwloc/autogen/config.h
> config.status: tools/topo/hwloc/hwloc/include/hwloc/autogen/config.h is
> unchanged
> "
> I am looking forward to your replies.
>
> Best regards,
> Martin
>
> On Thu, May 7, 2020 at 8:59 PM Tony Curtis via discuss <discuss at mpich.org>
> wrote:
>
>>
>>
>> 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/80f20972/attachment.html>


More information about the discuss mailing list