Skip to content

Fix cmsh not load on CoD#323

Open
diedpigs wants to merge 3 commits intojprorama:devfrom
diedpigs:fix-cmsh-not-load
Open

Fix cmsh not load on CoD#323
diedpigs wants to merge 3 commits intojprorama:devfrom
diedpigs:fix-cmsh-not-load

Conversation

@diedpigs
Copy link
Collaborator

I removed cmsh from DefaultModules before because there's no cmsh on the login node and that causes the DefaultModules not being loaded at all on the login node.
Using try_load instead, it loads the module if it exists, ignore it if not exist.

Change to try_load instead of load,
since *try_load* trys to load modules individually and ignore error
while *load* trys to load all modules, or not at all when error occurs
@diedpigs diedpigs changed the base branch from feat-openstack to uab-dev May 13, 2022 20:39
@diedpigs diedpigs changed the base branch from uab-dev to dev September 9, 2022 20:31

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe name this file as cod_def_module OR cod_default_module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants