Hi Alan,
Thanks for your quick response! I had earlier tried the 5.10.0
release with a version of my Fortran code where I had inserted 'use
plplot' everywhere a plplot routine is called, but had encountered
problems I could not resolve. That is why I went back to the 5.9.10
release. When I commented out all the calls to plwidth at least the
code compiled and could be executed. Here are the sorts of errors I
get with the 5.10.0 release:
$ make sphplt
gfortran -fdefault-real-8 -O3 -Iinclude -Llib -c -o graphx.o graphx.f
graphx.f:106.72:
call plline(n101,xx,yy)
1
Error: There is no specific subroutine for the generic 'plline' at (1)
graphx.f:2079.72:
call plfill(4,x,y)
1
Error: There is no specific subroutine for the generic 'plfill' at (1)
graphx.f:172.72:
call plfill3(3,xr(1,1),xr(1,2),xr(1,3))
1
Error: There is no specific subroutine for the generic 'plfill3' at (1)
I copied the lib and include directories created in
plplot-5.10.0/build_dir to the filespace where I am seeking to
compile. I also copied all the files in the directory bindings/f95
to the local filespace. I suspect I am still missing some crucial
files. Can you identify what is wrong here?
Thanks so much for your assistance!
John
At 12:02 AM 1/17/2015, Alan W. Irwin wrote:
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
__________________________
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general