icecube / nuflux

A library for calculating atmospheric neutrino fluxes.
https://docs.icecube.aq/nuflux/main
GNU Lesser General Public License v3.0
15 stars 5 forks source link

Trouble locating cfitsio on SLC7 #10

Closed austinschneider closed 1 year ago

austinschneider commented 3 years ago

Recently another user was having trouble getting nuflux to find cfitsio on SLC7 when installing via pip. I haven't tried to reproduce it yet, but could it be related to the fact that cfitsio is not currently referenced in the setup script? https://github.com/icecube/nuflux/blob/f48edb8d48903236e4d01fa68db5dfcc06718c0a/setup.py#L24

JaydipSingh commented 3 years ago

Any update regarding this issue on SLC7?

austinschneider commented 3 years ago

I gave this a try on an SLC7 machine, although it wasn't quite a clean start since I was using one of the IceCube cvmfs environment.

With the pip install route I was having trouble getting it to find libraries when I was installing it to a specific location, but I think that's because I was using $PREFIX to denote the install location. This ended up working for me, which is basically what the README instructions give, but with the additional --prefix flag: PREFIX=${SROOT} pip install --prefix=${INSTALL_LOCATION_HERE} git+https://github.com/icecube/nuflux

JaydipSingh commented 3 years ago

I tried it as well by the external installation of "cfitsio" and getting the different output. How one can check that the installation is ok ?

kjmeagher commented 1 year ago

is this still an issue? otherwise i will close it