Update Troubleshooting authored by Alain O' Miniussi's avatar Alain O' Miniussi
## August 2020 OpenHPC migration ## August 2020 OpenHPC migration
### I get module error on login ### I get module error on login
#### Symptoms
If you have module related error on login involving `userspace/OCA`, like: If you have module related error on login involving `userspace/OCA`, like:
``` ```
invalid command name "module" invalid command name "module"
...@@ -12,4 +13,10 @@ invalid command name "module" ...@@ -12,4 +13,10 @@ invalid command name "module"
``` ```
these are due to the fact that the module organization system has changed during the migration to the OpenHPC environement, And that module does not exist anymore. these are due to the fact that the module organization system has changed during the migration to the OpenHPC environement, And that module does not exist anymore.
**Solution:** flush or remove your `~/.modulerc` file and relog. Then, setup your environment according to the [Software Environment](Licallo/Software Environment) page. #### Solution
\ No newline at end of file You need to remove the obsolete commands from your login resource files.
* Sometime they're in your `~/.modulerc` file: flush or remove your `~/.modulerc` file and relog.
* Other place to look for are your `.bashrc`, `.bash_profile`.
* If that fail, the following command might help finding those files: `egrep '\bmodule\b' .??*`.
Then, setup your environment according to the [Software Environment](Licallo/Software Environment) page.