On 2015-07-11 19:27-0700 Alan W. Irwin wrote: > [...Y]our build > success motivates me to expand the epa_build implementation to see how > far I can get with an epa_build of Octave-4.0.0 and patched versions > of swig-2 and swig-3. Assuming I can epa_build all of those, then > that would allow me to do the above run-time check here for patched > versions of both swig-2 and swig-3, and thus help build the case to > get your swig patch (or two variants of that if your patch has to be > modified for swig-2) into the next official releases of both swig-2 > and swig-3.
Hi Orion: The current status of this effort is I am done with all the relevant epa_build configuration, but the result segfaults at run time. Here is what I have done so far. 1. Implemented an epa_build of lapack and blas. ctest of that build passed 100 per cent of all the many tests. 2. Upgraded the epa_build of swig-2.0.11 to swig-3.0.6 with your patch applied. The result works well with PLplot for the non-octave case. For example, the swig-generated Python, Lua, and Java bindings all work well. 3. Implemented an epa_build of octave_lite which is octave-4.0.0 with all optional components disabled. This version passes the simple test octave:1> x=-pi:0.1:pi; octave:2> plot(x,sin(x)) octave:3> exit with the plot done with the default gnuplot. However, valgrind of that simple test loses control of octave_lite (see below). 4. epa_built plplot_lite against this octave-lite version with no issues. 5. However, when I try the above simple test in a directory which contains the following file (to enable the PLplot version of plotting) wine@raven> cat .octaverc warning("off","Octave:shadowed-function"); addpath("/home/wine/newstart/build_script/build_dir-linux/epa_build/Source/build_plplot_lite/bindings/octave/PLplot","/home/wine/newstart/build_script/build_dir-linux/epa_build/Source/build_plplot_lite/bindings/octave/PLplot/support","/home/wine/newstart/build_script/build_dir-linux/epa_build/Source/build_plplot_lite/bindings/octave/misc","/home/wine/newstart/build_script/build_dir-linux/epa_build/Source/build_plplot_lite/examples/octave","/home/wine/newstart/build_script/build_dir-linux/epa_build/Source/comprehensive_test_disposeable/shared/build_tree/bindings/octave","/home/wine/newstart/build_script/build_dir-linux/epa_build/Source/comprehensive_test_disposeable/shared/build_tree/bindings/octave/PLplot"); global pl_automatic_replot pl_automatic_replot=1; where the form of this file has been suggested by bindings/octave/USAGE the above simple plot test segfaults (where normally with PLplot built against octave-3.x.y, this simple test generates a plot using the xwin device). I would like to do further debugging of this segfault with valgrind, but somehow valgrind is losing control of octave_lite so never generates any messages after the normal burst of initial messages and the commands go the same speed as usual (not the slow speed you normally get with valgrind) regardless of whether I use gnuplot (without segfault) or the .octaverc trick above to attempt to use plplot (with segfault). Tomorrow I will play with the configuration of the epa_build of octave_lite to see if I can figure out a way to beat this valgrind issue. 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 __________________________ ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel