parallel Examples
Moderator: selimgunay
-
- Posts: 14
- Joined: Fri May 07, 2010 4:51 pm
- Location: Notre Dame
parallel Examples
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
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
-
- Posts: 2
- Joined: Thu Nov 24, 2011 12:02 am
- Contact:
Re: parallel Examples
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
In addition, I have started a simple article on the wiki.
http://opensees.berkeley.edu/wiki/index ... eter_Study
Re: parallel Examples
What is this topic about?
Seems someone is tryin to spam or something?
Seems someone is tryin to spam or something?
Re: parallel Examples
These are some illustrations examples for this thread http://opensees.berkeley.edu/wiki/index ... nSees_User
Re: parallel Examples
Roe11 wrote:
> These are some illustrations examples for this thread
> http://opensees.berkeley.edu/wiki/index ... nSees_User
Thanks, better with examples !
> These are some illustrations examples for this thread
> http://opensees.berkeley.edu/wiki/index ... nSees_User
Thanks, better with examples !
-
- Posts: 1
- Joined: Sat Feb 25, 2012 6:59 pm
Re: parallel Examples
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
}
}
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.”
“A computer once beat me at chess, but it was no match for me at kick boxing.”
-
- Posts: 1
- Joined: Thu Mar 15, 2012 11:02 am
- Contact:
Re: parallel Examples
@ 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..
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..
-
- Posts: 1
- Joined: Wed Jul 04, 2012 6:21 am
Re: parallel Examples
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
Neil