# IT4Innovations 2020 # LK name = 'PGI' version = '20.1' homepage = 'http://www.pgroup.com/' description = "C, C++ and Fortran local_compilers from The Portland Group - PGI" toolchain = SYSTEM sources = ['pgilinux-20%(version_major)s-%(version_major)s%(version_minor)s-x86-64.tar.gz'] local_local_gccver = '8.3.0' local_local_local_binutilsver = '2.32' versionsuffix = '-GCC-%s-%s' % (local_local_gccver, local_local_local_binutilsver) dependencies = [ ('GCCcore', local_local_gccver), ('binutils', local_local_local_binutilsver, '', ('GCCcore', local_local_gccver)), ('numactl', '2.0.12', '', ('GCCcore', local_local_gccver)), ] install_mpi = 'true' # license file license_file = '/apps/licenses/pgi/license.dat' import os if os.environ.get("CLUSTERNAME") in ["BARBORA"]: modextrapaths = { 'PATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/bin', 'LD_LIBRARY_PATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/lib', 'LIBRARY_PATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/lib', 'CPATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/include', 'MANPATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/share/man', 'PKG_CONFIG_PATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/lib/pkgconfig', 'OMPI_MCA_btl_openib_if_include': 'mlx5_0', 'OMPI_MCA_btl_tcp_if_include': '10.33.4.0/24', 'OMPI_MCA_orte_base_help_aggregate': '0', } else: modextrapaths = { 'PATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/bin', 'LD_LIBRARY_PATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/lib', 'LIBRARY_PATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/lib', 'CPATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/include', 'MANPATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/share/man', 'PKG_CONFIG_PATH': 'linux86-64-llvm/2020/mpi/openmpi-3.1.3/lib/pkgconfig', 'OMPI_MCA_btl_openib_if_include': 'mlx4_0', 'OMPI_MCA_oob_tcp_if_include': '10.0.0.0/8', } moduleclass = 'compiler'