You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+31-5
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ I have included the source scripts that do all the building FWIW but these will
9
9
10
10
----
11
11
12
-
*Karl Glazebrook, 15/4/2024*
12
+
*Current version for PDL v2.093, Karl Glazebrook, 6/1/2025*
13
13
14
14
Welcome to SciPDL! SciPDL is a drag and drop installer for PDL on the Mac. SciPDL now includes its own version of perl in order to work across multiple versions of Mac OS X and a variety of environments (note old versions used the system perl which led to instability between OS updates).
15
15
@@ -29,9 +29,7 @@ Open the .dmg file and drag the ‘PDL’ folder to your Applications folder.
29
29
That's it! (And the entire point of SciPDL.)
30
30
31
31
*IMPORTANT*: an X11 server is also needed if you want PGPLOT graphics. One can use XQuartz or MacPorts X11.
32
-
Since the X11 stuff in PDL is statically linked it should work with any X11 server. If you don’t know what X11 is you probably shouldn’t be using PDL :-;
33
-
34
-
32
+
Since the X11 stuff in PDL is statically linked it should work with any X11 server.
35
33
## Running SciPDL
36
34
37
35
@@ -89,9 +87,30 @@ After running the setup script one should be able to use `cpan -i` to install pe
89
87
90
88
The `pgplot` graphics library libpgplot is installed in `/Applications/PDL/pgplot`, libraries are in `/Applications/PDL/lib` and executables are in `/Applications/PDL/bin`. Usage from PDL should be transparent. You can also build and link your own C and Fortran programs against these `pgplot` libraries if you wish and it ought to work.
91
89
90
+
# Perl module versions
91
+
92
+
The current version numbers of the important stuff within SciPDL are:
93
+
94
+
```
95
+
VERSION_PDL=2.093
96
+
VERSION_PERL=5.40.0
97
+
VERSION_PGPLOT=2.35
98
+
VERSION_EXTUTILS_F77=1.26
99
+
VERSION_GSL=2.8
100
+
VERSION_CFITSIO=4.5.0
101
+
VERSION_ASTRO_FITSIO=1.18
102
+
VERSION_ASTRO_FITS_HEADER=3.09
103
+
VERSION_FFTW=3.3.10
104
+
VERSION_PDL_FFTW3=0.20
105
+
```
106
+
107
+
# Minor caveats
108
+
109
+
Because this is MacOS the code is all signed and notarised and has a hardened runtime. So it is quite locked down.
92
110
111
+
In the latest releases I have found a way to give the perl binary a library loading 'entitlement', so installing your own stuff on top of SciPDL (e.g. with `cpan -i`) will work. However see this [caveat.](../../issues/3)
93
112
94
-
# Contents
113
+
# Github repository contents
95
114
96
115
The repo contains the various scripts and bits I use to build the DMG.
97
116
@@ -110,3 +129,10 @@ The repo contains the various scripts and bits I use to build the DMG.
110
129
`Apps` folder contains the `pdl [here]` and `pdl [home]` Applescript apps that go in the distribution.
111
130
112
131
`go_pdl` is a shell script that launches an interactive PDL session that the above Applescripts use.
132
+
133
+
`patches/` is a folder containing various patches I need to build stuff for SciPDL.
134
+
135
+
There are also folders named, for example, `v2.088/` that contain older versions of the builder scripts used for previos releases.
\f2\i\b Karl Glazebrook, 6/1/2025. karlglazebrook [-at-] mac [-dot-] com\
21
18
22
-
\f0\i0\b0\cf0(ANZAC day edition!)\
19
+
\f0\i0\b0 (ANZAC day edition!)\
23
20
\
24
21
Welcome to SciPDL! SciPDL is a drag and drop installer for PDL on the Mac. SciPDL now includes its own version of perl in order to work across multiple versions of Mac OS X and a variety of environments (note old versions used the system perl which led to instability between OS updates).\
25
22
\
@@ -34,46 +31,37 @@ Everything in SciPDL lives within the folder:\
\f0\b0 : an X11 server is also needed if you want PGPLOT graphics. One can use XQuartz or {\field{\*\fldinst{HYPERLINK "https://www.macports.org"}}{\fldrslt MacPorts}} X11.\
51
45
Since the X11 stuff in PDL is statically linked it
52
46
\f3\i should
53
-
\f0\i0 work with any X11 server. If you don\'92t know what X11 is you probably shouldn\'92t be using PDL :-;\
47
+
\f0\i0 work with any X11 server. \
54
48
\
55
-
SciPDL v2.088 is built on MacOS 12.4 (Monterey) and has been tested on 12.5 (Ventura) and 12.6 (Sonoma) in both Apple Silicon (ARM) and Intel builds.\
49
+
SciPDL v2.093 is built on MacOS 14.5 (Sonoma) with both Apple Silicon (ARM) and Intel builds. It should work on later macOS versions but you might not be able to add compiled perl modules to it.\
\fs28\cf0will run PDL in the current Finder window folder. For this to work drag the app in to your Finder toolbar (right click on the tool bar and select \'91
111
+
\fs28 will run PDL in the current Finder window folder. For this to work drag the app in to your Finder toolbar (right click on the tool bar and select \'91
141
112
\f3\i Customise toolbar
142
113
\f0\i0\'92)\
143
114
\
144
115
You will be asked if you wish to allow the app to run and whether to allow it to control Terminal. Say yes to both of these! \
If you do then click \'91Edit\'92 button in the dialog to open it in Script Editor and then just hit \'91Save\'92 in the menu. Then when you re-launch the app you should get a dialog to allow the app to do it\'92s thing.\
0 commit comments