Skip to content

Commit

Permalink
Merge pull request #4337 from SebastianAchilles/sa-iofbf
Browse files Browse the repository at this point in the history
add definitions for ifbf and iofbf toolchain
  • Loading branch information
branfosj authored Aug 30, 2023
2 parents e6651e8 + 481bf95 commit 2ce8b70
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 0 deletions.
44 changes: 44 additions & 0 deletions easybuild/toolchains/ifbf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
##
# Copyright 2012-2023 Ghent University
#
# This file is part of EasyBuild,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be),
# Flemish Research Foundation (FWO) (http://www.fwo.be/en)
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
#
# https://github.com/easybuilders/easybuild
#
# EasyBuild is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation v2.
#
# EasyBuild is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with EasyBuild. If not, see <http://www.gnu.org/licenses/>.
##
"""
EasyBuild support for ifbf toolchain (includes Intel compilers, FlexiBLAS, and FFTW).
Authors:
* Sebastian Achilles (Juelich Supercomputing Centre)
"""

from easybuild.toolchains.intel_compilers import IntelCompilersToolchain
from easybuild.toolchains.fft.fftw import Fftw
from easybuild.toolchains.linalg.flexiblas import FlexiBLAS


class Ifbf(IntelCompilersToolchain, FlexiBLAS, Fftw):
"""
Compiler toolchain with Intel compilers, FlexiBLAS, and FFTW
"""
NAME = 'ifbf'
SUBTOOLCHAIN = IntelCompilersToolchain.NAME
OPTIONAL = True
47 changes: 47 additions & 0 deletions easybuild/toolchains/iofbf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
##
# Copyright 2012-2023 Ghent University
#
# This file is part of EasyBuild,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be),
# Flemish Research Foundation (FWO) (http://www.fwo.be/en)
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
#
# https://github.com/easybuilders/easybuild
#
# EasyBuild is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation v2.
#
# EasyBuild is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with EasyBuild. If not, see <http://www.gnu.org/licenses/>.
##
"""
EasyBuild support for iofbf toolchain (includes Intel compilers, OpenMPI,
FlexiBLAS, LAPACK, ScaLAPACK and FFTW).
Authors:
* Sebastian Achilles (Juelich Supercomputing Centre)
"""

from easybuild.toolchains.iompi import Iompi
from easybuild.toolchains.ifbf import Ifbf
from easybuild.toolchains.fft.fftw import Fftw
from easybuild.toolchains.linalg.flexiblas import FlexiBLAS
from easybuild.toolchains.linalg.scalapack import ScaLAPACK


class Iofbf(Iompi, FlexiBLAS, ScaLAPACK, Fftw):
"""
Compiler toolchain with Intel compilers (icc/ifort), OpenMPI,
FlexiBLAS, LAPACK, ScaLAPACK and FFTW.
"""
NAME = 'iofbf'
SUBTOOLCHAIN = [Iompi.NAME, Ifbf.NAME]

0 comments on commit 2ce8b70

Please sign in to comment.