Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: mpiexec error: gethostbyname while installing hdf5 in parallel

  1. #1

    Post mpiexec error: gethostbyname while installing hdf5 in parallel

    Hi all,

    I am new user on UNIX systems and I want to install on my laptop WRF and POM in parallel. However, I have faced some problems to install and execute properly hdf5 in parallel. Thus, after I installed mpich2 on my SUSE and set the path correctly to its bin and I try to run an example I keep getting this error:

    mpiexec failed: gethostbyname_ex failed for
    my_username

    As a result, this error blocks the installation of hdf5 in parallel on my laptop, showing me the same error after I make check on terminal.

    Does anyone knows or could help me to set this correctly?

    Thanks in advance

    Matheus

  2. #2
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,002

    Default Re: mpiexec error: gethostbyname while installing hdf5 in parallel

    Getbyhostname means it cannot find the machine named something (name server lookup) - in this case I'm assuming my_username is the machine its trying to find.

    Perhaps you have a misconfiguration regarding a computer/server name it's trying to connect to?
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  3. #3

    Default Re: mpiexec error: gethostbyname while installing hdf5 in parallel

    So, would you know how I get this fixed?

  4. #4
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,002

    Default Re: mpiexec error: gethostbyname while installing hdf5 in parallel

    Unfortunately I am not familiar with the software, I was just replying as to what the error was. A few things might be in order for those that do know;

    Your OS version
    Architecture
    Where did you install the programs from?

    Also possibly some commands that are you trying to run that output the error messages.
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  5. #5

    Default Re: mpiexec error: gethostbyname while installing hdf5 in parallel

    Well, answering your question:
    Memory - 7.7 Gb
    Processor: Intel core i7-3610QM @ 2.30GHz x 8
    graphics: Intel Ivybridge mobile
    base system: openSUSE 13.1 (bottle) (x86_64) 64-bit

    And, I installed my mpich2 on this path: /usr/local/models/mpich2

    On my .bashrc I set it:

    export PATH:/usr/local/model/mpich2/bin:$PATH
    export PATH

    Do you have any clue how I could fix it? Also, I remembered that I cannot execute an example using mpiexec that I get the same error. For example:
    On terminal
    mpiexec -l -n 2 cpi 100

    and I get this same error again.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,302
    Blog Entries
    15

    Default Re: mpiexec error: gethostbyname while installing hdf5 in parallel

    On Mon 28 Jul 2014 06:36:02 PM CDT, mfoceanografia wrote:


    Well, answering your question:
    Memory - 7.7 Gb
    Processor: Intel core i7-3610QM @ 2.30GHz x 8
    graphics: Intel Ivybridge mobile
    base system: openSUSE 13.1 (bottle) (x86_64) 64-bit

    And, I installed my mpich2 on this path: /usr/local/models/mpich2

    On my .bashrc I set it:

    export PATH:/usr/local/model/mpich2/bin:$PATH
    export PATH

    Do you have any clue how I could fix it? Also, I remembered that I
    cannot execute an example using mpiexec that I get the same error. For
    example:
    On terminal
    mpiexec -l -n 2 cpi 100

    and I get this same error again.


    Hi
    So you compiled all of this on your local machine? Probably some
    linking issue between system libraries if you installed openSUSE devel
    packages.

    What were your compile options?

    I'm guessing your wanting a later version than the provided mpich
    1.2.7p1?

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-17-desktop
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  7. #7
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,580

    Default Re: mpiexec error: gethostbyname while installing hdf5 in parallel

    Where did you get the program and how was it installed?

    I can't find a openSUSE version so I have to assume you used some other source.

  8. #8

    Default Re: mpiexec error: gethostbyname while installing hdf5 in parallel

    Hi malcomlewis,

    yes, I did it. I did that because I was thinking to keep all my libraries at the same path so that I wouldn't have trouble to find them. I compiled both mpich2 and hdf5 using intel fortran flags.

    Also, what did you mean by a later version than the provided mpich 1.2.7p1? I thought mpich 1.2.7p1 was the lastest version to mpich2. Which version and where you would suggest to install mpich and other libraries to run these models?

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,302
    Blog Entries
    15

    Default Re: mpiexec error: gethostbyname while installing hdf5 in parallel

    Quote Originally Posted by gogalthorp View Post
    Where did you get the program and how was it installed?

    I can't find a openSUSE version so I have to assume you used some other source.
    Hi
    Both are in the distribution hdf5 and mpich.... OP may want later versions....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10

    Default Re: mpiexec error: gethostbyname while installing hdf5 in parallel

    Higogalthorp,

    I got this mpich from its own website: http://www.mpich.org/

    and I installed it using intel compiler flags and ./configure --prefix=.....

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •