Skip to content

ReFrame fails with Tcl versions that use modulecmd.tcl as executable #780

@rsarm

Description

@rsarm

ReFrame checks for the module system by running the modulecmd command.

Some versions of Tcl do not have the modulecmd binary. Instead they use the script ~/libexec/modulecmd.tcl which is used by the module function in a similar way to modulecmd. They can not be replaced between each other, doing a symlink from modulecmd.tcl to modulecmd doesn't work as ReFrame gives configuration error: could not find a sane Tmod installation.

The details of the module function can be found with type -a _moduleraw. In the cases where the modulecmd.tcl is used, module depends on another function: _moduleraw. With type -a _moduleraw it can be seen that it used libexec/modulecmd.tcl.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions