VSPAERO Setup Input File on Mac

318 views
Skip to first unread message

Bryan Morrisey

unread,
Apr 29, 2015, 8:55:05 PM4/29/15
to ope...@googlegroups.com
I'm trying to recreate the example from your youtube video, and the Setup Input File button doesn't seem to have the correct function on OS X 10.9.5. The Setup Input File button has one of two outcomes for me:
  1. No effect, the Setup tab is empty and I can't find any *.vspaero file in my computer.
  2. Same as 1, but the button states change to: Setup Input File and Launch Solver are inactive, Launch Viewer and Kill Solver are active. When this happens, the Solver tab shows no activity.
For this exercise, VSP is launched from terminal, so the working directory is the OpenVSP directory which contains my two-element geometry which is similar to the youtube video. I have set the Mac Security to allow apps downloaded from everywhere.

Any thoughts on what may be happening?

Thanks!


Rob McDonald

unread,
Apr 29, 2015, 11:03:46 PM4/29/15
to ope...@googlegroups.com
Earlier today, someone ran into something similar that was related to
the existence of spaces in the path to VSP and/or the place where the
DegenGeom *.csv file gets written.

Check that first & let me know if it helps.

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.
> For more options, visit https://groups.google.com/d/optout.

Bryan Morrisey

unread,
Apr 30, 2015, 11:12:15 AM4/30/15
to ope...@googlegroups.com
The path to my geom file doesn't have spaces, I further removed the periods just in case, and the same issue occurs.

Path:
/Applications/OpenVSP_310/VSPAEROtest_DegenGeom.csv

Rob McDonald

unread,
Apr 30, 2015, 11:28:50 AM4/30/15
to ope...@googlegroups.com
Clicking the setup button is supposed to launch the vspaero executable
with the -setup option (and others).

If you run vspaero from the command line, it will dump out the available options

./vspaero

You can run './vspaero -setup filename' to get a default *.vspaero
file -- or you can specify things like OpenVSP does by running
'./vspaero -setup -sref 42.0 -bref 16.5 filename' etc.

filename is the name of the DegenGeom file -- but with the .csv dropped.

So, please try running -setup from the command line manually & let me
know if there are any errors.

Once the *.vspaero file exists, you should be able to run the solver &
viewer from the GUI as normal -- if that doesn't work, try them from
the command prompt as well.

Rob

Bryan Morrisey

unread,
Apr 30, 2015, 12:10:11 PM4/30/15
to ope...@googlegroups.com
Ok, I get a missing Library error when I run vspaero with no options.

dyld: Library not loaded: /opt/local/lib/libgcc/libgomp.1.dylib

  Referenced from: /Applications/OpenVSP_310/./vspaero

  Reason: image not found

Trace/BPT trap: 5


I've looked around a bit on my filesystem and can't find libgomp anywhere. Don't have too much time to do web research on this right now, but could try to look into it more during evening/weekend time.

Rob McDonald

unread,
Apr 30, 2015, 12:26:31 PM4/30/15
to ope...@googlegroups.com
Ok, libgomp is the OpenMP library. This is a new dependency (for us)
introduced by the multi-threaded capability of VSPAERO.

libgomp was not statically linked, so it is looking for it on your
computer. Since you don't have the right (or perhaps any) libgomp
installed, this fails.

I will try to figure out if we can statically link against libgomp to
make this problem go away.

In the meantime, if you were to install macports -- and then the
macports gcc4.8 on your machine, you would get the appropriate libgomp
installed and things should work...

Thanks for the diagnosis.

Rob



On Thu, Apr 30, 2015 at 9:10 AM, Bryan Morrisey

Rob McDonald

unread,
May 2, 2015, 10:51:28 AM5/2/15
to ope...@googlegroups.com
I've made some progress on this and it looks like I'll be able to come
up with a fix. If all goes well, I'll push out 3.1.1 sometime this
weekend.

Rob
Reply all
Reply to author
Forward
0 new messages