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?
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?
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.
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
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!
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?
OK checked again without the 2 on the end and there is a package in the repos that supplies this program or at least a version just search for it in Yast-software management
Plus lots of patches as well… You could download and install the src rpm locally then modify the spec file and rebuild it? Else you can use the Open Build Service?