Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
mpd is part of MPI implementations (such as MPICH); you need to run it before running MPI based programs (as otherwise, they'll just run in serial).
As far as the error is concerned, how did you install MPICH2 (i.e. from SLES packages or from source, if that is available)? Did the installation complete without problems? If so, it looks like the directory containing mpd isn't in your PATH.
mpd is part of MPI implementations (such as MPICH); you need to run it before running MPI based programs (as otherwise, they'll just run in serial).
As far as the error is concerned, how did you install MPICH2 (i.e. from SLES packages or from source, if that is available)? Did the installation complete without problems? If so, it looks like the directory containing mpd isn't in your PATH.
Ahh ok, I see what he means now. You pretty much nailed that one....
thanks
i use source package (mpich2-1.4.1p1.tar.gz). i install it in the root.
# cd mpich2-1.4.1
# ./configure --prefix=/usr/local/mpich2 CC=icc CXX=icpc F77=ifort FC=ifort
# make all install
installation completed without problem. and then :
i found MPICH2 installation Guide in internet, that say to do this:
Add the MPICH2 binary directory to the system path. To add the directory to all users' PATH variables, add the following line to the /etc/profile file.
This requires root permissions and must be included prior to the "export PATH" line.
PATH=/usr/local/mpich2/bin:$PATH
i opened /ect/profile by this command:
# gedit /ect/profile
but i didn`t find right place to add " PATH=/usr/local/mpich2/bin:$PATH "
so i continue and:
Does your /etc/profile already contain a line to set the PATH variable? If so, just add the directory to the end of it. If not, you can add the line anywhere, though you'll need the line "export PATH" somewhere after it. If you're unsure, post your /etc/profile.
Does your /etc/profile already contain a line to set the PATH variable? If so, just add the directory to the end of it. If not, you can add the line anywhere, though you'll need the line "export PATH" somewhere after it. If you're unsure, post your /etc/profile.
Strange. These are the relevant statements in your /etc/profile:
Code:
#
# Source profile extensions for certain packages
#
if test -d /etc/profile.d -a -z "$PROFILEREAD" ; then
for s in /etc/profile.d/*.sh ; do
test -r $s && . $s
done
unset s
fi
This means you can put a file with extension .sh into /etc/profile.d and give it read permissions to all users, then the file will be sourced. Please, post the output of the following commands:
Code:
ls -l /etc/profile.d/mpich2.sh
cat /etc/profile.d/mpich2.sh
Strange. These are the relevant statements in your /etc/profile:
Code:
#
# Source profile extensions for certain packages
#
if test -d /etc/profile.d -a -z "$PROFILEREAD" ; then
for s in /etc/profile.d/*.sh ; do
test -r $s && . $s
done
unset s
fi
This means you can put a file with extension .sh into /etc/profile.d and give it read permissions to all users, then the file will be sourced. Please, post the output of the following commands:
Code:
ls -l /etc/profile.d/mpich2.sh
cat /etc/profile.d/mpich2.sh
thanks
i make a file mpich2.sh in /etc/profile.d folder and Add export PATH=/usr/local/mpich2/bin:$PATH in it and then i do source /etc/profile.d/mpich2.sh but it dosent solve my problem.
Ok, sorry. I was focused on the export PATH problem. Actually the mpd daemon is not installed by default, unless you specify it during the configure process. This is due to the fact you can still run your MPI jobs using mpiexec, but if you want mpd you can add the following option to the ./configure command line:
Code:
--with-pm=mpi
or
Code:
--with-pm=hydra:mpd:gforker
to build all the three process managers, as suggested in the ./configure --help documentation.
Ok, sorry. I was focused on the export PATH problem. Actually the mpd daemon is not installed by default, unless you specify it during the configure process. This is due to the fact you can still run your MPI jobs using mpiexec, but if you want mpd you can add the following option to the ./configure command line:
Code:
--with-pm=mpi
or
Code:
--with-pm=hydra:mpd:gforker
to build all the three process managers, as suggested in the ./configure --help documentation.
finaly, i dont understand what to do?
dose mpiexec work?
finaly, i dont understand what to do?
dose mpiexec work?
If you want to run the mpd daemon you need to re-compile from mpich2-1.4.1p1.tar.gz adding the option suggested above. If you want to use mpd as the runtime environment, you need to start it before submitting your job with mpiexec or mpirun. For details, take a look at the mpich2 documentation, here.
If you want to run the mpd daemon you need to re-compile from mpich2-1.4.1p1.tar.gz adding the option suggested above. If you want to use mpd as the runtime environment, you need to start it before submitting your job with mpiexec or mpirun. For details, take a look at the mpich2 documentation, here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.