<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div dir="ltr" id="yui_3_16_0_1_1498669392728_5811">I guess I am not making myself clear. I was able to produce the Cairo pdf, but still have the original error:</div><div dir="ltr" id="yui_3_16_0_1_1498669392728_5810"><br></div><div dir="ltr" id="yui_3_16_0_1_1498669392728_5856">/lustre/local/ncl_ncarg-6.4.0-pgi/lib/libncarg_gks.a(crodisplay.o): In function `croActivateX11':</div><div dir="ltr" id="yui_3_16_0_1_1498669392728_5857">/lustre/users/ramos/ncl_ncarg-6.4.0-pgi/ncarg2d/src/libncarg_gks/cdrivers/./crodisplay.c:350: undefined reference to `cairo_xlib_surface_get_display'</div><div dir="ltr" id="yui_3_16_0_1_1498669392728_5858">/lustre/users/ramos/ncl_ncarg-6.4.0-pgi/ncarg2d/src/libncarg_gks/cdrivers/./crodisplay.c:350: undefined reference to `cairo_xlib_surface_get_drawable'</div><div dir="ltr" id="yui_3_16_0_1_1498669392728_5859">/lustre/users/ramos/ncl_ncarg-6.4.0-pgi/ncarg2d/src/libncarg_gks/cdrivers/./crodisplay.c:359: undefined reference to `cairo_surface_flush'</div><div dir="ltr" id="yui_3_16_0_1_1498669392728_5860">/lustre/users/ramos/ncl_ncarg-6.4.0-pgi/ncarg2d/src/libncarg_gks/cdrivers/./crodisplay.c:399: undefined reference to `cairo_xlib_surface_set_size'</div><div class="signature" id="yui_3_16_0_1_1498669392728_3792"><div style="color:rgb(255, 0, 0);font-size:13px;font-family:arial, helvetica, clean, sans-serif;background-color:transparent;font-style:italic;font-weight:bold;" id="yui_3_16_0_1_1498669392728_3802"><br></div></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Wednesday, June 28, 2017 9:59 AM, Mary Haley <haley@ucar.edu> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv4128500760"><div><div dir="ltr"><div class="yiv4128500760gmail_default" style="font-size:small;">Are you able to open the agex01.pdf file? It should like like the file that is attached.</div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;">I don't know what "ieee_inexact is signaling" is. This is a PGI error. I just googled it, and it seems to come from the STOP statement in agex01.f. You can try this:</div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;">ncargex agex01 -W pdf -n</div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;">This simply copies the program to your current directory, but doesn't run it.</div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;">Then, edit the agex01.f file and remove the STOP line.</div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;">Compile and run the agex01.f program with:</div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;">ncargf77 -o agex01 agex01.f</div><div class="yiv4128500760gmail_default" style="font-size:small;">./agex01</div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;">This should produce a cairo1.pdf file (not an agex01.pdf) file. Have a look at this file and see if it looks like the file I attached.</div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;">If you want to see if an X11 window output works, try this:</div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;">
<div class="yiv4128500760gmail-p1"><span class="yiv4128500760gmail-s1"> ncargex agex01 -W x11 -clean</span></div><div class="yiv4128500760gmail-p1"><span class="yiv4128500760gmail-s1">Instead of a PDF file, you should see a window pop up with a plot that looks like the agex02.pdf file. To make this "x11" window go away, click on it with your left mouse button.</span></div></div><div class="yiv4128500760gmail_default" style="font-size:small;">--Mary</div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv4128500760gmail_default" style="font-size:small;"><br clear="none"></div></div><div class="yiv4128500760yqt9268439164" id="yiv4128500760yqt97342"><div class="yiv4128500760gmail_extra"><br clear="none"><div class="yiv4128500760gmail_quote">On Wed, Jun 28, 2017 at 10:50 AM, brown wrap <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:gramos@yahoo.com" target="_blank" href="mailto:gramos@yahoo.com">gramos@yahoo.com</a>></span> wrote:<br clear="none"><blockquote class="yiv4128500760gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_9210"><span>OK, I modified </span>ncargf90 and ncargf77 and I was able to produce cpex08 and the Cairo pdf, but I still get the original error':</div><span class="yiv4128500760"></span><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_9210"><br clear="none"></div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11137">ncargex agex01 -W pdf -clean</div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11138"><br clear="none" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11139"></div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11140">NCAR Graphics Fortran Example <agex01></div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11141"><br clear="none" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11142"></div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11143"> Copying agex01.f</div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11144"><br clear="none" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11145"></div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11146">Compiling and linking...</div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11147">pgf90 -tp k8-64 -O -Msignextend -Mreentrant -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp -O -o agex01 agex01.f -L/lustre/local/ncl_ncarg-6.4. 0-pgi/lib -L/lustre/local/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -liconv -lbz2</div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11148"><br clear="none" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11149"></div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11150">Executing <agex01>...</div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11151">Warning: ieee_inexact is signaling</div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11152">FORTRAN STOP</div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11153"><br clear="none" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11154"></div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11155">cairo PDF file is named agex01.pdf.</div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11156"><br clear="none" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11157"></div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11158">ramos@grace:~></div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11158"><br clear="none"></div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11158">We don't have an X11 directory. I substituted /lustre/local/lib for the X11 directory and it worked. But as I mentioned, I still have the original error.</div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11158"><br clear="none"></div><div dir="ltr" id="yiv4128500760m_-8817897382994490822yui_3_16_0_1_1498667672888_11158">Greg</div></div></div></blockquote></div><br clear="none"></div></div></div></div><br><br></div> </div> </div> </div></div></body></html>