On 2015-01-17 16:46-0800 John Baumgardner wrote:

> Hi Alan,
>
>   I followed your recommendation and created a simple Fortran example that 
> illustrates the problem on Cygwin.  I created a tarball of the entire 
> plplot-5.10.0 directory that contains everything that cmake, make, and make 
> install generated in a subdirectory named build_dir, including the cmake.out, 
> make.out, and make_install.out files.  The shell script cmake.sh I used to 
> invoke cmake is in the main 5.10.0 directory.  Also in build_dir there is a 
> directory named 'test' which contains the Fortran example code named circle.f 
> that illustrates the problem.  There is also a .sh script named compile.sh 
> that I used to attempt to compile circle.f.  In addition I copied all the 
> contents of /bindings/f95 into this directory.

Hi John:

It's a judgement call, but 20MB is a fairly large attachment to be
sent to everyone on this list.  But partly that is my fault; I should
have been more specific about my request.

However, the good news is I found what I needed (circle.f and how you
built it) to figure out this problem which turns out not to be
specific to Cygwin.

> $ compile.sh
> circle.f:26.72:
>
>      call plline(n101,xx,yy)
>                                                                        1
> Error: There is no specific subroutine for the generic 'plline' at (1)

I verified that issue.  To solve it, I simply used the redacted form
of subroutine/function call with the redundant dimension information
dropped, i.e.,

call plline(xx,yy)

Note, it is quite a while since we have used the f77 interface so my
original advice to you was incomplete about converting over to f95.  I
should have also added to the "use plplot" advice that since we
dropped f77, our f95 capabilities and API have evolved and, for
example, we are now taking advantage of certain Fortran 95
capabilities like knowing the redundant array dimensions.  So you have
to use the redacted form (like above with redundant dimension
information dropped) of all calls.

When in doubt about exactly what the redacted form is, look at files
in examples/f95/ for working examples of all the calls to the PLplot
Fortran binding API.

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

Reply via email to