CloseOnWrite results in crash

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
ckay
Posts: 7
Joined: Thu Jan 15, 2015 7:31 pm
Location: University of Auckland

CloseOnWrite results in crash

Post by ckay »

Hello,

I have a problem when using closeOnWrite for node recorder. The program crashes saying "OpenSees.exe has stopped working" and I can only click "close the program".

I still can see in the background the following error message:
"NodeRecorder::NodeRecorder - dataToStore -closeOnWritenot recognized <disp, vel, accel, incrDisp, incrDeltaDsip)"

I also have a problem with the element recorder. While the programme doesn't crash, it does not write any result into the file.

Is there a problem with my command (see below)?

recorder Element -file Results_SSPquad/stress.out -time -dT $recDT -closeOnWrite -eleRange 1 10 stress #does not write any results into the file

recorder Element -xml Results_SSPquad/stress.xml -time -dT $recDT -eleRange 1 10 stress #works fine

recorder Node -file Results_SSPquad/disp.out -time -dT $recDT -closeOnWrite -nodeRange 1 9 -dof 1 2 disp #crashes

Thank you for your help in advance.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: CloseOnWrite results in crash

Post by fmk »

put the -closeOnWrite after the -file file.out

i have made the modification in code so this will not happen in future releases. thanks for pointing it out.
ckay
Posts: 7
Joined: Thu Jan 15, 2015 7:31 pm
Location: University of Auckland

Re: CloseOnWrite results in crash

Post by ckay »

Great, thank you for your reply.
Post Reply