sddsplot on Max OS X

Moderators: cyao, soliday

Post Reply
Jibong
Posts: 4
Joined: 23 Feb 2017, 10:43

sddsplot on Max OS X

Post by Jibong » 23 Feb 2017, 11:25

Hello.

I have installed elegant(the latest darwin-x86_elegant.tar.gz) on OS X Yosemite(10.10.5).
Calculation has run smoothly, but a plot cannot be obtained. I used XQuartz(2.7.11).
When I tryed to sddsplot, I got an error message:
**************************************************************************************
$ sddsplot a.twi -col=s, betax
$ Warning: Fatal Error:_XmGetDefaultDisplay cannot be used prior to VendorS.Initialize, returns NULL
**************************************************************************************
I want to know how to plot the data.
Any help would be appreciated.
Thanks and cheers,

soliday
Posts: 390
Joined: 28 May 2008, 09:15

Re: sddsplot on Max OS X

Post by soliday » 23 Feb 2017, 11:57

You will need to set the environmental variable DYLD_LIBRARY_PATH to /opt/X11/lib/flat_namespace to get this to work.
export DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespace
XQuartz changed libXt to a two-level namespace library. This is incompatible with openmotif applications which require this workaround. I will put this information next to the download link.

Jibong
Posts: 4
Joined: 23 Feb 2017, 10:43

Re: sddsplot on Max OS X

Post by Jibong » 23 Feb 2017, 15:11

Thank you very much for your prompt reply.
After setting the environmental variable you said, it's working perfectly.
Thanks again!

Post Reply