Closed mboisson closed 1 year ago
Describe the bug When setting the family directive for a module, with hoomd-blue as a name, Lmod gives an error:
hoomd-blue
-bash: LMOD_FAMILY_HOOMD-BLUE=hoomd-blue : commande introuvable -bash: export: « LMOD_FAMILY_HOOMD-BLUE » : identifiant non valable -bash: LMOD_FAMILY_HOOMD-BLUE_VERSION=3.6.0 : commande introuvable -bash: export: « LMOD_FAMILY_HOOMD-BLUE_VERSION » : identifiant non valable
It attempts to export LMOD_FAMILY_HOOMD-BLUE which is not a valid environment variable name. The name of the family should be sanitized (or the family directive should do checking and refuse that name with a meaningful error message).
LMOD_FAMILY_HOOMD-BLUE
family
This has already been fixed as of Lmod 8.7.5
Ah, ok. Thanks, will look at upgrading.
Describe the bug When setting the family directive for a module, with
hoomd-blue
as a name, Lmod gives an error:It attempts to export
LMOD_FAMILY_HOOMD-BLUE
which is not a valid environment variable name. The name of the family should be sanitized (or thefamily
directive should do checking and refuse that name with a meaningful error message).