Hi Alan, Jerry, PLplot list.

I just started updating the perl/PDL examples for plplot and have run into 
a question.

I updated x02.pl to clean it up and add the second plot that was missing 
(I have not checked anything into SVN yet). In order to make this work, I 
also had to update the PDL::Graphics::PLplot driver, which is part of the 
PDL distribution to add interfaces for some plplot routines not included 
before.   A new PDL version is not likely to be forthcoming for a while, 
at least several months, perhaps a year.

I also maintain a stand-alone version of PDL::Graphics::PLplot on CPAN, so 
I could put the required interface changes there.

My question is this:  Would it be better to have complete perl/PDL 
examples which depend upon an external PDL module from CPAN, or would it 
be better to have incomplete examples that are compatible with the latest 
PDL release?

Regards,

   Doug Hunt


[EMAIL PROTECTED]
Software Engineer III
UCAR - COSMIC, Tel. (303) 497-2611

On Wed, 3 Dec 2008, Doug Hunt wrote:

> Hi all:  Sorry I've been unresponsive of late...  I start to chip away at the 
> addition of the perl/PDL examples that are missing.
>
> Regards,
>
>  Doug Hunt
>
> [EMAIL PROTECTED]
> Software Engineer III
> UCAR - COSMIC, Tel. (303) 497-2611
>
> On Thu, 27 Nov 2008, Jerry wrote:
>
>> 
>> On Nov 27, 2008, at 2:36 PM, Andrew Ross wrote:
>> 
>>> 
>>> Alan,
>>> 
>>> I've also tried the latest svn version with -DHAVE_PTHREAD=ON
>>> -DBUILD_TEST=ON -DBUILD_DOC=ON on my Ubuntu Hardy system. Enabled
>>> drivers and bindings are the same as Alan, except that I don't have
>>> PDL/perl enabled. The -fvisibility=hidden option was added to the
>>> gcc / g++ command line. All code (including documentation) builds.
>>> There
>>> are some warnings for the Ada documentation. Ctest runs fine and
>>> results
>>> agree with Alan.
>> 
>> It is normal and unavoidable to get a few warnings when compiling the
>> Ada bindings. I discussed this in the Ada documentation. I suppose we
>> could turn off the issuance of warnings to avoid alarming people but
>> that could backfire if other warnings arise later that should be heeded.
>> 
>> Jerry
>> 
>>> 
>>> I also have a problem with tcl. I have tcl 8.5 installed but this
>>> doesn't come with itcl so the bindings won't build. Removing all
>>> references to 8.5 from cmake/modules/FindTCL.cmake and it
>>> does work (I also have tcl 8.4 + itcl installed). This is a bit of a
>>> pain, but I'm not sure there is a neat workaround except setting
>>> lots of
>>> cmake variables explicitly on the cmake command line.
>>> 
>>> I've also built and tested all the examples in the install tree. The
>>> only issue I found is that the ocaml examples don't run. test_ocaml.sh
>>> assumes the examples are x??ocaml, as in the build tree, but the
>>> Makefile generates x?? executables. I'll try and fix this up tomorrow,
>>> unless anyone beats me to it.
>>> 
>>> Otherwise looks good for a release so far.
>>> 
>>> Andrew
>>> 
>>> On Thu, Nov 27, 2008 at 10:49:50AM -0800, Alan Irwin wrote:
>>>> My initial pre-release testing (currently of revision 9023) has
>>>> been done
>>>> with cmake-2.6.2 (my first use of this version of cmake) with
>>>> default cmake
>>>> device-driver and bindings options except for -DBUILD_TEST=ON
>>>> -DHAVE_PTHREAD=ON -DENABLE_pdl=ON -DHAVE_ADA_2007=ON.  My system is
>>>> Debian Lenny (testing) with all possible PLplot dependencies
>>>> installed.
>>>> 
>>>> Here is the CMake summary that resulted:
>>>> 
>>>> ENABLE_DYNDRIVERS:      ON
>>>> DRIVERS_LIST:
>>>> cairo;gd;gcw;hpgl;mem;null;pbm;ps;psttf;svg;tk;tkwin;wxwidgets;xfig;x
>>>> win
>>>> DEVICES_LIST:
>>>> pdfcairo;pngcairo;pscairo;svgcairo;xcairo;gif;jpeg;png;gcw;hp7470;hp7
>>>> 580;lj_hpgl;mem;null;pbm;ps;psttf;svg;tk;tkwin;wxwidgets;xfig;xwin
>>>> 
>>>> Library options:
>>>> BUILD_SHARED_LIBS:      ON              PL_DOUBLE:      ON
>>>> 
>>>> Optional libraries:
>>>> HAVE_QHULL:             ON              WITH_CSA:       ON
>>>> HAVE_FREETYPE:          ON              HAVE_PTHREAD:   ON
>>>> HAVE_AGG:               ON
>>>> 
>>>> Language Bindings:
>>>> ENABLE_f77:             ON              ENABLE_f95:             ON
>>>> ENABLE_cxx:             ON              ENABLE_java:            ON
>>>> ENABLE_python:          ON              ENABLE_octave:          ON
>>>> ENABLE_tcl:             ON              ENABLE_itcl:            OFF
>>>> ENABLE_tk:              ON              ENABLE_itk:             OFF
>>>> ENABLE_pdl:             ON              ENABLE_wxwidgets:       ON
>>>> ENABLE_gnome2:          ON              ENABLE_pygcw:           ON
>>>> ENABLE_ada:             ON              ENABLE_d:
>>>> ENABLE_ocaml:           ON
>>>> 
>>>> IOW, I test all aspects of the default devices and bindings
>>>> available on
>>>> Linux except for PLD_cgm (libcd not installed) and iTcl/iTk (not
>>>> available
>>>> on my Debian testing system).
>>>> 
>>>> The build (done in parallel with -j3 for my Intel core duo
>>>> system), install,
>>>> and ctest were done without obvious errors.  Here are the ctest
>>>> compare
>>>> results:
>>>> 
>>>> c++
>>>>    Missing examples   :
>>>>    Differing examples :
>>>> f77
>>>>    Missing examples   :
>>>>    Differing examples :
>>>> f95
>>>>    Missing examples   :
>>>>    Differing examples :
>>>> java
>>>>    Missing examples   :  19
>>>>    Differing examples :
>>>> octave
>>>>    Missing examples   :  19
>>>>    Differing examples :
>>>> python
>>>>    Missing examples   :  19
>>>>    Differing examples :
>>>> tcl
>>>>    Missing examples   :  19
>>>>    Differing examples :  11 13 15 16 20
>>>> perl
>>>>    Missing examples   :  20 27 28 29 30
>>>>    Differing examples :  02 08 21 23
>>>> ada
>>>>    Missing examples   :
>>>>    Differing examples :
>>>> ocaml
>>>>    Missing examples   :
>>>>    Differing examples :
>>>> 
>>>> 
>>>> Perl/PDL has externally implemented bindings being maintained by
>>>> Doug Hunt,
>>>> one of our internal developers. Those bindings are currently
>>>> missing some
>>>> API required for example 20.  Therefore, I have dropped that
>>>> implemented
>>>> example from the test list. Presumably some/all of the unimplemented
>>>> examples 27 through 30 for Perl/PDL will also require some bindings
>>>> improvements from Doug.  Thus, if anyone decides to implement
>>>> those examples
>>>> they should work closely with Doug on the bindings issues.  I
>>>> don't think we
>>>> should delay the release over these issues, but it "would be nice"
>>>> if the
>>>> external Perl/PDL bindings and our internal Perl/PDL examples were
>>>> updated
>>>> before our release, and I would certainly be willing to test at
>>>> short notice
>>>> any new version of the PDL bindings for PLplot that Doug comes up
>>>> with.
>>>> 
>>>> The issues with the missing example 19 for some bindings and the
>>>> differing
>>>> Tcl issues are long-standing issues which we cannot fix.
>>>> 
>>>> Thus, aside from Perl/PDL the initial testing results look good.
>>>> 
>>>> I plan to expand substantially on these tests before our release
>>>> including
>>>> install-tree tests (both non-interactive and interactive), and
>>>> tests of
>>>> shared library/static devices, and static library/static devices.
>>>> For now I
>>>> am happy there are no obvious cmake-2.6.2 issues and everything is
>>>> working
>>>> aside from the known issues discussed above.
>>>> 
>>>> 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); PLplot scientific plotting
>>>> software
>>>> package (plplot.org); 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
>>>> __________________________
>>>> 
>>>> ---------------------------------------------------------------------
>>>> ----
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Plplot-devel mailing list
>>>> Plplot-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/plplot-devel
>>>> 
>>> 
>>> ----------------------------------------------------------------------
>>> ---
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Plplot-devel mailing list
>>> Plplot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/plplot-devel
>>> 
>> 
>> 
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great 
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Plplot-devel mailing list
>> Plplot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/plplot-devel
>> 
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to