source: general/prog/pdl.xml@ 9ee1058

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9ee1058 was 7dac9f1, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Tagged pdl.xml

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3982 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 20.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pdl-download-http "http://prdownloads.sourceforge.net/pdl/PDL-&pdl-version;.tar.gz">
8 <!ENTITY pdl-download-ftp " ">
9 <!ENTITY pdl-md5sum "edd056a006eae8b46e8ef804b9774a93">
10 <!ENTITY pdl-size "2.1 MB">
11 <!ENTITY pdl-buildsize "74 MB">
12 <!ENTITY pdl-time "2.56 SBU">
13]>
14
15<sect1 id="pdl" xreflabel="PDL">
16 <?dbhtml filename="pdl.html" ?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>PDL-&pdl-version;</title>
24
25 <indexterm zone="pdl">
26 <primary sortas="a-PDL">PDL</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to PDL</title>
31
32 <para><application>PDL</application> (Perl Data Language) gives
33 standard <application>Perl</application> the ability to compactly store
34 and quickly manipulate the large N-dimensional data arrays common to
35 scientific computing. <application>PDL</application> turns
36 <application>Perl</application> into an array-oriented, numerical language
37 similar to such commerical packages as <application>IDL</application>
38 and <application>MatLab</application>. One can write simple
39 <application>Perl</application> expressions to manipulate entire numerical
40 arrays all at once.</para>
41
42 <para><application>PDL</application> provides extensive numerical and
43 semi-numerical functionality with support for two- and three-dimensional
44 visualisation as well as a variety of I/O formats. The goal is to allow
45 <application>PDL</application> to interact with a variety of external numerical
46 packages, graphics and visualisation systems. Easy interfacing to such systems
47 is one of the core design features of <application>PDL</application>.</para>
48
49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
52 <para>Download (HTTP): <ulink url="&pdl-download-http;"/></para>
53 </listitem>
54 <listitem>
55 <para>Download (FTP): <ulink url="&pdl-download-ftp;"/></para>
56 </listitem>
57 <listitem>
58 <para>Download MD5 sum: &pdl-md5sum;</para>
59 </listitem>
60 <listitem>
61 <para>Download size: &pdl-size;</para>
62 </listitem>
63 <listitem>
64 <para>Estimated disk space required: &pdl-buildsize;</para>
65 </listitem>
66 <listitem>
67 <para>Estimated build time: &pdl-time;</para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">PDL Dependencies</bridgehead>
72
73 <para><application>PDL</application> is a collection of over 90
74 <application>Perl</application> modules. Some of these modules require
75 additional libraries and/or <application>Perl</application> modules for full
76 functionality. Listed below are the modules which require additional software
77 or configuration. If you don't need a particular module's functionality, you don't
78 need to install its dependencies. The dependency tree for each module is listed
79 downward, meaning you'll need to start at the bottom of a module's tree and work
80 up. The dependencies are listed in the same order as they are in the
81 <filename>DEPENDENCIES</filename> file, found in the package source tree.</para>
82
83 <bridgehead renderas="sect4">PDL::NiceSlice</bridgehead>
84
85 <para>The <application>PDL</application>::NiceSlice module is used to
86 enhance <application>PDL</application>'s slice syntax. <quote>Slicing</quote>
87 is a term used in the process of creating a cross-section, or slice, of a
88 <application>PDL</application> object (piddle).</para>
89
90 <itemizedlist spacing='compact'>
91 <listitem>
92 <para><ulink
93 url="http://www.cpan.org/authors/id/P/PM/PMQS/Filter-&Filter-version;.tar.gz">
94 Filter-&Filter-version;</ulink></para>
95 </listitem>
96 </itemizedlist>
97
98 <bridgehead renderas="sect4">Inline::Pdlpp</bridgehead>
99
100 <para>The Inline::Pdlpp module allows you to define fast PP
101 code inline in your scripts.</para>
102
103 <itemizedlist spacing='compact'>
104 <listitem>
105 <para><ulink
106 url="http://www.cpan.org/authors/id/I/IN/INGY/Inline-&Inline-version;.tar.gz">
107 Inline-&Inline-version;</ulink></para>
108 <itemizedlist>
109 <listitem>
110 <para><ulink
111 url="http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-&Parse-RecDescent-version;.tar.gz">
112 Parse-RecDescent-&Parse-RecDescent-version;</ulink></para>
113 </listitem>
114 </itemizedlist>
115 </listitem>
116 </itemizedlist>
117
118 <bridgehead renderas="sect4">Perldl</bridgehead>
119
120 <para><command>perldl</command> is a simple shell (written in
121 <application>Perl</application>) which allows interactive
122 use of <application>PDL</application>.</para>
123
124 <itemizedlist spacing='compact'>
125 <listitem>
126 <para><ulink
127 url="http://www.cpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-&Term-ReadLine-Gnu-version;.tar.gz">
128 Term-ReadLine-Gnu-&Term-ReadLine-Gnu-version;</ulink></para>
129 </listitem>
130 </itemizedlist>
131
132 <bridgehead renderas="sect4">PDL::Graphics::TriD</bridgehead>
133
134 <para>The <application>PDL</application>::Graphics::TriD module implements
135 a generic 3D plotting interface for <application>PDL</application>. Points,
136 lines and surfaces (among other objects) are supported.</para>
137
138 <itemizedlist spacing='compact'>
139 <listitem>
140 <para>OpenGL (<xref linkend="xfree86"/> or
141 <xref linkend="xorg"/>)</para>
142 </listitem>
143 </itemizedlist>
144
145 <bridgehead renderas="sect4">PDL::Graphics::PGPLOT</bridgehead>
146
147 <para>The <application>PDL</application>::Graphics::PGPLOT module is a
148 convenience interface to the <application>PGPLOT</application> commands,
149 implemented using the object oriented <application>PGPLOT</application>
150 plotting package in the <application>PDL</application>::Graphics::PGPLOT::Window
151 module.</para>
152
153 <itemizedlist spacing='compact'>
154 <listitem>
155 <para><ulink
156 url="http://www.cpan.org/authors/id/K/KG/KGB/PGPLOT-&pgperl-version;.tar.gz">
157 pgperl</ulink></para>
158 <itemizedlist>
159 <listitem>
160 <para><ulink
161 url="http://www.cpan.org/authors/id/K/KG/KGB/ExtUtils-F77-&ExtUtils-F77-version;.tar.gz">
162 ExtUtils-F77-&ExtUtils-F77-version;</ulink></para>
163 <itemizedlist>
164 <listitem>
165 <para><xref linkend="gcc"/> (Fortran compiler)</para>
166 </listitem>
167 </itemizedlist>
168 </listitem>
169 <listitem>
170 <para><ulink
171 url="http://www.astro.caltech.edu/~tjp/pgplot/">PGPLOT</ulink></para>
172 <itemizedlist>
173 <listitem>
174 <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
175 <xref linkend="lesstif"/>,
176 <xref linkend="tk"/> and
177 <xref linkend="gcc"/> (Fortran compiler)</para>
178 </listitem>
179 </itemizedlist>
180 </listitem>
181 </itemizedlist>
182 </listitem>
183 </itemizedlist>
184
185 <bridgehead renderas="sect4">PDL::Graphics::PLPLOT</bridgehead>
186
187 <para>The <application>PDL</application>::Graphics::PLPLOT module is a
188 simple interface to the <application>PLplot</application> plotting library.</para>
189
190 <itemizedlist spacing='compact'>
191 <listitem>
192 <para><ulink url="http://plplot.sourceforge.net/">PLplot</ulink></para>
193 <itemizedlist>
194 <listitem>
195 <para><xref linkend="pkgconfig"/>,
196 X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
197 <xref linkend="GTK"/>,
198 <xref linkend="freetype2"/>,
199 <ulink url="http://www.boutell.com/gd/">GD</ulink>,
200 <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
201 <xref linkend="gnome-libs"/>,
202 <xref linkend="jdk"/>,
203 <xref linkend="tk"/>,
204 <xref linkend="python"/> (with the
205 <ulink url="http://www.pfdubois.com/numpy/">Numerical Extension</ulink>),
206 <xref linkend="gcc"/> (Fortran compiler),
207 <ulink url="http://www.swig.org/">SWIG</ulink>,
208 <ulink url="http://sourceforge.net/projects/incrtcl/">iTcl</ulink></para>
209 </listitem>
210 </itemizedlist>
211 </listitem>
212 </itemizedlist>
213
214 <bridgehead renderas="sect4">PDL::Graphics::IIS</bridgehead>
215
216 <para>The <application>PDL</application>::Graphics::IIS
217 module provides an interface to any image display <quote>device</quote>
218 which supports the <quote>IIS protocol</quote>.</para>
219
220 <itemizedlist spacing='compact'>
221 <listitem>
222 <para><ulink
223 url="http://tdc-www.harvard.edu/software/saoimage.html">SAOimage</ulink></para>
224 <itemizedlist>
225 <listitem>
226 <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
227 </listitem>
228 </itemizedlist>
229 </listitem>
230 <listitem>
231 <para><ulink
232 url="http://iraf.noao.edu/iraf/web/projects/x11iraf/x11iraf.html">X11
233 IRAF</ulink></para>
234 <itemizedlist>
235 <listitem>
236 <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>) and
237 <xref linkend="tk"/></para>
238 </listitem>
239 </itemizedlist>
240 </listitem>
241 </itemizedlist>
242
243 <bridgehead renderas="sect4">PDL::Graphics::Karma</bridgehead>
244
245 <para>The <application>PDL</application>::Graphics::Karma
246 module is an interface to <application>Karma</application> visualisation
247 applications.</para>
248
249 <itemizedlist spacing='compact'>
250 <listitem>
251 <para><ulink
252 url="http://www.atnf.csiro.au/computing/software/karma/">Karma</ulink></para>
253 <itemizedlist>
254 <listitem>
255 <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
256 </listitem>
257 </itemizedlist>
258 </listitem>
259 </itemizedlist>
260
261 <para><emphasis>Note:</emphasis> You may need to modify the
262 <option>WHERE_KARMA =&gt; undef</option> line in the source tree
263 <filename>perldl.conf</filename> file to point to your installation
264 of <application>Karma</application></para>
265
266 <bridgehead renderas="sect4">PDL::IO::Pic</bridgehead>
267
268 <para> The <application>PDL</application>::IO::Pic module implements I/O
269 for a number of popular image formats by exploiting the
270 <command>xxxtopnm</command> and <command>pnmtoxxx</command>
271 converters from the <application>Netpbm</application> package and the
272 <command>cjpeg</command> and <command>djpeg</command> converters.
273 It also contains the routine wmpeg to write MPEG movies from piddles
274 representing image stacks.</para>
275
276 <itemizedlist spacing='compact'>
277 <listitem>
278 <para><ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
279 <xref linkend="libjpeg"/> and
280 <ulink url="ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/">
281 mpeg_encode</ulink></para>
282 </listitem>
283 </itemizedlist>
284
285 <bridgehead renderas="sect4">PDL::Slatec</bridgehead>
286
287 <para> The <application>PDL</application>::Slatec module serves the dual
288 purpose of providing an interface to parts of the slatec library and showing
289 how to interface <application>PDL</application> to an external library.
290 The module provides routines to manipulate matrices, calculate FFTs, fit
291 data using polynomials, and interpolate/integrate data using piecewise
292 cubic Hermite interpolation.</para>
293
294 <itemizedlist spacing='compact'>
295 <listitem>
296 <para><ulink
297 url="http://www.cpan.org/authors/id/K/KG/KGB/ExtUtils-F77-&ExtUtils-F77-version;.tar.gz">
298 ExtUtils-F77-&ExtUtils-F77-version;</ulink></para>
299 <itemizedlist>
300 <listitem>
301 <para><xref linkend="gcc"/> (Fortran compiler)</para>
302 </listitem>
303 </itemizedlist>
304 </listitem>
305 </itemizedlist>
306
307 <bridgehead renderas="sect4">PDL::GSL</bridgehead>
308
309 <para> The <application>PDL</application>::<application>GSL</application>
310 module is an interface to the functions provided by the Gnu Scientific Library.</para>
311
312 <itemizedlist spacing='compact'>
313 <listitem>
314 <para><ulink url="http://www.gnu.org/software/gsl/">GSL</ulink></para>
315 </listitem>
316 </itemizedlist>
317
318 <bridgehead renderas="sect4">PDL::FFTW</bridgehead>
319
320 <para> The <application>PDL</application>::<application>FFTW</application>
321 module is a means to interface <application>PDL</application> with the
322 <application>FFTW</application> library. It's similar to the standard FFT
323 routine but it's usually faster and has support for real transforms. It works
324 well for the types of piddles for which the library was compiled (otherwise it
325 must do conversions).</para>
326
327 <itemizedlist spacing='compact'>
328 <listitem>
329 <para><ulink url="http://www.fftw.org/">FFTW-2.x</ulink></para>
330 </listitem>
331 </itemizedlist>
332
333 <bridgehead renderas="sect4">PDL::IO::Browser</bridgehead>
334
335 <para>The <application>PDL</application>::IO::Browser module
336 is a 2D cursor terminal data browser for piddles.</para>
337
338 <para>There is no additional software required to use the module. However,
339 the default is to not install the module because some platforms don't provide
340 a curses compatible library. To enable the module, issue the following
341 command:</para>
342
343<screen><userinput>sed -i -e "s/WITH_IO_BROWSER =&gt; 0/WITH_IO_BROWSER =&gt; 1/" \
344 perldl.conf</userinput></screen>
345
346 <bridgehead renderas="sect4">PDL::IO::NDF</bridgehead>
347
348 <para>The <application>PDL</application>::IO::NDF module adds the ability to
349 read and write Starlink N-dimensional data files as N-dimensional piddles.</para>
350
351 <itemizedlist spacing='compact'>
352 <listitem>
353 <para><ulink
354 url="http://www.cpan.org/authors/id/A/AA/AALLAN/Astro-FITS-Header-&Astro-FITS-Header-version;.tar.gz">
355 Astro-FITS-Header-&Astro-FITS-Header-version;</ulink></para>
356 <itemizedlist>
357 <listitem>
358 <para><ulink
359 url="http://www.cpan.org/authors/id/P/PR/PRATZLAFF/Astro-FITS-CFITSIO-&Astro-FITS-CFITSIO-version;.tar.gz">
360 Astro-FITS-CFITSIO-&Astro-FITS-CFITSIO-version;</ulink></para>
361 <itemizedlist>
362 <listitem>
363 <para><ulink
364 url="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/">CFITSIO</ulink></para>
365 </listitem>
366 </itemizedlist>
367 </listitem>
368 <listitem>
369 <para><ulink
370 url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
371 NDFPERL-&NDF-version;</ulink></para>
372 <itemizedlist>
373 <listitem>
374 <para><ulink
375 url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
376 Starlink-Config-&Starlink-Config-version;</ulink></para>
377 <itemizedlist>
378 <listitem>
379 <para><ulink url="http://star-www.rl.ac.uk/">Starlink IMG</ulink></para>
380 <itemizedlist>
381 <listitem>
382 <para><ulink url="http://star-www.rl.ac.uk/">Starlink NDF</ulink></para>
383 <itemizedlist>
384 <listitem>
385 <para><xref linkend="gcc"/> (Fortran compiler)</para>
386 </listitem>
387 </itemizedlist>
388 </listitem>
389 </itemizedlist>
390 </listitem>
391 </itemizedlist>
392 </listitem>
393 </itemizedlist>
394 </listitem>
395 <listitem>
396 <para><ulink
397 url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
398 GSDPERL-&GSD-version;</ulink></para>
399 <itemizedlist>
400 <listitem>
401 <para><ulink
402 url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
403 Starlink-Config-&Starlink-Config-version;</ulink></para>
404 <itemizedlist>
405 <listitem>
406 <para><ulink
407 url="http://star-www.rl.ac.uk/">Starlink GSD</ulink></para>
408 <itemizedlist>
409 <listitem>
410 <para><xref linkend="gcc"/> (Fortran compiler)</para>
411 </listitem>
412 </itemizedlist>
413 </listitem>
414 </itemizedlist>
415 </listitem>
416 </itemizedlist>
417 </listitem>
418 </itemizedlist>
419 </listitem>
420 </itemizedlist>
421
422 </sect2>
423
424 <sect2 role="installation">
425 <title>Installation of PDL</title>
426
427 <para>Install <application>PDL</application> (and all the dependency
428 <application>Perl</application> modules) by running the following commands:</para>
429
430<screen><userinput>perl Makefile.PL &amp;&amp;
431make &amp;&amp;
432make test</userinput></screen>
433
434 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
435
436<screen role="root"><userinput>make install</userinput></screen>
437
438 </sect2>
439
440 <sect2 role="configuration">
441 <title>Configuring PDL</title>
442
443 <sect3 id="pdl-config">
444 <title>Config Files</title>
445
446 <para><filename>~/.perldlrc</filename> and
447 <filename>local.perldlrc</filename> in the current directory</para>
448
449 <indexterm zone="pdl pdl-config">
450 <primary sortas="e-AA.perldlrc">~/.perldlrc</primary>
451 </indexterm>
452
453 <indexterm zone="pdl pdl-config">
454 <primary sortas="e-local.perldlrc">local.perldlrc</primary>
455 </indexterm>
456
457 </sect3>
458
459 <sect3>
460 <title>Configuration Information</title>
461
462 <para>See <ulink
463 url="http://pdl.sourceforge.net/PDLdocs/perldl.html#the startup file ~/.perldlrc"/>
464 for information about configuring <command>perldl</command> to suit your
465 needs.</para>
466
467 </sect3>
468
469 </sect2>
470
471 <sect2 role="content">
472 <title>Contents</title>
473
474 <segmentedlist>
475 <segtitle>Installed Programs</segtitle>
476 <segtitle>Installed Modules</segtitle>
477 <segtitle>Installed Directories</segtitle>
478
479 <seglistitem>
480 <seg>pdl, pdldoc, perldl, and pptemplate</seg>
481 <seg>90+ individual <application>Perl</application> modules</seg>
482 <seg>/usr/lib/perl5/site_perl/&LFS-Perl-version;/i686-linux/{,auto/}PDL</seg>
483 </seglistitem>
484 </segmentedlist>
485
486 <variablelist>
487 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
488 <?dbfo list-presentation="list"?>
489 <?dbhtml list-presentation="table"?>
490
491 <varlistentry id="pdl-prog">
492 <term><command>pdl</command></term>
493 <listitem>
494 <para>is a binary program called from
495 <application>PDL</application> scripts which is used to
496 interface <command>perldl</command>.</para>
497 <indexterm zone="pdl pdl-prog">
498 <primary sortas="b-pdl">pdl</primary>
499 </indexterm>
500 </listitem>
501 </varlistentry>
502
503 <varlistentry id="pdldoc">
504 <term><command>pdldoc</command></term>
505 <listitem>
506 <para>is a shell interface to
507 <application>PDL</application> documentation.</para>
508 <indexterm zone="pdl pdldoc">
509 <primary sortas="b-pdldoc">pdldoc</primary>
510 </indexterm>
511 </listitem>
512 </varlistentry>
513
514 <varlistentry id="perldl">
515 <term><command>perldl</command></term>
516 <listitem>
517 <para>is a simple shell (written in <application>Perl</application>)
518 for interactive use of <application>PDL</application>.</para>
519 <indexterm zone="pdl perldl">
520 <primary sortas="b-perldl">perldl</primary>
521 </indexterm>
522 </listitem>
523 </varlistentry>
524
525 <varlistentry id="pptemplate">
526 <term><command>pptemplate</command></term>
527 <listitem>
528 <para>is a script to generate <filename>Makefile.PL</filename>
529 and PP file skeletons.</para>
530 <indexterm zone="pdl pptemplate">
531 <primary sortas="b-pptemplate">pptemplate</primary>
532 </indexterm>
533 </listitem>
534 </varlistentry>
535
536 </variablelist>
537
538 </sect2>
539
540</sect1>
Note: See TracBrowser for help on using the repository browser.