Startup - unexpected errors

76 views
Skip to first unread message

CM100

unread,
Oct 7, 2021, 6:16:16 PM10/7/21
to OpenVSP
I am new to openVSP and opened the default wing and ran VSPAERO to look at the basics.  

I have the following environment:
macOS 10.15.7
3.5 GHz Quad-Core Intel Core i7
32 GB 1600 MHz DDR3
NVIDIA GeForce GTX 780M 4 GB

I received the following errors:

ERROR 7: Could not open History file: Unnamed_DegenGeom.history

File: /Users/runner/work/PrivateVSP/PrivateVSP/src/geom_core/VSPAEROMgr.cpp Line:2496

  • ERROR 7: Could not open Polar file: Unnamed_DegenGeom.polar
  • File: /Users/runner/work/PrivateVSP/PrivateVSP/src/geom_core/VSPAEROMgr.cpp Line:2672
  • ERROR 7: Could not open Load file: Unnamed_DegenGeom.lod
  • File: /Users/runner/work/PrivateVSP/PrivateVSP/src/geom_core/VSPAEROMgr.cpp Line:2908

I do not think the default wing has a flat L.E. or a rounded T.E., so I do not suspect the geometry.  Nonetheless VSPAERO crashed with these messages.  

Has anyone seen this before; any suggestions?

Regards.
 

Rob McDonald

unread,
Oct 7, 2021, 8:07:50 PM10/7/21
to ope...@googlegroups.com
I just tried it with a default wing and everything worked as expected.

Those errors mean that the VSPAERO solver crashed for some reason and OpenVSP was unable to read its output files.

Can you describe the exact steps you took -- or post the file of the model you ran?  Did you change _nothing_ from the default wing?

Rob


--
You received this message because you are subscribed to the Google Groups "OpenVSP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openvsp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openvsp/995a170c-3661-42bb-865c-08877dff83d6n%40googlegroups.com.

CM100

unread,
Oct 8, 2021, 10:58:11 AM10/8/21
to OpenVSP

Hi Rob,

First I want to thank you for responding.

My steps:
Open vsp executable file
Geom Browser -->WING--> Add (no other modifications)
Analysis pull down menu, selected VSPAERO ---> Launch Solver (using default conditions)
Then the messages presented above were displayed.
The Viewer Console showed "/Applications/OpenVSP-3.25.0-MacOS/vspaero -omp 4 Unnamed_DegenGeom" but no other data.
I attached .vsp3, .vspaero, .tri, and .tkey files (some from different run attempts, but all with the same procedure):

Thanks again for the help.

Regards,

Peter  
Straight wing example.tkey
Straight wing example.vsp3
Straight wing example.vspaero
Straight wing example.tri

Rob McDonald

unread,
Oct 8, 2021, 11:51:06 AM10/8/21
to ope...@googlegroups.com
Long shot idea...

Try saving the file someplace in your home directory before running VSPAERO.

You've got OpenVSP in /Applications and you're running on Unnamed_DegenGeom, which means you haven't saved yet.  This means OpenVSP will try to write its files to the current working directory -- wich might be in /Applications/OpenVSP-3.25.0-MacOS -- which you might not have permission to write to at this time.

If the files don't get written, then VSPAERO will choke looking for files and OpenVSP will eventually timeout.

Rob


CM100

unread,
Oct 8, 2021, 6:57:40 PM10/8/21
to OpenVSP

Hi Rob,  

Thanks for the suggestion,

I placed all of the openVSP programs in a new directory (not the applications directory).  I created the default wing in VSP and saved it as "test1.vsp3" in the same directory.  I closed VSP at the terminal.  Then I attempted to open VSP by clicking on the file "test1.vsp3" but the vsp executable file was greyed-out in the Finder window.  So, instead, I opened VSP directly by going to the new directory and clicking on it.  It opened.  Then, using the file pull down menu, I opened "test1.vsp3" and the previously saved default wing loaded.  With this environment I opened VSPAERO via the Analysis pull down menu and then pressed Launch Solver.  The following posted:

 

ERROR 7: Could not open History file: /Users/CM-001/openVSP - test1/OpenVSP-3.25.0-MacOS/test1_DegenGeom.history

File: /Users/runner/work/PrivateVSP/PrivateVSP/src/geom_core/VSPAEROMgr.cpp Line:2496

ERROR 7: Could not open Polar file: /Users/CM-001/openVSP - test1/OpenVSP-3.25.0-MacOS/test1_DegenGeom.polar

File: /Users/runner/work/PrivateVSP/PrivateVSP/src/geom_core/VSPAEROMgr.cpp Line:2672

ERROR 7: Could not open Load file: /Users/CM-001/openVSP - test1/OpenVSP-3.25.0-MacOS/test1_DegenGeom.lod

File: /Users/runner/work/PrivateVSP/PrivateVSP/src/geom_core/VSPAEROMgr.cpp Line:2908

 

This time, instead of "Unamed_DegenGeom.history" (also.polar and .lod), the vsp3 filename "test1" was picked up by the system; however, as you can see, the history, polar, and lod files could not be opened.

I believe I moved the needle only slightly.  Looking at the new information, do you have any other comments or suggestions?

Thanks again,

 

Peter

Rob McDonald

unread,
Oct 8, 2021, 7:03:29 PM10/8/21
to ope...@googlegroups.com
Are you running on a new M1 Mac?

Rob

CM100

unread,
Oct 8, 2021, 10:42:33 PM10/8/21
to OpenVSP

Hi Rob,

No.  

It is an iMac (27-inch, Late 2013)
macOS 10.15.7
3.5 GHz Quad-Core Intel Core i7
32 GB 1600 MHz DDR3
NVIDIA GeForce GTX 780M 4 GB

Peter

Rob McDonald

unread,
Oct 9, 2021, 12:28:10 AM10/9/21
to ope...@googlegroups.com
Thanks for following up with this.

After one of the cases fails -- leave all the files where they are, but open up a command prompt, change directories to where the files are and then run the command that appears in the VSPAERO console window.

Hopefully it will report some error that will be helpful to us.

Rob



CM100

unread,
Oct 9, 2021, 4:42:04 PM10/9/21
to OpenVSP
Hi Rob,

I believe I did what you recommended in your last response.

This is a list of the files contained in the directory (from the previous openVSP and VSPAERO runs):

     CM-001@Peters-iMac OpenVSP-3.25.0-MacOS % ls

     CustomScripts                  test1.tri                                         textures

     LICENSE                             test1.vsp3                                    vsp

     README.md                      test1.vspaero                              vspIcon.png

     airfoil                                   test1_CompGeom.csv              vspaero

     matlab                                 test1_CompGeom.txt               vspaero_ex

     python                                 test1_DegenGeom.csv             vspscript

     scripts                                 test1_DegenGeom.vspaero     vspslicer

     test1.tkey                            test1_DragBuild.tsv                   vspviewer

Then, while in this directory I ran VSPAERO (command prompt “open vspaero”).  When I did that, this window opened:

     Last login: Sat Oct  9 16:16:52 on ttys002

     CM-001@Peters-iMac ~ % /Users/CM-001/openVSP\ -\ test1/OpenVSP-3.25.0-MacOS/vspaero ; exit;

     dyld: Library not loaded: /usr/local/opt/gcc@10/lib/gcc/10/libgomp.1.dylib

     Referenced from: /Users/CM-001/openVSP - test1/OpenVSP-3.25.0-MacOS/vspaero

     Reason: image not found

     zsh: abort      /Users/CM-001/openVSP\ -\ test1/OpenVSP-3.25.0-MacOS/vspaero

     [Process completed]

Regards,

Peter

Rob McDonald

unread,
Oct 9, 2021, 8:03:13 PM10/9/21
to ope...@googlegroups.com
Ah Ha!  That explains it!

I changed something in the build system that affected 3.25.0.  Now, OpenMP is not statically linked into VSPAERO, so it is looking for a library file -- that isn't there.

You can either wait until the next version -- or revert back a version (I think just one).  Those should be statically linked and you won't see this problem.

Or, you can install OpenMP on your machine and then VSPAERO will be happy.

If you are a homebrew user, this is really easy (If you aren't, you probably should be), you can install the OpenMP libraries like this:

brew install libomp

Rob


CM100

unread,
Oct 10, 2021, 12:02:13 AM10/10/21
to OpenVSP

Hi Rob,

Excellent.  I reverted to 3.24.0 and VSPAERO is now running.  I appreciate the time you took to guide me.

Regards,

Peter

Rob McDonald

unread,
Oct 12, 2021, 7:18:18 PM10/12/21
to ope...@googlegroups.com
Please re-download 3.25.0 from the website and give it another try.

Rob


Reply all
Reply to author
Forward
0 new messages