{"id":15015496,"url":"https://github.com/pdlporters/scipdl","last_synced_at":"2026-02-09T15:04:47.033Z","repository":{"id":233263042,"uuid":"786391325","full_name":"PDLPorters/SciPDL","owner":"PDLPorters","description":"This is a repository for creating SciPDL distributions (easy install of PDL on MacOS)","archived":false,"fork":false,"pushed_at":"2024-04-25T02:09:41.000Z","size":415,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":15,"default_branch":"main","last_synced_at":"2024-10-30T16:23:59.938Z","etag":null,"topics":["macos","pdl","perl"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PDLPorters.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-14T10:16:06.000Z","updated_at":"2024-04-25T01:43:58.000Z","dependencies_parsed_at":"2024-04-25T02:35:58.690Z","dependency_job_id":null,"html_url":"https://github.com/PDLPorters/SciPDL","commit_stats":null,"previous_names":["pdlporters/scipdl"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDLPorters%2FSciPDL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDLPorters%2FSciPDL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDLPorters%2FSciPDL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDLPorters%2FSciPDL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PDLPorters","download_url":"https://codeload.github.com/PDLPorters/SciPDL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230234058,"owners_count":18194343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["macos","pdl","perl"],"created_at":"2024-09-24T19:47:32.924Z","updated_at":"2025-10-25T07:30:58.294Z","avatar_url":"https://github.com/PDLPorters.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SciPDL\nThis is a repository for releasing SciPDL distributions (easy install of PDL on MacOS).\n\nThe main purpose of this is to hold the releases, so please download a [release.](../../releases)\n\nThese are `.dmg` files that you double click to open and then do a drag and drop to install PDL.\n\nI have included the source scripts that do all the building FWIW but these will probably only work on my Mac. But good luck if you want to play with this!\n\n----\n\n*Current version for PDL v2.093, Karl Glazebrook, 6/1/2025*\n\nWelcome 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).\n\nSciPDL is a ‘kitchen sink’ type installer, you get everything you need in one bug bundle to start PDL work. If you prefer a more à la carte approach we suggest you build PDL yourself or use a package management system.\n\nEverything in SciPDL lives within the folder:\n\n![Applications-PDL](https://github.com/PDLPorters/SciPDL/assets/15331994/cc014f69-383a-43e4-804a-19c2b2c07831)\n\n\n## Installation\n\nOpen the .dmg file and drag the ‘PDL’ folder to your Applications folder.\n\n\u003cimg width=\"510\" alt=\"Drag and Drop\" src=\"https://github.com/PDLPorters/SciPDL/assets/15331994/ae59b053-685c-4935-8d8d-0f46c2af546f\"\u003e\n\nThat's it! (And the entire point of SciPDL.)\n\n*IMPORTANT*: an X11 server is also needed if you want PGPLOT graphics. One can use XQuartz or  MacPorts X11.\nSince the X11 stuff in PDL is statically linked it should work with any X11 server. \n## Running SciPDL\n\n\n*From the UNIX (Terminal) command line:*\nIf you are a bash or zsh user:\n\n`source /Applications/PDL/setup_bash  # This can go in your .bashrc startup file\npdl`\n\nIf you are a csh user:\n\n`source /Applications/PDL/setup_csh  # This can go in your .cshrc startup file\npdl`\n\nAlternatively simply run\n\n`/Applications/PDL/go_pdl`\n\nto launch a PDL command line session \n\n# Convenience Apps\n\nTo launch pdl from the Finder (utility apps in PDL folder):\n\nThe app:\n\n![pdl home](https://github.com/PDLPorters/SciPDL/assets/15331994/e6a7cd0e-1715-4e87-892e-09b5183339e0)\n\nwill launch a Terminal window in your home folder with PDL running.\n\nThe app:\n\n￼![pdl here](https://github.com/PDLPorters/SciPDL/assets/15331994/4b6fc0f5-afc2-41c3-be68-c2565c3b8067)\n\nwill 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 ‘Customise toolbar’)\n\nYou 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! \n\nYou are also likely to get the error:\n\n\u003cimg width=\"372\" alt=\"Not Authorised\" src=\"https://github.com/PDLPorters/SciPDL/assets/15331994/cb155d7f-fc8a-44f9-8416-296cdfa45c88\"\u003e\n\n\nIf you do then click ‘Edit’ button in the dialog to open it in Script Editor and then just hit ‘Save’ in the menu. Then when you re-launch the app you should get a dialog to allow the app to do it’s thing.\n\n(Note these are implemented via Applescripts, if you can't get them to work it is no big deal. Just run `pdl` from the command line.)\n\n\n# Folder locations\n\nEverything is installed in `/Applications/PDL`\n\n\nAfter running the setup script one should be able to use `cpan -i` to install perl modules in the normal way (they get installed under `/Applications/PDL` with the perl).\n  \nThe `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.\n\n# Perl module versions\n\nThe current version numbers of the important stuff within SciPDL are:\n\n```\nVERSION_PDL=2.093\nVERSION_PERL=5.40.0\nVERSION_PGPLOT=2.35\nVERSION_EXTUTILS_F77=1.26\nVERSION_GSL=2.8\nVERSION_CFITSIO=4.5.0\nVERSION_ASTRO_FITSIO=1.18\nVERSION_ASTRO_FITS_HEADER=3.09\nVERSION_FFTW=3.3.10\nVERSION_PDL_FFTW3=0.20\n```\n\n# Minor caveats\n\nBecause this is MacOS the code is all signed and notarised and has a hardened runtime. So it is quite locked down.\n\nIn 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)\n\n# Github repository contents\n\nThe repo contains the various scripts and bits I use to build the DMG.\n\n`build_scipdl.sh` is a shell script that builds SciPDL in /Applications/PDL on a Mac (well my Mac) from sources\n\n`go_dmg` is a shell script that builds the DMG file and signs/notarises it\n\n`gfortran-static` is a shell front end to `gfortran` that makes the buids static\n\n`setup_bash` and `setup_csh` are the scripts that set up the user paths for SciPDL that go in the distrubution\n\n`README_dmg.rtfd` is the RTF README file that goes in the DMG.\n\n`DMG-Background.png` is the background image in the DMG\n\n`Apps` folder contains the `pdl [here]` and `pdl [home]` Applescript apps that go in the distribution.\n\n`go_pdl` is a shell script that launches an interactive PDL session that the above Applescripts use.\n\n`patches/` is a folder containing various patches I need to build stuff for SciPDL.\n\nThere are also folders named, for example, `v2.088/` that contain older versions of the builder scripts used for previos releases.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdlporters%2Fscipdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdlporters%2Fscipdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdlporters%2Fscipdl/lists"}