[visit-users] in-situ connection fails with Darwin pre-compiled distribution
bjw at ilight.com
Fri Jul 24 13:19:50 EDT 2015
I don't think the Mac version of VisIt gets built with Mesa support. At
least, I don't do that. When I load a sim, I also get the messages about
failing to load OSMesa, which is code that should probably not be called on
Attempting to preload osmesa as libGL -- calling dlopen()
dlopen error: dlopen(, 9): no suitable image found. Did find:
/usr/local/lib/: not a file
/usr/lib/: not a file
failed to preload osmesa from VISIT_MESA_LIB:
Failed to open the VisIt library: dlopen(libsimV2runtime_ser.dylib, 9):
image not found
It looks like the OSMesa loading code gets called because we detect that
the VISIT_MESA_LIB environment variable in the printout generated by the
internal "visit -env" call. I think internallauncher just prints that
variable whether or not it is set or applies to Mac. I think this is
harmless. After failing to load the Mesa library, my Mac (albeit 10.8.2)
goes on to load the rest of the Libsim control functions:
visit_get_runtime_function handle=0x7f97b2404ec0, name=simv2_get_engine
visit_get_runtime_function handle=0x7f97b2404ec0, name=simv2_initialize
I do tend to just run from a development build where all of the VisIt
libraries and the Libsim runtime libraries are all co-located in the
"/path/to/build/lib" directory. I make my sim use those via the
Does your version fail to load the control functions? Those are the
On Fri, Jul 24, 2015 at 10:02 AM, Favre Jean <jfavre at cscs.ch> wrote:
> Hello folks
> I have instrumented a code for in-situ. Works fine on my Linux laptop,
> work fine on the Cray.
> I can't make it work on a colleague's laptop (Mac OS 10.10) . We installed
> the following
> compiled and linked with it...
> Connecting fails and the Tracing complains that it cannot find the the
> osmesa lib. Indeed, VISIT_MESA_LIB is empty. Should it be empty? Well, I
> cannot find any osmesa related libs in that distribution package. But I am
> not familiar with the Mac environments so don't know what is right or wrong.
> Looking at the download page, I see that one LInux version is compiled
> with osmesa. Noting is said about the dmg file mentioned above...
> Here are some bits from the trace file...
> command=visit -env -engine 2>/dev/null
> Attempting to preload osmesa as libGL -- calling dlopen()
> dlopen error: dlopen(, 9): no suitable image found. Did find:
> /Applications/VisIt.app/Contents/Resources/2.9.2/darwin-x86_64/lib/: not a
> /usr/local/lib/: not a file
> /usr/lib/: not a file
> failed to preload osmesa from VISIT_MESA_LIB:
> Your advice is appreciated.
> VisIt Users Wiki: hxxp://visitusers.org/
> Frequently Asked Questions for VisIt: hxxp://visit.llnl.gov/FAQ.html
> To Unsubscribe: send a blank email to
> visit-users-unsubscribe at elist.ornl.gov
> More Options: hxxps://elist.ornl.gov/mailman/listinfo/visit-users
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the visit-users