-
Notifications
You must be signed in to change notification settings - Fork 4
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
configure fails to find cfitsio #3
Comments
Thank you for the report, Mark. I just tried running the configure script on my OSX system. I have cfitsio installed through macports. Like you said, configure first failed to find cfitsio. When I explicitly used Does it solve the problem for you as well? If not, can you provide more details about the system you are running on? |
I am doing this on Cori, using the GNU compilers (7.1.0). I have compiled the most recent version of cfitsio, 3.42. I am explicitly passing the location of cfitsio to configure:
It is finding
|
Thank you for the details. It seems that the Cray-provided MPI-compiler wrapper, |
Thanks for the work-around. I have run I have come across another error when compiling. The library is built successfully, but there is a error when trying to link the
|
Hello @majashdown , if you are installing from a git checkout at NERSC, then you'll need autotools in order to run the autogen.sh script. Are you just using the default versions of autotools on the system? If so, they are probably old. Can you try installing this release tarball (just run configure, not autogen.sh), to see if that works? https://github.com/hpc4cmb/libconviqt/releases/download/1.0.2/libconviqt-1.0.2.tar.bz2 If it does work, then likely that was the problem. The toast-deps module includes newer versions of autotools, but I realize that software stack is also set up to use the Intel compiler, which it seems you don't want. Also a big warning- if you use MKL for Lapack/Blas and also use gcc, then do not try to mix that compiled code with python. See: Basically python/numpy dlopens MKL with Intel thread support. Later, if the python process dlopen's another library linked to MKL with gnu thread support, MKL (with the wrong thread support) will be seen as already loaded. This causes silent race conditions and memory corruption in threaded code. |
The configure script fails to work with recent versions of cfitsio, even if the location of the library explicitly passed to it:
I think this is because cfitsio needs to be linked with -lcurl.
The text was updated successfully, but these errors were encountered: