# IT4Innovations # PH 2025 easyblock = 'Tarball' name = 'PWTK' version = '3.2' homepage = 'http://pwtk.ijs.si/' description = "PWTK (Plane-Wave Toolkit) is a script environment for running and managing plane-wave DFT calculations." toolchain = SYSTEM # No compilation required source_urls = ['http://pwtk.ijs.si/download/'] sources = [f'pwtk-{version}.tar.gz'] checksums = [ '51c7bb3ed714293871cb6544fe5a8f65659e7084fc3351721fa0a70e226b5842' # pwtk-3.2.tar.gz ] dependencies = [ ('Tcl', '8.6.13', '-GCCcore-13.2.0', True), ('tclreadline', '2.4.0', '-GCCcore-13.2.0', True), ('tcl-thread', '2.8.8', '-GCCcore-13.2.0', True), ] sanity_check_paths = { 'files': ['pwtk'], 'dirs': [], } preinstall_cmd = 'rm %(builddir)s/pwtk-3.2/doc/pwtk-slides.pdf' # Remove broken symlink modextrapaths = {'PATH': ''} # Add TCLLIBPATH for runtime environment modextravars = { 'TCLLIBPATH': '/apps/all/tclreadline/2.4.0-GCCcore-13.2.0/lib', } sanity_check_commands = [ 'pwtk --help', ] moduleclass = 'tools'