Version

120 views
Skip to first unread message

Zaire Landy

unread,
Mar 27, 2021, 1:43:48 PM3/27/21
to SUAVE FORUM
Hello, After installing the latest version of SUAVE, I can't run the codes anymore. The computer is unusable for more than 5 minutes after running any code. In the previous version it normally ran. Has anyone had this same problem? I also can't find the previous version of SUAVE to download. If anyone has, please send me.  

Michael Kruger

unread,
Mar 29, 2021, 2:17:26 PM3/29/21
to SUAVE FORUM
Hi,

I haven't experienced this specifically, but to save you some frustration you could try to kill the python processes that are spawned by SUAVE after the code crashed. It is probably these processes that are
causing the computer to be slow. You can do this in the task manager of whatever operating system you are using.

Michael

Message has been deleted

Zaire Landy

unread,
Mar 29, 2021, 5:42:15 PM3/29/21
to SUAVE FORUM
Thanks for your response.

I cannot open the task manager because the computer crashes completely. Not even the mouse moves while the code runs. I tried on windows and linux and I have the same problem.

I was thinking and maybe my computer is not powerful enough to support this latest version (2.3.0 and 2.3.1) well. But it is a little strange that it has such a huge leap in demand, since the old version (2.2.0) ran in a few seconds. If anyone has any tips: s

Michael Kruger

unread,
Mar 29, 2021, 5:49:44 PM3/29/21
to SUAVE FORUM
Hi, that's strange behavior, I don't think it could have anything to do with the performance of the computer; after all it's just Python code. A slower computer should just take longer, but the end result
should be the same.

When you run the model, does Python print out some error code? Or does the computer just crash immediately?

Are you able to run other Python scripts and the Python REPL?

Zaire Landy

unread,
Mar 30, 2021, 1:56:41 PM3/30/21
to SUAVE FORUM
HI,

No, there is no error code, it just hangs and comes back after 5 ~ 10 minutes normally with the graphics. I can run other python scripts and I can also run some simpler code from python. 
We don't have much experience with SUAVE, so most of our scripts are based on the tutorial's B737 and this is one of the scripts that started crashing when I installed the new version of SUAVE. All the scripts we made using the B737 as a base also crash.
Another person is also having the same problem on the computer, although it takes less time to normalize and another reported a slower time to run the codes, but nothing significant.
Debugging tut_mission_B737.py,  the problem occurs from line 55: analyses.finalize (). 

Michael Kruger

unread,
Mar 30, 2021, 2:00:35 PM3/30/21
to SUAVE FORUM
The issue where the computer just lags for 5~10 minutes is odd, not sure what could be causing that.

Regarding the other problems when upgrading SUAVE versions, did you see this post? It looks like definitions of component origins changed.

Michael

Emilio

unread,
Mar 30, 2021, 8:13:59 PM3/30/21
to SUAVE FORUM
Hi,
Internally we have never seen that issue. It being at the end makes me suspect that it's an issue with Matplotlibs plotting.

Try updating all the packages that SUAVE relies one. You can use pip (or pip3 depending on how your machine is setup).

pip install -U numpy
pip install -U scipy
pip install -U scikit-learn
pip install -U matplotlib

I wouldn't suggest downgrading, but if you wish here are all the old releases.


-Emilio
Message has been deleted

Zaire Landy

unread,
Apr 2, 2021, 11:27:11 PM4/2/21
to SUAVE FORUM
Still crashes.
The older version continues to run well. She is still useful to me.
 I will try to install the latest version on another computer to see if the problem persists. If so, I may be missing an installation procedure. Thanks a lot for the help. :)
Reply all
Reply to author
Forward
0 new messages