Hii
I am trying to do a parametric study in OpenSees on multistoried 3-d buildings. There are about 44 different EQ data i have to apply for each of my model thus making the run time about 2-3 days long. I need to do a faster run of my program. Since the NEESHUB have been shut down, I am now trying to run my analysis on DESIGNSAFE hub using Opensees MP. I am not familiar with parallel opensees and some of the documents i found were confusing. Can someone look over my code and confirm whether i am doing right. Also i need specify the approximate time i expect the program to run. How am i supposed to come up with that ??
set np [getNP]
set pid [getPID]
set flag 0
foreach iter [list 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44] {
puts "analysis $iter is running"
if {[expr $flag % $np] == $pid} {
# ALL UNITS TAKEN ARE IN SI STANDARDS
# SETUP
# Remove existing model
wipe;
# Modelling Command - 3 dimensional with 6 degrees of freedom per node
model BasicBuilder -ndm 3 -ndf 6
set dataDir Data$iter; # set up name of data directory -- remove
file mkdir $dataDir; # create data directory
set GMdir "../GMfiles"; # ground-motion file directory
...........
..........
...........
..........
...........
loadConst -time 0.0
set Tol 1.0e-6; # reduce tolerance after gravity loads
puts "Model Built"
source EQ_uniform_$iter.tcl;
puts "Analysis $iter over"
}
incr flag 1
}
Help regarding Opensees MP
Moderator: selimgunay
-
- Posts: 8
- Joined: Tue May 23, 2017 4:25 am
- Location: NIT ROURKELA
Re: Help regarding Opensees MP
that should work .. the longest amount of time you can have is 24hours .. use that