Skip to content
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

Problems encountered in compiling and installing NCL under macOS #130

Closed
Yiwei2020 opened this issue May 3, 2020 · 6 comments
Closed

Problems encountered in compiling and installing NCL under macOS #130

Yiwei2020 opened this issue May 3, 2020 · 6 comments

Comments

@Yiwei2020
Copy link

Describe the bug
Hello there,
I encountered some problems when compiling and installing NCL under macOS 10.15. When I finished the compilation, I tried to read a GRIB2 file through NCL and encountered a "Segmentation fault: 11" error. I checked the relevant information and found that this error was caused by a pointer variable being directly passed into the function without allocating memory. I have no way to solve this problem, can you help me?
In addition, my GCC version is 9.3. Other dependencies all install the NCL recommended version.

Provide the following:
a=addfile("fnl_20190312_18_00.grib2","r")
fnl_20190312_18_00.grib2 from rda.ucar.edu

Computing environment

  • OS: Mac
  • OS version:MacOS 10.15.4
  • NCL Version: 6.6.2
  • Installation method:built from source

Additional context
Add any other context about the problem here.

@rbrownrigg
Copy link
Contributor

rbrownrigg commented May 3, 2020 via email

@Yiwei2020
Copy link
Author

Yiwei2020 commented May 3, 2020 via email

@rbrownrigg
Copy link
Contributor

rbrownrigg commented May 4, 2020 via email

@Yiwei2020
Copy link
Author

Yiwei2020 commented May 4, 2020 via email

@rbrownrigg
Copy link
Contributor

rbrownrigg commented May 4, 2020 via email

@Yiwei2020
Copy link
Author

Thank You

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants