# Missing environment-modules in flpsuite 0.18

**URL:** <https://alice-talk.web.cern.ch/t/missing-environment-modules-in-flpsuite-0-18/962>\
**Category:** O² FLP\
**Created:** [May 25, 2021, 2:25pm UTC](https://alice-talk.web.cern.ch/t/missing-environment-modules-in-flpsuite-0-18/962 "2021-05-25T14:25:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dstocco](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/d/b77776/32.png) [@dstocco](https://alice-talk.web.cern.ch/u/dstocco)\
**Post date:** [May 25, 2021, 2:25pm UTC](https://alice-talk.web.cern.ch/t/missing-environment-modules-in-flpsuite-0-18/962/1 "2021-05-25T14:25:14Z")

</div>

Dear @vmcb ,  
MID was just upgraded to FLP suite 0.18. I see that one of the main change is that there is no modules anymore: everything is installed under `/opt/o2`.  
Some of my tests relied on the possibility to compile and use a custom O2 on the FLP.  
I can still compile it w/o problem with `alibuild`, but I cannot load it anymore:

```
alienv enter O2/latest
ERROR: Environment Modules was not found on your system.
       Get it with: yum install environment-modules

```

Of course I will need to port all of my modifications to the O2 repository, but this will take time. What is the best way to have a custom O2 version in the meanwhile?

Thanks in advance,  
best regards,  
Diego

P.S. I know that there is work ongoing to build against RPM, but for simplicity I still re-build everything with aliBuild. @bvonhall : I’d be interesting to know if the building against RPM is already usable.

---

<div class="post-metadata">

**Author:** ![bvonhall](https://alice-talk.web.cern.ch/user_avatar/alice-talk.web.cern.ch/bvonhall/32/8_2.png) [@bvonhall](https://alice-talk.web.cern.ch/u/bvonhall)\
**Post date:** [May 27, 2021, 12:36pm UTC](https://alice-talk.web.cern.ch/t/missing-environment-modules-in-flpsuite-0-18/962/2 "2021-05-27T12:36:33Z")

</div>

Hi Diego,

The building against RPMs has been paused because a lack of time. Moreover, given the new RPMs coming I did not want to invest too much time on a system that was being changed.

However, I have improved recently the doc on how to build on a machine installed with FLP suite. See option 1 of [QualityControl/Advanced.md at master · AliceO2Group/QualityControl · GitHub](https://github.com/AliceO2Group/QualityControl/blob/master/doc/Advanced.md#flp-suite)  
It does not reuse the stuff from the RPMs though but let ECS pick your locally built software.

Best regards,  
Barth

---

<div class="post-metadata">

**Author:** ![dstocco](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/d/b77776/32.png) [@dstocco](https://alice-talk.web.cern.ch/u/dstocco)\
**Post date:** [May 27, 2021, 4:00pm UTC](https://alice-talk.web.cern.ch/t/missing-environment-modules-in-flpsuite-0-18/962/3 "2021-05-27T16:00:56Z")

</div>

Hi @bvonhall ,  
thanks for the info. Indeed I can already tell you that the new instructions won’t work out of the box.  
Since the environment-module are not there anymore, this does not work:

`Run alienv at least once, or each time you switch branch: alienv enter O2Suite/latest`

Anyways, I tried to install the environment-modules with yum and for the moment it works without creating visible problems to the standard packages…

---

<div class="post-metadata">

**Author:** ![bvonhall](https://alice-talk.web.cern.ch/user_avatar/alice-talk.web.cern.ch/bvonhall/32/8_2.png) [@bvonhall](https://alice-talk.web.cern.ch/u/bvonhall)\
**Post date:** [May 28, 2021, 3:25pm UTC](https://alice-talk.web.cern.ch/t/missing-environment-modules-in-flpsuite-0-18/962/4 "2021-05-28T15:25:00Z")

</div>

Hi,

But if you follow the instructions to setup an alibuild development machine it should be there, shouldn’t it ?

> - Prepare the machine for aliBuild : [🧪 Installation via alibuild · ALICE Analysis Tutorial](https://alice-doc.github.io/alice-analysis-tutorial/building/custom.html)

---

<div class="post-metadata">

**Author:** ![dstocco](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/d/b77776/32.png) [@dstocco](https://alice-talk.web.cern.ch/u/dstocco)\
**Post date:** [May 28, 2021, 3:32pm UTC](https://alice-talk.web.cern.ch/t/missing-environment-modules-in-flpsuite-0-18/962/5 "2021-05-28T15:32:14Z")

</div>

Well I guess so, but I did not dare to install the full dependencies on an FLP…  
Also, I’d expect that all dependencies were already there since the o2 software is there. I was just surprised that the environment-modules were excluded.  
Cheers,  
Diego

---

<div class="post-metadata">

**Author:** ![divia](https://alice-talk.web.cern.ch/user_avatar/alice-talk.web.cern.ch/divia/32/99_2.png) [@divia](https://alice-talk.web.cern.ch/u/divia)\
**Post date:** [May 28, 2021, 5:25pm UTC](https://alice-talk.web.cern.ch/t/missing-environment-modules-in-flpsuite-0-18/962/6 "2021-05-28T17:25:31Z")

</div>

And it may disappear at the next FLP suite update…

---

<div class="post-metadata">

**Author:** ![bvonhall](https://alice-talk.web.cern.ch/user_avatar/alice-talk.web.cern.ch/bvonhall/32/8_2.png) [@bvonhall](https://alice-talk.web.cern.ch/u/bvonhall)\
**Post date:** [May 31, 2021, 6:41am UTC](https://alice-talk.web.cern.ch/t/missing-environment-modules-in-flpsuite-0-18/962/7 "2021-05-31T06:41:13Z")

</div>

The FLP Suite is an executable environment, not a development environment. We do not install by default the development setup. This is why it is needed to install the environment setup. We had started working with Giulio on a meta-RPM that would pull all the dependencies needed for development. It should help but is not yet ready.
