Authors:M. Borland, R. Soliday |
Steps |
A. Download and install XQuartz from www.xquartz.org.
B. Create a directory to store the AOP programs. For example I use: ~/sdds C. Download AOP software into this directory:
gzip -d *.gz for f in *.tar; do tar -xvf $f; done This will unpack the programs into ~/sdds/darwin-x86 and ~/sdds/oagtcltk E. Setup environment variables in ~/.profile
F. If you installed oagtcltk.darwin-x86.tar.gz you will have mpl_motif in your path, which is our Motif plotting program. Motif doesn't work well with the newer versions of XQuartz. First try to run mpl_motif to see if it brings up an empty plotting window. If instead it prints an error, try this: DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespaceIf mpl_motif still won't work, try this: sudo cp /opt/X11/lib/libXt.6.dylib /opt/X11/lib/libXt.6.dylib.original sudo cp -f /opt/X11/lib/flat_namespace/libXt.6.dylib /opt/X11/lib/libXt.6.dylib If mpl_motif still won't work, you will have to use sddsplot with the -device=png -output=sddsplot.png options to print directly to a file. |