# Why do I get an error when launching an Open OnDemand HPC Interactive session?

**URL:** <https://ask.cyberinfrastructure.org/t/why-do-i-get-an-error-when-launching-an-open-ondemand-hpc-interactive-session/2496>\
**Category:** University of Alabama at Birmingham\
**Tags:** ondemand, anaconda, conda\
**Created:** [September 15, 2022, 9:05pm UTC](https://ask.cyberinfrastructure.org/t/why-do-i-get-an-error-when-launching-an-open-ondemand-hpc-interactive-session/2496 "2022-09-15T21:05:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![prema](https://ask.cyberinfrastructure.org/letter_avatar_proxy/v4/letter/p/839c29/32.png) [@prema](https://ask.cyberinfrastructure.org/u/prema)\
**Post date:** [April 9, 2024, 8:12pm UTC](https://ask.cyberinfrastructure.org/t/why-do-i-get-an-error-when-launching-an-open-ondemand-hpc-interactive-session/2496/3 "2024-04-09T20:12:42Z")

</div>

Another cause of the aforementioned error might arise from setting up modules using the `module save` command at some point. This command saves a list of preferred modules as a default collection and generates a file in the path `$HOME/.lmod.d/default`.

 ![lmod_directory](https://ask.cyberinfrastructure.org/uploads/default/original/2X/1/194f735043196adc6c7bf337ba847cac7f3ada74.png)

 ![before_module disable](https://ask.cyberinfrastructure.org/uploads/default/original/2X/1/1fa53a11b70d2caaa2b22962548ce8e32f4afe86.png)

So, each time you log in, the default collection will be loaded as the initial set of modules. This leads to issues starting an Open On Demand (OOD) job, including an HPC Desktop job. For instance, if the saved modules contain `Anaconda` or other conflicting modules, they may disrupt the functioning of OOD jobs.

To resolve the problem, you’ll need to execute the `module disable` command upon logging into Cheaha. After disabling, make sure to close any active OOD HPC desktop jobs before initiating a new one to ensure the changes take effect.

```auto
$ module disable
Disabling default collection by renaming with a "~"

```

After disabling, you can see that the collection `default` is replaced with a `~` character at the end as `default~` in the path, $HOME/.lmod.d/, as shown below.

 ![after_module_disable](https://ask.cyberinfrastructure.org/uploads/default/original/2X/0/02f82fb0a22126c6032384f2a887a7bd2bfc9b7c.png)

---

_[View the full topic](https://ask.cyberinfrastructure.org/t/why-do-i-get-an-error-when-launching-an-open-ondemand-hpc-interactive-session/2496)._
