LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-05-2010, 04:13 PM   #1
susruta101
LQ Newbie
 
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
"cannot connect to local mpd"


Hello all,

I use a Linux cluster to run robust simulations in our institution. We use a PBS script to run the mpiexec command for the jobs.

Recently, I am facing a problem that whenever I am trying to run a job, it terminates with the following error...

"cannot connect to local mpd (/tmp/mpd2.console_myusername)";
possible causes
1. no mpd is running on the host
2. an mpd is running but was started with a 'console' (-n option)"

Could you please help me out with this? I am having this problem after I installed ifort (Intel Fortran compiler suite) in the cluster.

Let me know what information I have to add.

Regards.
 
Old 12-06-2010, 04:55 AM   #2
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
Hi,

which MPI implementation do you intend to use? The issue sounds like you are now getting a different mpiexec which is based on MPICH2, but you want to use something different. Hence the paths in the script need to be adjusted to get the right mpiexec again.

Or do you want to use MPICH2, but even then you may have two versions now in the system.

You only installed Intel Fortran, not Intel's cluster tools? The Intel MPI (which is based on MPICH2) shouldn't be installed by the plain Fortran compiler.
 
Old 04-10-2014, 07:45 AM   #3
kishoreragi
LQ Newbie
 
Registered: Apr 2014
Posts: 1

Rep: Reputation: Disabled
Simply open .mpd.conf file in your home directory and set secretword you like

Then change permission to you only with

chmod 700 .mod.conf

Hope your problem is solved... Now you need not to run mpd on the other terminal..

Cheers !!!
 
Old 06-05-2018, 05:32 AM   #4
dante_t
LQ Newbie
 
Registered: Jun 2018
Posts: 10

Rep: Reputation: Disabled
Unhappy

Hi Guyz,

Im sorry for opening an old post but i have the same problem.

Quote:
Originally Posted by Reuti View Post
Hi,

which MPI implementation do you intend to use? The issue sounds like you are now getting a different mpiexec which is based on MPICH2, but you want to use something different. Hence the paths in the script need to be adjusted to get the right mpiexec again.

Or do you want to use MPICH2, but even then you may have two versions now in the system.

You only installed Intel Fortran, not Intel's cluster tools? The Intel MPI (which is based on MPICH2) shouldn't be installed by the plain Fortran compiler.
That is what I thought but I dont know how to solve path issues. I tried to do the following in my script:

Code:
#!/bin/bash
cd /usr/local/eskom/mpich2-1.4.1p1/bin
mpd -n &
I get this error:
Code:
mpiexec_localhost.localdomain: cannot connect to local mpd (/tmp/mpd2.console_eskom); possible causes:
  1. no mpd is running on this host
  2. an mpd is running but was started without a "console" (-n option)
In case 1, you can start an mpd on this host with:
    mpd &
and you will be able to run jobs just on this host.
For more details on starting mpds on a set of hosts, see
the MPICH2 Installation Guide.
when im running this command directly on the terminal, it runs, but when i do it through script it doesnt. what is it that im doing wrong?

Quote:
Originally Posted by kishoreragi View Post
Simply open .mpd.conf file in your home directory and set secretword you like

Then change permission to you only with

chmod 700 .mod.conf

Hope your problem is solved... Now you need not to run mpd on the other terminal..

Cheers !!!
I have already tried this and it doesnt work.

Can anyone show me step by step how i can resolve this?

Regards
Dante
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mpd and "special" ALSA config marco1475 Linux - Software 0 07-23-2009 11:09 PM
SAMBA - cannot connect to local network: "Timeout on Server 'x'" v@ny@ Linux - Networking 5 02-16-2008 05:44 PM
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 01:30 PM
"connect: No buffer space available" in my local network area SpaceCowboy Linux - Networking 5 08-30-2004 02:44 AM
"document contains no data" error when i try to connect to SWAT on local machine squeaky-steve Linux - Networking 2 12-03-2003 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration