OpenSees Community Forums
  RegisterRegister Log inLog in ProfileProfile MemberlistMemberlist FAQFAQ SearchSearch

Having Trouble Running MPICH in Windows

 
Post new topic   Reply to topic    The OpenSees Community Forum Index -> Parallel Processing
View previous topic :: View next topic  
Author Message
bayram_aygun



Joined: 05 May 2007
Posts: 109
Location: Houston, TX

PostPosted: Fri Apr 25, 2008 1:07 pm    Post subject: Having Trouble Running MPICH in Windows Reply with quote

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,
_________________
Bayram Aygun
Graduate Student, Civil&Env. Eng.
Rice University
Back to top
View user's profile Send private message
neallee



Joined: 14 Aug 2005
Posts: 57
Location: China

PostPosted: Mon Apr 28, 2008 4:16 am    Post subject: Reply with quote

Check your path enviroment setting, please.

Make sure the "X:\MPICH2\bin" is in front of the Matlab Path.

Since the Matlab also have an "mpiexec" command in their Path, which caused the "smpd version mismatch"...


Best regards,

Ning
_________________
Li Ning
Back to top
View user's profile Send private message Send e-mail
bayram_aygun



Joined: 05 May 2007
Posts: 109
Location: Houston, TX

PostPosted: Mon Apr 28, 2008 5:43 pm    Post subject: Reply with quote

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

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The OpenSees Community Forum Index -> Parallel Processing All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


opensees-support @ berkeley.edu
©2006, UC Regents
Supported by the National Science Foundation