<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Another question….</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Brian thinks that -I/opt/local/lib/fortran/modules/plplot x00f.f90 -o x00f should be appearing someplace else within this program, but doesn’t see it. Can you please tell him where to look for it?</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Thank you!</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">(base) Amys-iMac:x00f bmiller$ gfortran-mp-10 -ffpe-trap=invalid,zero,overflow -fcheck=all -finit-real=nan -g -I/opt/local/lib/fortran/modules/plplot x00f.f90 -o x00f</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Undefined symbols for architecture x86_64:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  "___plfortrandemolib_MOD_arange_1", referenced from:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">      _MAIN__ in ccZG237q.o</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  "___plplot_MOD_plend_impl", referenced from:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">      _MAIN__ in ccZG237q.o</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  "___plplot_MOD_plinit_impl", referenced from:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">      _MAIN__ in ccZG237q.o</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  "___plplot_MOD_pllab_impl", referenced from:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">      _MAIN__ in ccZG237q.o</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  "___plplot_MOD_plparseopts_brief", referenced from:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">      _MAIN__ in ccZG237q.o</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  "___plplot_double_MOD_plenv_impl", referenced from:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">      _MAIN__ in ccZG237q.o</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  "___plplot_double_MOD_plline_impl", referenced from:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">      _MAIN__ in ccZG237q.o</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ld: symbol(s) not found for architecture x86_64</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">collect2: error: ld returned 1 exit status</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   Simple demo of a 2D line plot.</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   Copyright (C) 2011-2016  Alan W. Irwin</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   This file is part of PLplot.</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   PLplot is free software; you can redistribute it and/or modify</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   it under the terms of the GNU Library General Public License as published</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   by the Free Software Foundation; either version 2 of the License, or</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   (at your option) any later version.</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   PLplot is distributed in the hope that it will be useful,</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   but WITHOUT ANY WARRANTY; without even the implied warranty of</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   GNU Library General Public License for more details.</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   You should have received a copy of the GNU Library General Public License</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   along with PLplot; if not, write to the Free Software</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!     N.B. the pl_test_flt parameter used in this code is only</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!     provided by the plplot module to allow convenient developer</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!     testing of either kind(1.0) or kind(1.0d0) floating-point</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!     precision regardless of the floating-point precision of the</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!     PLplot C libraries.  We do not guarantee the value of this test</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!     parameter so it should not be used by users, and instead user</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!     code should replace the pl_test_flt parameter by whatever</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!     kind(1.0) or kind(1.0d0) precision is most convenient for them.</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!     For further details on floating-point precision issues please</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!     consult README_precision in this directory.</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class="">!</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(56, 79, 244);" class="">program<span style="color: #141414" class=""> x00f</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    <span style="color: #384ff4" class="">use</span> plfortrandemolib</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    <span style="color: #384ff4" class="">integer</span>, <span style="color: #384ff4" class="">parameter</span> :: NSIZE = 101</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    <span style="color: #384ff4" class="">real</span>(kind=pl_test_flt), <span style="color: #384ff4" class="">dimension</span>(NSIZE) :: x, y</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    <span style="color: #384ff4" class="">real</span>(kind=pl_test_flt) :: xmin = 0._pl_test_flt, xmax = 1._pl_test_flt, ymin = 0._pl_test_flt, ymax = 100._pl_test_flt</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>! integer          :: i</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    <span style="color: #384ff4" class="">integer</span> :: plparseopts_rc</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>! Prepare data to be plotted.</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    x = arange(NSIZE) / <span style="color: #384ff4" class="">real</span>(NSIZE-1,pl_test_flt)</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    y = ymax * x**2</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>! Or alternatively, using a DO-loop</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>!do i = 1,NSIZE</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>!    x(i) = real( i - 1, pl_test_flt ) / real( NSIZE - 1, pl_test_flt )</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>!    y(i) = ymax * x(i)**2</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>!enddo</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>! Parse and process command line arguments</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    plparseopts_rc = plparseopts( PL_PARSE_FULL )</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    <span style="color: #384ff4" class="">if</span>(plparseopts_rc .ne. 0) <span style="color: #384ff4" class="">stop</span> <span style="color: #bd166b" class="">"plparseopts error"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>! Initialize plplot</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    <span style="color: #384ff4" class="">call</span> plinit</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>! Create a labelled box to hold the plot.</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    <span style="color: #384ff4" class="">call</span> plenv( xmin, xmax, ymin, ymax, 0, 0 )</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(189, 22, 107);" class=""><span style="color: #141414" class="">    </span><span style="color: #384ff4" class="">call</span><span style="color: #141414" class=""> pllab( </span>"x"<span style="color: #141414" class="">, </span>"y=100 x#u2#d"<span style="color: #141414" class="">, </span>"Simple PLplot demo of a 2D line plot"<span style="color: #141414" class=""> )</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>! Plot the data that was prepared above.</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    <span style="color: #384ff4" class="">call</span> plline( x, y )</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(150, 122, 178);" class=""><span style="color: #141414" class="">    </span>! Close PLplot library</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20);" class="">    <span style="color: #384ff4" class="">call</span> plend</div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(20, 20, 20); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; color: rgb(56, 79, 244);" class="">end<span style="color: #141414" class=""> </span>program<span style="color: #141414" class=""> x00f</span></div></span></div></body></html>