-
Notifications
You must be signed in to change notification settings - Fork 9
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
error when install pycrtm #15
Comments
Could you list the contents of the following directory? I suspect the automatic netcdf locator may not work correctly depending on how netcdf is installed. I have not committed it to the master branch, but you may want to checkout and try the following bugfix: https://github.com/JCSDA/pycrtm/tree/bugfix/splitNetcdfInstallsSpack |
Hi, @karpob Thank you very much for you reply. The contents of the I have tried the |
The CRTM library you compiled needs an additional "-fPIC" flag in cmake/compiler_flags_GNU_Fortran.cmake
You may have better luck with a more recent CRTM 2.4.0 release (if it is indeed alpha, it's a bit dated), however, for a quick fix I would check that -fPIC is in the CRTM library build in cmake/compiler_flags_GNU_Fortran.cmake
You may also need to add it to CMAKE_FORTRAN_FLAGS:
Once you have added -fPIC you will need to recompile the CRTM library. Afterward proceed with the pyCRTM setup. |
Hi,
When I installed
pycrtm
, some errors occurred. The information are shown ininstall.log
setup.txt
Can you help me to solve this problem?
Thanks!
The text was updated successfully, but these errors were encountered: