[gradsusr] [EXTERNAL] [BULK] GrADS on M1/M2 Mac

Mikovitz, Colleen (LARC-E302)[RSES] j.c.mikovitz at nasa.gov
Mon Nov 27 14:24:36 EST 2023


As others have mentioned, use XQuartz 2.8.4 or earlier.   I installed GrADS using MacPorts.  I haven’t noticed any issues once I downgraded XQuartz.

Good luck!
Colleen

From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of "Markowski, Paul" <pmarkowski at psu.edu>
Reply-To: GrADS Users Forum <gradsusr at gradsusr.org>
Date: Tuesday, November 21, 2023 at 1:01 PM
To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>
Subject: [EXTERNAL] [BULK] [gradsusr] GrADS on M1/M2 Mac

CAUTION: This email originated from outside of NASA.  Please take care when clicking links or opening attachments.  Use the "Report Message" button to report suspicious messages to the NASA SOC.


Hi GrADS User Forum,

(I wasn't sure this forum was still alive, but I see there's been some recent traffic, so it seems there's still a heartbeat!)

Has anyone successfully run GrADS on a Mac with the M1 or M2 processor?  With a lot of help from my sysadmin, I got it built, but the GUI graphics plotting is messed up (sorry for the unscientific description), with only contour labels appearing (without accompanying contour lines) being one of many seemingly random and show-stopping graphics glitches.  Output to pdf via gxprint/printim is unaffected.  But it's the interactive aspects of GrADS that make it so useful, so having to use gxprint/printim to see what's actually plotted is obviously not convenient.

Curiously, even if I run GrADS remotely on a machine that has a properly working version, the operation of GrADS on the M1/M2 Mac suffers from the same graphics issues (I know it's working properly on the remote machine because the strange issue is absent if I connect to the remote machine from an Intel Mac).  This must point to an X11 issue on the M1/M2 Macs, as there is no other explanation I can fathom that would identically affect both local and remote GrADS behavior (the latter relies on X11 forwarding).   It seems that there's some aspect of the X11 libs that come with the M1/M2 Mac that aren't compatible with GrADS, regardless of whether GrADS is run locally or remotely.

I'd be grateful for any insights anyone can share!   Many thanks in advance!

Paul



Paul Markowski
Distinguished Professor & Head
Department of Meteorology & Atmospheric Science
Pennsylvania State University
pmarkowski at psu.edu
814.865.0478
Zoom: psu.zoom.us/my/pmarkowski<https://psu.zoom.us/my/pmarkowski>
Markowski Research Group: sites.psu.edu/pmarkowski<http://sites.psu.edu/pmarkowski>
department website: www.met.psu.edu<http://www.met.psu.edu/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20231127/ed13ac74/attachment.html>


More information about the gradsusr mailing list