Skip to content
Snippets Groups Projects
dine.py 4.19 KiB
site_configuration = {
    'systems': [
        {
            'name': 'dine',
            'descr': 'DINE',
            'hostnames': ['b101.pri.cosma7.alces.network'],
            'modules_system': 'tmod4',
            'partitions': [
                {
                    'name': 'login',
                    'descr': 'login nodes',
                    'scheduler': 'local',
                    'launcher': 'local',
                    'environs': ['intel'],
                    'max_jobs': 100,
                },
                {
                    'name': 'cpu_single_node',
                    'descr': 'cpu nodes - single node',
                    'scheduler': 'slurm',
                    'launcher': 'local',
                    'access': ['-p bluefield1', '-A durham'],
                    'environs': ['scorep'],
                    'max_jobs': 100,
                },
                {
                    'name': 'cpu_multi_node_aps',
                    'descr': 'cpu nodes - multi node',
                    'scheduler': 'slurm',
                    'launcher': 'mpirun',
                    'access': ['-p bluefield1', '-A durham'],
                    'environs': ['intel'],
                    'max_jobs': 100,
                },
                {
                    'name': 'cpu_multi_node_perf_report',
                    'descr': 'cpu nodes - multi node',
                    'scheduler': 'slurm',
                    'launcher': 'local',
                    'access': ['-p bluefield1', '-A durham'],
                    'environs': ['intel'],
                    'max_jobs': 100,
                }
            ]
        }
    ],
    'environments': [
        {
            'modules': ['intel_comp/2018', 'intel_mpi/2018',
                        'parmetis/4.0.3', 'parallel_hdf5/1.10.3',
                        'gsl/2.4', 'fftw/3.3.8epyc',
                        'python/3.6.5', 'vtune',
                        'allinea/ddt/20.2.1', 'scorep/6.0', 'cube/4.5'],
            'name': 'intel',
            'cc': 'icc',
            'cxx': 'icpc',
            'ftn': '',
            'target_systems': ['dine'],
            'variables': [['SCOREP_ENABLE_PROFILING','1'],['SCOREP_EXPERIMENT_DIRECTORY','scorep_profiler_output'],['MPICC','mpiicc'],['I_MPI_FABRICS','shm:tcp'],['MPS_STAT_LEVEL','2']]
        },
        {
            'modules': ['intel_comp/2018', 'intel_mpi/2018',
                        'parmetis/4.0.3', 'parallel_hdf5/1.10.3', 'gsl/2.4', 
                        'fftw/3.3.8epyc', 'python/3.6.5',
                        'scorep/6.0', 'cube/4.5'],
            'name': 'scorep',
            'cc': 'icc',
            'cxx': 'icpc',
            'ftn': '',
            'target_systems': ['dine'],
            'variables': [['SCOREP_ENABLE_PROFILING','1'],['SCOREP_EXPERIMENT_DIRECTORY','scorep_profiler_output'],['MPICC','mpiicc'],['I_MPI_FABRICS','shm:tcp'],['MPS_STAT_LEVEL','2']]
        }       
    ],
    'logging': [
        {
            'level': 'debug',
            'handlers': [
                {
                    'type': 'stream',
                    'name': 'stdout',
                    'level': 'info',
                    'format': '%(message)s'
                },
                {
                    'type': 'file',
                    'name': 'reframe.log',
                    'level': 'debug',
                    'format': '[%(asctime)s] %(levelname)s: %(check_info)s: %(message)s',   # noqa: E501
                    'append': False
                }
            ],
            'handlers_perflog': [
                {
                    'type': 'filelog',
                    'prefix': '%(check_system)s/%(check_partition)s',
                    'level': 'info',
                    'format': (
                        '%(check_job_completion_time)s|reframe %(version)s|'
                        '%(check_info)s|jobid=%(check_jobid)s|'
                        '%(check_perf_var)s=%(check_perf_value)s|'
                        'ref=%(check_perf_ref)s '
                        '(l=%(check_perf_lower_thres)s, '
                        'u=%(check_perf_upper_thres)s)|'
                        '%(check_perf_unit)s'
                    ),
                    'append': True
                }
            ]
        }
    ],
}