Skip to content

Commit

Permalink
Update gmpflf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TopRichard authored Jul 3, 2024
1 parent 1798310 commit 7ae687c
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions easybuild/toolchains/gmpflf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,13 @@
"""
from easybuild.toolchains.gmpich import Gmpich
from easybuild.toolchains.gfbf import Gfbf
from easybuild.toolchains.golf import Golf
from easybuild.toolchains.fft.fftw import Fftw
from easybuild.toolchains.linalg.flexiblas import FlexiBLAS
from easybuild.toolchains.linalg.openblas import OpenBLAS
from easybuild.toolchains.linalg.scalapack import ScaLAPACK


class Gmpflf(Gmpich, OpenBLAS, FlexiBLAS, ScaLAPACK, Fftw):
class Gmpflf(Gmpich, FlexiBLAS, ScaLAPACK, Fftw):
"""Compiler toolchain with GCC, MPICH, OpenBLAS, ScaLAPACK and FFTW."""
NAME = 'gmpflf'
SUBTOOLCHAIN = [Gmpich.NAME, Golf.NAME, Gfbf.NAME]

def __init__(self, *args, **kwargs):
"""Toolchain constructor."""
super(Gmpflf, self).__init__(*args, **kwargs)
constants = ('BLAS_MODULE_NAME', 'BLAS_LIB', 'BLAS_LIB_MT', 'BLAS_FAMILY',
'LAPACK_MODULE_NAME', 'LAPACK_IS_BLAS', 'LAPACK_FAMILY')

for constant in constants:
setattr(self, constant, getattr(FlexiBLAS, constant))
SUBTOOLCHAIN = [Gmpich.NAME, Gfbf.NAME]

0 comments on commit 7ae687c

Please sign in to comment.