From: Alan W. I. <ir...@be...> - 2015-01-17 08:02:32
|
On 2015-01-16 17:45-0800 John Baumgardner wrote: > For some strange reason when I try to link my Fortran graphics application > under Cygwin against the plplot 5.9.10 libraries, routine plwidth fails to > link, despite the fact that many other plplot procedures link and work > flawlessly. Can anyone provide a suggestion as to how I might resolve this? Hi John: I noticed that you were using the f77 binding of PLplot which was deprecated for release 5.9.10, and dropped for 5.9.11 for the reasons we mentioned in those release announcements. Instead, you should be using the f95 bindings of the latest released version of PLplot which is 5.10.0. The support for Fortran 77 in our f95 bindings is actually pretty good since Fortran 95 generally supports most of Fortran 77. For example, your Fortran 77 code that worked (more or less) with the f77 binding normally should require very few changes (usually just the addition of a "use plplot" statement) to work with our latest f95 binding. So please try that possibility with our latest release (5.10.0), and let us know how it goes. By the way, we are rewriting much of our f95 binding right now to make those bindings much simpler for us to maintain, and also to make it a lot easier to use by our users. For example, that rewritten binding should provide a version of all PLplot calls with single precision arguments and also double precision arguments which will be selected automatically by the f95 binding (via function overloading) depending on whether all the real arguments of a call to a PLplot Fortran routine are all single precision or all double precision. That updated version is not yet working correctly for us, but when it does we will commit it to our git master branch to give Fortran users like you a chance to test it thoroughly on all platforms before we officially release it. So please keep that future Fortran testing opportunity in mind (which we will announce here when the time comes). Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |