Replies: 29 comments 15 replies
-
Tested it right now and compiled/run normally:
***@***.***:~/gdln/gdl-master/build/src$ uname -a
Linux ubuntu 5.8.0-56-generic #63~20.04.1-Ubuntu SMP Tue Jun 8 01:47:26 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
***@***.***:~/gdln/gdl-master/build/src$ ./gdl
GDL - GNU Data Language, Version 1.0.1 Git
- For basic information type HELP,/INFO
- Default library routine search path used (GDL_PATH/IDL_PATH env. var. not set): /usr/local/share/gnudatalanguage/lib
- Using WxWidgets as graphics library (windows and widgets).
- No startup file read (GDL_STARTUP/IDL_STARTUP env. var. not set).
- Please report bugs, feature or help requests and patches at: https://github.com/gnudatalanguage/gdl
GDL> print,!GDL
{ 1.0.1 Git Oct 21 2021 1634785200 1 1 1}
GDL>
… On 21. Oct 2021, at 16:40, Alain ***@***.***> wrote:
Do we have any report of success of GDL compilation on Apple with the new M1 processors ?
I did received one negative feedback, without details
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#1167>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AOC5K6CMUFHFIF4IJNRE5CTUIBUDBANCNFSM5GO5J2DQ>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
I met the problem like this: |
Beta Was this translation helpful? Give feedback.
-
Way 0 : ha, sorry, gnudatalanguage formula is no more available in Brew, we have to correct that in the wiki. Way 1 : did you already go a message from the script build_gdl.sh ? I received positive feedback recently for OSX 11.x (not sure of the sub-version) and in the past, at some point, one is a link on the other one ... |
Beta Was this translation helpful? Give feedback.
-
https://github.com/brewsci/homebrew-science/blob/master/Formula/gnudatalanguage.rb |
Beta Was this translation helpful? Give feedback.
-
It seems to be still there: but first you need to ad the science tap:
or
|
Beta Was this translation helpful? Give feedback.
-
Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
yes but it is 0.9.7, in eh, 2017? and we are 1.0.1 |
Beta Was this translation helpful? Give feedback.
-
Concerning the compilation of current version, no problem on OSX with 1.0.1 git version with qhull ( |
Beta Was this translation helpful? Give feedback.
-
I realize that using Homebrew for M1, packages are installed into the /opt/homebrew/ folder. But x86_64 Homebrew is still usable on M1 Mac, and using this version of homebrew, the path would be /usr/local/homebrew, which would match the path in build_gdl.sh |
Beta Was this translation helpful? Give feedback.
-
Just downloaded/compiled today's GDL 1.0.1 using the three stage TIME_TEST3 / TIME_TEST4 Full listing below with the standout performance hits for Monterey picked out. Loops seem to be the killer. It was a READ_ASCII operation which first alerted me to compare the two. macOS 10.14.6 GDL> TIME_TEST3 macOS 12.0.1 GDL> time_test3 |
Beta Was this translation helpful? Give feedback.
-
@Barney-9000 , this is very interesting and probably points to some drawbacks of the current implementation of GDL.
with the unexpected result that GDL is even marginally faster for 'bare' loops than IDL... However, if you used build_gdl.sh, is not it a chance that some or all of the libraries you retrieved (from BREW) were not compiled for M1? Meaning they will be 'emulated' by the machine, and then its speed will go from average to worse? |
Beta Was this translation helpful? Give feedback.
-
((problems to post with my old Firefox)) I tested on a Mac today (troubles concerning the version, seems to be in 12.0.1 ?!) For me the problable reason is the usage of OpenMP, or not, On several multicores Linux I have, I don't have such discrepancies between IDL and GDL on time_test3/4, |
Beta Was this translation helpful? Give feedback.
-
Had a bit of time. OK, now twice as fast - but still very slow on the
So no plotting just yet. Here's the
|
Beta Was this translation helpful? Give feedback.
-
Attempted various ways to get PLplot to work -- no joy, I'm afraid. Anyone managed to get this working for a native M1 install? |
Beta Was this translation helpful? Give feedback.
-
Did you look on plplot pages ? https://sourceforge.net/p/plplot/support-requests/ |
Beta Was this translation helpful? Give feedback.
-
Nothing that I can see. Brew installs PLplot and wxwidgets without complaint. Nevertheless, PLplot (invoked from GDL) can't seem to find the wxwidgets driver. Could it be that the pre-Monterey homebrew paths BTW, at the final stage of the build this warning repeats many times:
|
Beta Was this translation helpful? Give feedback.
-
Any way to check? The file plplot/drivers.h is present in both the Mojave and Monterey homebrew installs, and the only reference to wxwidgets is the same: |
Beta Was this translation helpful? Give feedback.
-
I assume the current way for OSX in CI is for Intel ? Is it difficult to prepare one for M1 ? Another point is we can try to compile on OSX with |
Beta Was this translation helpful? Give feedback.
-
I wonder if it is Monterey rather than M1: with macOS 12 all homebrew resides in /opt/homebrew. |
Beta Was this translation helpful? Give feedback.
-
macOS 12 : since the update I have :
and I cannot go ahead (a remote machine). |
Beta Was this translation helpful? Give feedback.
-
Maybe this explains the xcrun problem? See section: After a macOS Upgrade. |
Beta Was this translation helpful? Give feedback.
-
@btom54 I was intrigued by 1). Can you give the contents of test.pro ? I fail to reproduce it. |
Beta Was this translation helpful? Give feedback.
-
Hi, The thing is, if I do not add
which is GDL or IDL trying to print a something using 'implied print'. If now I add
However I managed to reproduce, sort of, the
meaning that at minimum there is a problem with eof() on unit 0. |
Beta Was this translation helpful? Give feedback.
-
actually EOF(0) now works after a 3 lines correction in basic_fun.cpp |
Beta Was this translation helpful? Give feedback.
-
Anyone managed to progress with compiling GDL on M1 / Monterey? I'm happy to try out any suggestions / testing. Note, I'm a user of GDL/IDL rather than a developer, and have never coded in C. So, can't help with the nitty-gritty, I'm afraid. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip. I just needed to add |
Beta Was this translation helpful? Give feedback.
-
Great ! In fact I was in touch with @Jeanne-jw this afternoon trying to confirm whether |
Beta Was this translation helpful? Give feedback.
-
My student @djk0706 just successfully compiled GDL on M1 machine without disabling wxwidgets, we will make a PR soon. |
Beta Was this translation helpful? Give feedback.
-
See #1498 . As of jan 2023 GDL has changed a lot and most of the comments here are now moot. |
Beta Was this translation helpful? Give feedback.
-
Do we have any report of success of GDL compilation on Apple with the new M1 processors ?
I did received one negative feedback, without details
Beta Was this translation helpful? Give feedback.
All reactions