OpenSees exits immediately after running file!

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

Moderators: silvia, selimgunay, Moderators

Post Reply
ankitdubey
Posts: 4
Joined: Wed Jan 20, 2016 9:22 am
Location: North Carolina State University

OpenSees exits immediately after running file!

Post by ankitdubey »

Hello there!

I'm trying my model in OpenSees.

But as soon as I am trying to run it, OpenSees exits immediately (so fast that I can't even see the error. The only thing that I am able to read is "Linear..").

Is there a way to see what error I am getting?

Or is there any way to stall OpenSees from exiting immediately?

Any answers would help!

Ankit
yekose
Posts: 50
Joined: Thu May 15, 2008 5:46 am
Location: Turkey

Re: OpenSees exits immediately after running file!

Post by yekose »

maybe you can run it through the command line
ankitdubey
Posts: 4
Joined: Wed Jan 20, 2016 9:22 am
Location: North Carolina State University

Re: OpenSees exits immediately after running file!

Post by ankitdubey »

Thanks for the reply!

I did try your idea but my script is a pretty long one and when I paste the commands into the command line, it gives error related to formatting (mostly due to lack of blank spaces when I paste my commands into the command line).

It would become very cumbersome to paste each line into command line and then format it to include the spaces.

Is there a better way to know where the error lies?

Thanks in advance!

Ankit
yekose
Posts: 50
Joined: Thu May 15, 2008 5:46 am
Location: Turkey

Re: OpenSees exits immediately after running file!

Post by yekose »

no i meant to say use like old dos command prompt and just write > opensees.exe file.tcl
sb1966
Posts: 151
Joined: Wed Jul 23, 2008 8:08 am
Location: NERIST, INDIA
Contact:

Re: OpenSees exits immediately after running file!

Post by sb1966 »

Check if the last line in your source file is "exit". If so delete it.
----------------------------------
With Regards,
sb1966
ankitdubey
Posts: 4
Joined: Wed Jan 20, 2016 9:22 am
Location: North Carolina State University

Re: OpenSees exits immediately after running file!

Post by ankitdubey »

Thanks a lot!

I can see the error by running the file through the Command Prompt! :)

Ankit
Post Reply