Skip to content

Commit

Permalink
quick fix for full path to lmod command
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Nov 3, 2021
1 parent a21549d commit db67f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desiutil/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def init_modules(moduleshome=None, method=False, command=False):
#
# Lmod version!
#
modulecmd = [os.path.exists(os.path.join(moduleshome, 'libexec', 'lmod')), 'python']
modulecmd = [os.path.join(moduleshome, 'libexec', 'lmod'), 'python']
else:
#
# This should work on all NERSC systems, assuming the user's environment
Expand Down

0 comments on commit db67f80

Please sign in to comment.