-
Notifications
You must be signed in to change notification settings - Fork 30
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
Shear Test fails due to OSError: libgfortran.so.3: cannot open shared object file: No such file or directory #181
Comments
Let's check with @heather999 first. |
I can confirm I saw the same issue. Think this is now fixed. We had lost gcc/6.3.0 with the last Cori OS upgrade and I tried to move us to gcc/7.3.0, but clearly such a move would require a complete reinstall of |
Thanks for the quick response @heather999! @evevkovacs can you report back if the code works (or not)? Thanks! |
@yymao Hmm, still seems to be broken. I also tried interactively and could not import camb after setting up python using setup_current_python.sh So descqa and interactive python are still broken, I suspect because setup_current_python.sh needs to be changed. |
|
I tried again on a fresh login. I normally use tcsh, so have to switch shells to run python. If I switch using exec sh, run the setup, run ipython and try to import camb, I get the error. (Previously, this procedure worked). If I switch to bash as you did above, then it works. |
hmm, @evevkovacs are you using |
@yymao Just tried running the shear test and it failed with the following error:
File "/global/u1/k/kovacs/descqa2-local/descqa_njobs/descqa/shear_test.py", line 10, in
import camb
File "/global/common/software/lsst/common/miniconda/current/envs/stack/lib/python3.7/site-packages/camb/init.py", line 11, in
from . import baseconfig
File "/global/common/software/lsst/common/miniconda/current/envs/stack/lib/python3.7/site-packages/camb/baseconfig.py", line 51, in
camblib = ctypes.LibraryLoader(ifort_gfortran_loader).LoadLibrary(CAMBL)
File "/global/common/software/lsst/common/miniconda/current/envs/stack/lib/python3.7/ctypes/init.py", line 434, in LoadLibrary
return self._dlltype(name)
File "/global/common/software/lsst/common/miniconda/current/envs/stack/lib/python3.7/ctypes/init.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: libgfortran.so.3: cannot open shared object file: No such file or directory
I tested this myself manually. If I open an interactive python session and do:
import camb
I get OSError: libgfortran.so.3: cannot open shared object file: No such file or directory
Should I report this to Heather or open a ticket with nersc consulting?
FYI: My python setup is
source /global/common/software/lsst/common/miniconda/setup_current_python.sh
Same error happens if I open a notebook using the desc-python kernel
The text was updated successfully, but these errors were encountered: