Hi Derek, I was using gcc and gfortran which I got from http://hpc.sourceforge.net <http://hpc.sourceforge.net/>
However this particular gcc seems buggy (libgsl make check failed!) and I am looking next to re-compile everything consistently with either Apple CC or Apple GCC - still experimenting! Apple GCC avoids the libgsl problem and I expect it will also do fine for pgplot - both GCCs are gcc11 variants. Note I am also using the X11 server that comes with Macports, which has been ported to the M1. Not sure what is going on with that bug report - I’ve always built SciPDL with pgplot v5.3.1 which was the final version and may have fixed some bugs. I now see though it was never properly released. I would start by switching to that. I also tweaked one of the lines of code in one of the drivers and changed some folder defaults. It would be great to get all of PDL, pgplot etc going in Macports. I now know a bunch of tricks for getting everything to build but I don’t really know how to write port files - I’d be most happy to work with you or whomever on this off-list. best, Karl > On 5 Jan 2021, at 8:39 am, Derek Lamb <de...@boulder.swri.edu> wrote: > > Hi Karl, > > I don't have any Apple Silicon to test on, but I'm wondering: how are you > getting that dinosaur pgplot (fortran lib, not the Perl) to compile? What > compiler & version? > > I'm using MacPorts and ever since gcc updated to version 8 I was not able to > avoid segfaults (https://trac.macports.org/ticket/57726). Are you using > Homebrew, or building it from scratch? > > Derek > >> On Jan 2, 2021, at 11:23 PM, Karl Glazebrook via pdl-general >> <pdl-general@lists.sourceforge.net> wrote: >> >> Happy New Year everyone! Hopefully 2021 will be better than 2020. >> >> I just got PDL built and working for Apple Silicon! >> >> See screenshot, this is on a M1 MacBook Air. >> >> A few wrinkles in the process, but not that bad. >> >> Who wants to test a new SciPDL for Apple Silicon? >> >> Karl >> >> >> <PDL works!.png> >> _______________________________________________ >> pdl-general mailing list >> pdl-general@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pdl-general >
_______________________________________________ pdl-general mailing list pdl-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-general