I was trying to install the PolSpice software in conda environment. The cmake part has been done but I get an error when trying to make which is as follows
9 | use healpix_types
| 1
Fatal Error: Cannot open module file 'healpix_types.mod' for reading at (1): No such file or directory
compilation terminated.
Thanks in advance for the help
Anonymous
Hi, did you follow the instructions provided in https://zonca.dev/2020/10/install-healpix-polspice-conda-nersc.html ?
Yes, the cmake was done, error showed up while 'make -j8'
Sorry, I have posted on the wrong version of healpix. The version used in 3.6.
The question was whether Healpix was also installed (successfully) with conda.
What is your operating system,
and what C and F90 compilers are you using (for Healpix and PolSpice).
What is the PolSpice version ?
I had installed fermitools in conda environment which installed healpix (the library path of which I had provided for PolSpice). I had also installed healpy in conda environment. Healpy can imported in my python codes. My operating system is Ubuntu20. The C and F90 compilers used are 9.4.0.
I reinstalled Healpix3.81 in conda environment and tried to install PolSpice. Healpix could not be configured with f90. I am using cfitsio-4.0.0. The error displayed is as follows
F90 codes do not link correctly with /home/abc/miniconda3/cfitsio-4.0.0/libcfitsio.a
Check that in the cfitsio library:
- the Fortran wrappers were correctly compiled, and
- the library (C routines and F90 wrappers) was compiled
with a number of bits compatible with /home/abc/miniconda3/envs/fermi/bin/x86_64-conda-linux-gnu-gfortran -O3 -I$(F90_INCDIR)
Make sure that libcurl is properly installed
(see HEALPix installation documentation for more details)
Something went wrong ...
Quitting configuration script !
I installed curl in conda environment and re-tried but it is not working and the same error is repeated. Thanks in advance for the help.
Hi,
was cfitsio compiled with the fortran wrapper enabled ?
should return something.
I already saw some problems with the conda installed curl, see https://sourceforge.net/p/healpix/bugs/96/
Does the command curl-config works within and/or outside anaconda ?
If so, what do you get for
You can try disabling curl when compiling cfitsio with