parallel Examples

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

Moderator: selimgunay

Post Reply
Alexandros
Posts: 14
Joined: Fri May 07, 2010 4:51 pm
Location: Notre Dame

parallel Examples

Post by Alexandros » Mon Sep 06, 2010 7:16 am

Dr. McKenna

We talked at OpenSees Days and I asked you for some more examples on parallel analysis. Can you please upload or email them . What I am interested in mostly, is the case of multiple runs of the same model for different ground motion records.

Thank you in advance

nicolecivil
Posts: 2
Joined: Thu Nov 24, 2011 12:02 am
Contact:

Re: parallel Examples

Post by nicolecivil » Thu Nov 24, 2011 12:09 am

I do not understand this thread :(

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

Re: parallel Examples

Post by fmk » Thu Dec 15, 2011 1:53 pm

there are some in the TeragridExamples directory found under EXAMPLES.

In addition, I have started a simple article on the wiki.
http://opensees.berkeley.edu/wiki/index ... eter_Study

pikalaina
Posts: 1
Joined: Thu Dec 22, 2011 10:29 am
Contact:

Re: parallel Examples

Post by pikalaina » Thu Dec 22, 2011 10:36 am

What is this topic about?

Seems someone is tryin to spam or something?

Roe11
Posts: 1
Joined: Sat Dec 24, 2011 1:54 am
Location: India
Contact:

Re: parallel Examples

Post by Roe11 » Sat Dec 24, 2011 2:09 am

These are some illustrations examples for this thread http://opensees.berkeley.edu/wiki/index ... nSees_User

Marty101
Posts: 1
Joined: Sat Dec 31, 2011 12:25 pm
Location: Quebec
Contact:

Re: parallel Examples

Post by Marty101 » Tue Jan 03, 2012 9:55 am

Roe11 wrote:
> These are some illustrations examples for this thread
> http://opensees.berkeley.edu/wiki/index ... nSees_User


Thanks, better with examples !

EasterSudharta
Posts: 1
Joined: Sat Feb 25, 2012 6:59 pm

Re: parallel Examples

Post by EasterSudharta » Sat Feb 25, 2012 7:21 pm

Example:
set pid [getPID]
set numP [getNP]
set count 0;

source ReadRecord.tcl
set g 386.4

foreach scaleFactor {0.5 0.75 1.0 1.5 2.0} {
foreach gMotion [glob -nocomplain -directory ./ *.AT2] {

if {[expr $count % $numP] == $pid} {

source model.tcl
source analysis.tcl

set ok [doGravity]

loadConst -time 0.0

if {$ok == 0} {
set gMotionName [string range $gMotion 0 end-4]
ReadRecord $gMotion $gMotionName$scaleFactor.dat dT nPts

timeSeries Path 1 -filePath $gMotionName$scaleFactor.dat -dT $dT -factor [expr $g*$scaleFactor]

recorder EnvelopeNode -file $gMotionName$scaleFactor.out -node 100 -dof 1
doDynamic $dT $nPts

file delete $gMotionName$scaleFactor.dat
}
}
incr count 1
}
}
Online Marketing Made Easy | Hilton head real states

“A computer once beat me at chess, but it was no match for me at kick boxing.”

james2sw12
Posts: 1
Joined: Thu Mar 15, 2012 11:02 am
Contact:

Re: parallel Examples

Post by james2sw12 » Thu Mar 15, 2012 11:12 am

@ EasterSudharta

You are incrementing with the condiions and it seems working at the end nice to get the answer.. I was lacking this logic just forgot to increment...

Thank You..

Neilsutton
Posts: 1
Joined: Wed Jul 04, 2012 6:21 am

Re: parallel Examples

Post by Neilsutton » Wed Jul 04, 2012 6:26 am

The note in regard to spamming is confusing. There were some helpful links posted so I have no idea what the user is referring to. Anyway thanks so much for the active participation and information. I haven't posted before but have browsed over the past few months and found much of the information helpful to my activities.

Neil

Post Reply