-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Description
For some strange reason, while this runs fine 🟢
reframe ... -p PrgEnv-cray --system dom:login -M cce:cce/11.0.4
the same with atp fails: 🔥
reframe ... -p PrgEnv-cray --system dom:login -M atp:atp/3.7.4
where the available modulefiles are:
-- /opt/cray/pe/modulefiles ---------------------------------------------------------
cce/10.0.2 cce/11.0.0(default) cce/11.0.2 cce/11.0.4
atp/3.7.4 atp/3.8.1(default) atp/3.11.7
and the code is:
import os, sys
import reframe as rfm
import reframe.utility.sanity as sn
@rfm.simple_test
class ExampleRunOnlyTest(rfm.RunOnlyRegressionTest):
def __init__(self):
self.descr = ('RunOnlyRegressionTest')
self.valid_systems = ['dom:login']
self.valid_prog_environs = ['PrgEnv-cray']
# self.modules = ['cce']
self.modules = ['atp']
self.sourcesdir = None
self.executable = 'echo 9'
self.sanity_patterns = sn.assert_found('9', self.stdout) * Reason: environ error: could not execute module operation: command 'modulecmd python show atp' failed with exit code 0:
--- stdout ---
--- stdout ---
--- stderr ---
I suspect https://github.com/eth-cscs/reframe/blob/master/reframe/core/modules.py#L671 but not sure why...