Error in running OpenSeesSP

This forum is for issues related to parallel processing
and OpenSees using the new interpreters OpenSeesSP and OpenSeesMP

Moderator: selimgunay

Post Reply
AHARSHIAN
Posts: 87
Joined: Tue Apr 03, 2012 3:34 am
Location: Germany, Weimar
Contact:

Error in running OpenSeesSP

Post by AHARSHIAN » Tue Apr 30, 2013 12:19 am

Dear Friends,

I Installed MPICH2 on my machine and I have checked the smpd status which returned smpd running on $MyHostName$.

How should I run a file now!?

I tried the following command in cmd (in the file directory where OpenSeesSP.exe and my file.tcl exist):

mpiexec -np 2 OpenSeesSP CH.tcl

Then I got the "Credentials for $MyHostName$" rejected connecting to $MyHostName$
Aborting: Unable to connect to $MyHostName$

What is the error and how can I solve it?

Thanks in dvance for your help,
A.H.A
Best Regards,
A.H.Arshian

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Error in running OpenSeesSP

Post by fmk » Tue Apr 30, 2013 11:08 am

this is an mpi problem you need to sort out .. try stopping and restarting the spmd in debug mode to see if the error messages give a clue as to what your problems are
smpd -stop
smpd -start -d

AHARSHIAN
Posts: 87
Joined: Tue Apr 03, 2012 3:34 am
Location: Germany, Weimar
Contact:

Re: Error in running OpenSeesSP

Post by AHARSHIAN » Thu May 02, 2013 6:12 am

Dear Dr. fmk,

Thanks for your response. The problem is solved by removing and registering the mpiexec again.

I run the the command in cmd, nothing happens! It goes to the next line and remains in the directory:

C:\Users\Amir\Desktop\OpenSeesParallel2.4.0>mpiexec -np 2 OpenSeesSP CH.tcl # Then when I press the Enter, results will be:

C:\Users\Amir\Desktop\OpenSeesParallel2.4.0> # Nothing happens! No warning, No Error and No Analyzing!

Thanks in advance for your help,

A.H.A
Best Regards,
A.H.Arshian

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Error in running OpenSeesSP

Post by fmk » Thu May 02, 2013 9:46 am

not sure if you are saying the problem is solved or if the original error has been solved and now there is a new problem!

AHARSHIAN
Posts: 87
Joined: Tue Apr 03, 2012 3:34 am
Location: Germany, Weimar
Contact:

Re: Error in running OpenSeesSP

Post by AHARSHIAN » Thu May 02, 2013 11:50 pm

Dear Dr. fmk,

I have first installed MPICH2 (mpich2-1.4.1p1-win-ia32). Then I add its path through Environmental variables. Finally, I ran the following commands:

smpd -install
mpiexec -remove
mpiexec -register (I add the User and Pass in this section)
mpiexec -validate (Which returned success)
smpd -status (Which returned running on $MyHostName$)

It seems up to now, all the things work fine! However, when I want to run my tcl file by the following command, it returns nothing!

C:\Users\Amir\Desktop\OpenSeesParallel2.4.0>mpiexec -np 4 OpenSeesSP CH.tcl

I have tried to run the file through OpenSeesSP.exe by: source CH.tcl

it works like OpenSees as expected. The System/Solver is Mumps

Thanks in advance for your help,

A.H.A
Best Regards,
A.H.Arshian

Post Reply