# Problem installing lsst\_sims 2.8.0

**URL:** <https://www.rubin.community/t/problem-installing-lsst-sims-2-8-0/2923>\
**Category:** Support\
**Created:** [May 22, 2018, 1:43pm UTC](https://www.rubin.community/t/problem-installing-lsst-sims-2-8-0/2923 "2018-05-22T13:43:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesp](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@jamesp](https://www.rubin.community/u/jamesp)\
**Post date:** [May 22, 2018, 1:43pm UTC](https://www.rubin.community/t/problem-installing-lsst-sims-2-8-0/2923/1 "2018-05-22T13:43:39Z")

</div>

Hello,  
I am trying to install lsst\_sims 2.8.0 on Scientific Linux 6.9 using eups but it is failing at the healpy stage. From the healpy build.log:

`checking for CFITSIO... yes`  
`checking for ffgnrwll in -lcfitsio... no`  
`configure: error: could not find the cfitsio library`

I have built the cfitsio library from source (there didn’t seem to be a package available for SL6), installed it in /usr and ensured that it is visible to pkg-config but I’m still getting the same error. I’m installing on top of lsst\_distrib v15\_0 also installed via eups, in case that makes a difference. Anyone know what might be wrong?  
Thanks.

---

<div class="post-metadata">

**Author:** ![danielsf](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/danielsf/32/440_2.png) [@danielsf](https://www.rubin.community/u/danielsf)\
**Post date:** [May 22, 2018, 4:08pm UTC](https://www.rubin.community/t/problem-installing-lsst-sims-2-8-0/2923/2 "2018-05-22T16:08:14Z")

</div>

Hi James,

When you say you installed cfitsio from source, do you mean that you installed the LSST-distributed cfitsio package, or you installed something from hand? Usually, when I use `eups distrib install` to install any of our software, the first thing it does is install cfitsio for me. If you installed cfitsio by hand, it is possible that you got an incompatible version.

– Scott

---

<div class="post-metadata">

**Author:** ![danielsf](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/danielsf/32/440_2.png) [@danielsf](https://www.rubin.community/u/danielsf)\
**Post date:** [May 22, 2018, 4:45pm UTC](https://www.rubin.community/t/problem-installing-lsst-sims-2-8-0/2923/3 "2018-05-22T16:45:09Z")

</div>

Specifically, we ship the LSST stack with cfitsio version 3.360. I do not know if we expect the stack to be compatible with the most recent version of cfitsio.

---

<div class="post-metadata">

**Author:** ![jamesp](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@jamesp](https://www.rubin.community/u/jamesp)\
**Post date:** [May 22, 2018, 5:42pm UTC](https://www.rubin.community/t/problem-installing-lsst-sims-2-8-0/2923/4 "2018-05-22T17:42:05Z")

</div>

Thanks for responding. You are right about cfitsio being installed with the LSST software. I didn’t notice at first that it was there so when I saw the error I tried installing it manually from source, which didn’t help.  
I solved this problem eventually by reinstalling lsst\_sims on top of lsst\_distrib w\_2018\_19 instead of v15\_0. It is still building now but it has successfully passed the healpy step so hopefully it will be OK now.

---

<div class="post-metadata">

**Author:** ![danielsf](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/danielsf/32/440_2.png) [@danielsf](https://www.rubin.community/u/danielsf)\
**Post date:** [May 22, 2018, 5:56pm UTC](https://www.rubin.community/t/problem-installing-lsst-sims-2-8-0/2923/5 "2018-05-22T17:56:23Z")

</div>

Good.

As a rule, lsst\_sims is never going to be compatible with the latest stable DM release (e.g. v15.0). Our release schedule is too fast. We always build lsst\_sims on top of recent weeklies. I’m surprised `eups distrib install` didn’t automatically try to update your lsst\_distrib packages to w\_2018\_19.

Regardless: the installation instructions

[https://confluence.lsstcorp.org/display/SIM/Catalogs+and+MAF](https://confluence.lsstcorp.org/display/SIM/Catalogs+and+MAF)

will tell you which weekly you need to use (see step 2 under “Installing From Source”).
