Having Trouble Running MPICH in Windows
Moderator: selimgunay
-
- Posts: 109
- Joined: Sat May 05, 2007 12:28 pm
- Location: Houston, TX
Having Trouble Running MPICH in Windows
Here is what I've done:
1) I installed "MPICH2" in the default location which is "C:\Program Files\MPICH2".
2) On the tasklist in my DOS Shell I see "smpd.exe", "smss.exe". Does that mean
the spmd service is running? If I write "smpd -start" in dos shell I get the following message: "An instance of the service is already running. (error 1056)". I guess that's a good sign, right?
3) I registered using my username and my password which is also the passphrase. That's OK right?
4) Setting Up Path Variable is done. I did it for all Users (System Variables). When I write "echo %PATH%" I get the following message:
U:\>echo %PATH%
C:\ProgramFiles\Tcl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;
c:\program files\ati technologies\ati control panel;C:\Program Files\MATLAB\R200
7a\bin;C:\Program Files\MATLAB\R2007a\bin\win32;C:\Program Files\SSH Communicati
ons Security\SSH Secure Shell;C:\Modeltech_6.1\win32
5) Finally, when I want to run a code via OpenSeesSP I get the following error:
U:\>mpiexec -np 2 OpenSeesSP Bayram_MSCS_WithActualandPseudoPiles_3D_fromScratch
.tcl
Aborting: unable to connect to bayrampc.ad.rice.edu, smpd version mismatch.
Do you have any idea what I might have done wrong?
Thanks,
1) I installed "MPICH2" in the default location which is "C:\Program Files\MPICH2".
2) On the tasklist in my DOS Shell I see "smpd.exe", "smss.exe". Does that mean
the spmd service is running? If I write "smpd -start" in dos shell I get the following message: "An instance of the service is already running. (error 1056)". I guess that's a good sign, right?
3) I registered using my username and my password which is also the passphrase. That's OK right?
4) Setting Up Path Variable is done. I did it for all Users (System Variables). When I write "echo %PATH%" I get the following message:
U:\>echo %PATH%
C:\ProgramFiles\Tcl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;
c:\program files\ati technologies\ati control panel;C:\Program Files\MATLAB\R200
7a\bin;C:\Program Files\MATLAB\R2007a\bin\win32;C:\Program Files\SSH Communicati
ons Security\SSH Secure Shell;C:\Modeltech_6.1\win32
5) Finally, when I want to run a code via OpenSeesSP I get the following error:
U:\>mpiexec -np 2 OpenSeesSP Bayram_MSCS_WithActualandPseudoPiles_3D_fromScratch
.tcl
Aborting: unable to connect to bayrampc.ad.rice.edu, smpd version mismatch.
Do you have any idea what I might have done wrong?
Thanks,
Bayram Aygun
Graduate Student, Civil&Env. Eng.
Rice University
Graduate Student, Civil&Env. Eng.
Rice University
-
- Posts: 109
- Joined: Sat May 05, 2007 12:28 pm
- Location: Houston, TX
Hi,
I saw your reply on OpenSees forum. I thank you for that. I followed your advice
and did the following:
1) I put MPICH2 in C: folder ==> C:\MPICH2
2) MATLAB also has mpiexec.exe . I deleted Matlab's mpiexec.exe and pasted the
one I'm using for OpenSees. So I get rid of the smpd mismatch error![Smile :)](./images/smilies/icon_smile.gif)
3) The next error I get is this :
C:\>mpiexec -np 2 OpenSeesSP Bridge.tcl
"Credentials for ba2 rejected connecting to bayrampc.ad.rice.edu
Aborting: Unable to connect to bayrampc.ad.rice.edu"
I checked from Control Panel-->User Accounts that I belong to Administrators
Group, so I'm puzzled. Do you have any idea what might be the problem?
Thanks for your time. I realize it's valuable.
I saw your reply on OpenSees forum. I thank you for that. I followed your advice
and did the following:
1) I put MPICH2 in C: folder ==> C:\MPICH2
2) MATLAB also has mpiexec.exe . I deleted Matlab's mpiexec.exe and pasted the
one I'm using for OpenSees. So I get rid of the smpd mismatch error
![Smile :)](./images/smilies/icon_smile.gif)
3) The next error I get is this :
C:\>mpiexec -np 2 OpenSeesSP Bridge.tcl
"Credentials for ba2 rejected connecting to bayrampc.ad.rice.edu
Aborting: Unable to connect to bayrampc.ad.rice.edu"
I checked from Control Panel-->User Accounts that I belong to Administrators
Group, so I'm puzzled. Do you have any idea what might be the problem?
Thanks for your time. I realize it's valuable.
Bayram Aygun
Graduate Student, Civil&Env. Eng.
Rice University
Graduate Student, Civil&Env. Eng.
Rice University
Re: Having Trouble Running MPICH in Windows
Hi ,
I face the same problem before and was solved by this :
http://www.cnblogs.com/zealsoft/archive ... 81944.html
if you can't find the specified window and know have c IDE you can check your name with this piece of code
#include <iostream>
#include <stdio.h>
#include <windows.h>
using namespace std;
int main(){
char sz[256];
GetEnvironmentVariable ("USERNAME", sz, 256);
cout<<sz<<endl;
system("pause");
return 0;
}
I face the same problem before and was solved by this :
http://www.cnblogs.com/zealsoft/archive ... 81944.html
if you can't find the specified window and know have c IDE you can check your name with this piece of code
#include <iostream>
#include <stdio.h>
#include <windows.h>
using namespace std;
int main(){
char sz[256];
GetEnvironmentVariable ("USERNAME", sz, 256);
cout<<sz<<endl;
system("pause");
return 0;
}
-
- Posts: 2
- Joined: Thu Nov 24, 2011 12:02 am
- Contact:
Re: Having Trouble Running MPICH in Windows
Does it matter where I install MPICH?
-
- Posts: 1
- Joined: Fri Jan 20, 2012 4:07 pm
Re: Having Trouble Running MPICH in Windows
yes that does matter because its cover your space.
Re: Having Trouble Running MPICH in Windows
If I write "smpd -start" in dos shell I get the following message: "An instance of the service is already running. (error 1056)". I guess that's a good sign, right?I am impressed by the quality of information on this website. There are a lot of good resources here.
I am sure I will visit this place again soon.
Solar micro generation is one of the largest, and most exciting developments happening in the UK today. Solar is attracting the interest of news channels, hedge fund managers and home owners in equal measures.
[url=http://tvsmartreview.com/Bose Videowave Review/]Bose Videowave Review[/url]
[url=http://tvsmartreview.com/Videowave/]Videowave[/url]
I am sure I will visit this place again soon.
Solar micro generation is one of the largest, and most exciting developments happening in the UK today. Solar is attracting the interest of news channels, hedge fund managers and home owners in equal measures.
[url=http://tvsmartreview.com/Bose Videowave Review/]Bose Videowave Review[/url]
[url=http://tvsmartreview.com/Videowave/]Videowave[/url]
Re: Having Trouble Running MPICH in Windows
Thanks for the advice, i was having the same issues trying to run MPICH
-
- Posts: 1
- Joined: Tue Oct 30, 2012 11:25 am
Re: Having Trouble Running MPICH in Windows
Thanks for this. I really like what you've posted here and wish you the best of luck with this
Re: Having Trouble Running MPICH in Windows
I have MPICH 1.2.5 set up on serveral Windows 2000 machines, and can
successfully run jobs accross nodes, though it only seems to work
correctly if that user belongs to the Administrators group. As a
"normal" user, jobs fail with the error below.
The directory that the mes0001 file is trying to write to is open to
'Everyone' and shared that way to all of the other nodes.
I have also tried using mpiregister to add the normal user's password
to all of the nodes. It didn't make any difference, same error. Has
anyone seen this before?
successfully run jobs accross nodes, though it only seems to work
correctly if that user belongs to the Administrators group. As a
"normal" user, jobs fail with the error below.
The directory that the mes0001 file is trying to write to is open to
'Everyone' and shared that way to all of the other nodes.
I have also tried using mpiregister to add the normal user's password
to all of the nodes. It didn't make any difference, same error. Has
anyone seen this before?
-
- Posts: 1
- Joined: Fri Dec 14, 2012 1:38 pm
- Location: Ocala Florida
- Contact:
Re: Having Trouble Running MPICH in Windows
Trying to run mpich was literally driving me mad. Thanks for the info posted here. tremendous help. Cheers.
Re: Having Trouble Running MPICH in Windows
SaraMaher wrote:
> Hi ,
>
> I face the same problem before and was solved by this :
>
> http://www.cnblogs.com/zealsoft/archive ... 81944.html
>
> if you can't find the specified window and know have c IDE you can check your name
> with this piece of code
>
>
> #include <iostream>
> #include <stdio.h>
> #include <windows.h>
> using namespace std;
> int main(){
> char sz[256];
> GetEnvironmentVariable ("USERNAME", sz, 256);
> cout<<sz<<endl;
> system("pause");
> return 0;
> }
Is there an English version of the website?
I am having some trouble running MPICH in Windows and that website is in Chinese.
> Hi ,
>
> I face the same problem before and was solved by this :
>
> http://www.cnblogs.com/zealsoft/archive ... 81944.html
>
> if you can't find the specified window and know have c IDE you can check your name
> with this piece of code
>
>
> #include <iostream>
> #include <stdio.h>
> #include <windows.h>
> using namespace std;
> int main(){
> char sz[256];
> GetEnvironmentVariable ("USERNAME", sz, 256);
> cout<<sz<<endl;
> system("pause");
> return 0;
> }
Is there an English version of the website?
I am having some trouble running MPICH in Windows and that website is in Chinese.
-
- Posts: 1
- Joined: Thu Nov 28, 2013 7:59 pm
- Contact: