# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Ravi Tripathi
# Email: ravi89@uab.edu

easyblock = 'ConfigureMake'

name = 'DMTCP'
version = '2.4.5'

homepage = "http://dmtcp.sourceforge.net/index.html"
description = """DMTCP (Distributed MultiThreaded Checkpointing) 
transparently checkpoints a single-host or distributed computation 
in user-space -- with no modifications to user code or to the O/S."""

toolchain = {'name': 'dummy', 'version': 'dummy'}

source_urls = ['https://github.com/dmtcp/dmtcp/archive/']
sources = ['%(version)s.tar.gz']

sanity_check_paths = {
    'files': ['bin/dmtcp_command', 'bin/dmtcp_discover_rm', 'bin/dmtcp_nocheckpoint', 'bin/dmtcp_srun_helper',
              'bin/dmtcp_sshd',  'bin/dmtcp_coordinator', 'bin/dmtcp_launch', 'bin/dmtcp_restart', 'bin/dmtcp_ssh'],
    'dirs': [],
}

moduleclass = 'tools'

