From: David V. <dve...@gm...> - 2014-05-19 16:32:57
|
Thanks, Andrew. It's OK. This was a good exercise as it forced me to figure out how to wrap Fortran95 PlPlot with Fortran95 code, rather than the Fortran77 PLPlot bindings with Fortran77 code, and do it with shared-object libraries rather than static libraries, which was a useful and necessary exercise. It probably seems trivial, and maybe it is, but it's made a little less so since it all must be linked against a body of Fortran77 code that I've no control over, and also since I'm using the Autotools, which are beneficial but which also warrant a little extra thought. On Mon, May 19, 2014 at 12:38 AM, Andrew Ross < and...@us...> wrote: > > For Debian / Ubuntu we only build the shared libraries. The packages are > somewhat out of date. Sorry - this is a combination of me not having much > time to work on this, and also the fact that the latest version of plplot > needs the newest version of cmake to work correctly with octave. I've been > waiting on this to reach unstable so I can upload the new packages. The > Debian packaging files are part of the plplot svn repository, but not > distributed with the source so you can always try those if you fancy > building your own packages! > > Andrew > > On Mon, May 19, 2014 at 06:49:21AM +0000, Arjen Markus wrote: > > Hi David, > > > > I do not know how the libraries are distributed in Ubuntu, but if only > the shared versions are distributed, that will be a very deliberate choice > of the distributors. Even though the shared libraries get exercised more, > you should be able to build them yourself. > > > > As for the difference between the F77 and F95 bindings: > > > > - First of all, inserting a “use plplot” statement will allow the > compiler to “see” the interface definitions. > > > > - This is necessary for it to insert the right internal names of > the routines (otherwise the linker will complain) > > > > - But more importantly, the compiler will be able to check the > argument lists of the routines. Arguments that have changed between F77 and > F95 are things like the number of elements in an array. In F95 > introspection is possible and that avoids many mistakes. It does mean some > incompatibility unfortunately. > > > > Regards, > > > > Arjen > > > > From: David Ventimiglia [mailto:dve...@gm...] > > Sent: Sunday, May 18, 2014 1:55 PM > > To: Moez Kilani > > Cc: plplot_general > > Subject: Re: [Plplot-general] Compiling against the Fortran77 libraries > in PLPlot 5.10.0 > > > > Thanks, Alan and Moez. > > > > On Sat, May 17, 2014 at 10:27 PM, Moez Kilani <moe...@gm... > <mailto:moe...@gm...>> wrote: > > Hi David, > > > > I also liked the fortran77 bindings. For the F95 bindings, I have posted > an example on my web page : > > > > http://perso.univ-lille3.fr/~mkilani/other/other.html > > > > hope it helps (notice lines 2, 42-51) ! > > > > Best > > > > 2014-05-18 3:44 GMT+02:00 David Ventimiglia <dve...@gm...<mailto: > dve...@gm...>>: > > Hi, > > > > How do I compile Fortran77 programs against PLPlot now that the > Fortran77 libraries have finally been removed from libplplot-dev (I'm on > Ubuntu, so this is a Debian style package)? On my system I also see that > there now is a libplplot-fortran11 package whose description says: > > > > This package contains the Fortran 77 and Fortran 95 bindings for > > PLplot. Note: the Fortran 77 bindings have been deprecated in the latest > > version of PLplot, and will be dropped from a future release. New code > > should use the Fortran 95 bindings. > > > > But, within it there are only shared-object libraries and no longer any > static libraries, which were very convenient. Further, where are the > actually Fortran77 libraries? The .so files here all are labelled with > f95, and they seem to contain Fortran95 style symbols and don't contain > Fortran77 symbols. Have the Fortran77 libraries actually been completely > purged? > > > > Thanks! > > Best, > > David > > > > > ------------------------------------------------------------------------------ > > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > > Instantly run your Selenium tests across 300+ browser/OS combos. > > Get unparalleled scalability from the best Selenium testing platform > available > > Simple to use. Nothing to install. Get started now for free." > > http://p.sf.net/sfu/SauceLabs > > _______________________________________________ > > Plplot-general mailing list > > Plp...@li...<mailto: > Plp...@li...> > > https://lists.sourceforge.net/lists/listinfo/plplot-general > > > > > > DISCLAIMER: This message is intended exclusively for the addressee(s) > and may contain confidential and privileged information. If you are not the > intended recipient please notify the sender immediately and destroy this > message. Unauthorized use, disclosure or copying of this message is > strictly prohibited. The foundation 'Stichting Deltares', which has its > seat at Delft, The Netherlands, Commercial Registration Number 41146461, is > not liable in any way whatsoever for consequences and/or damages resulting > from the improper, incomplete and untimely dispatch, receipt and/or content > of this e-mail. > > > > ------------------------------------------------------------------------------ > > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > > Instantly run your Selenium tests across 300+ browser/OS combos. > > Get unparalleled scalability from the best Selenium testing platform > available > > Simple to use. Nothing to install. Get started now for free." > > http://p.sf.net/sfu/SauceLabs > > > _______________________________________________ > > Plplot-general mailing list > > Plp...@li... > > https://lists.sourceforge.net/lists/listinfo/plplot-general > > |