-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GCC version issues on Linux CentOS #93
Comments
This is a runtime error, not a compilation error so I'm not sure that using a different version of GCC would make a difference. Oftentimes, a segmentation fault can occur, particularly on Linux, because of issues with case sensitivity in filenames that macOS and Windows are not sensitive to. Can you provide your particular HYDRAD setup? That might help debug this compilation error. |
Can you clarify what you mean by HYDRAD setup? I cloned a copy from Github in April, if that helps! |
Try deleting that and cloning the most recent (current) version. I have run HYDRAD in CentOS on a virtual machine with no problems.
Cheers,
Steve
From: weaselskinghenry ***@***.***>
Sent: Thursday, September 23, 2021 1:33 PM
To: rice-solar-physics/HYDRAD ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [rice-solar-physics/HYDRAD] GCC version issues on Linux CentOS (#93)
Can you clarify what you mean by HYDRAD setup? I cloned a copy from Github in April, if that helps!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#93 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACC6C7S4QIXD5OGJT5USGJLUDNXELANCNFSM5ETZIROA> .
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> . <https://github.com/notifications/beacon/ACC6C7VDVLQG6CMGPFRN2YDUDNXELA5CNFSM5ETZIROKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG4ZIFQQ.gif>
|
Hi Steve, I did that and got exactly the same error. Also, the new version doesn't include HYDRAD.bat? I copied it over from my old version, I run it in command line rather than through the GUI. |
After you compile HYDRAD, are there two files in /HYDRAD/config/ ? As Will mentioned, filenames can have case sensitivity issues on different operating systems. There might be a file name HYDRAD.cfg and one named hydrad.cfg, and the code might segfault when this happens if it reads the wrong one. |
Trying to run HYDRAD on Linux CentOS is giving the following error:
Investigating the compiler:
So it's giving the same problem using both GCC v4 and v10; the exact same copy is running with no errors on a MBP running GCC v4.2.1. Any light shed on this would be appreciated!
The text was updated successfully, but these errors were encountered: