示例#1
0
文件: atlas.py 项目: nudded/easybuild
 def extra_options():
     extra_vars = {
                   'ignorethrottling': [False, "Ignore check done by ATLAS for CPU throttling (not recommended) (default: False)"],
                   'full_lapack': [False, "Build a full LAPACK library (requires netlib's LAPACK) (default: False)"],
                   'sharedlibs': [False, "Enable building of shared libs as well (default: False)"]
                  }
     return Application.extra_options(extra_vars)
示例#2
0
文件: wrf.py 项目: nudded/easybuild
 def extra_options():
     extra_vars = {
                   'buildtype': [None, "Specify the type of build (serial, smpar (OpenMP), " \
                                       "dmpar (MPI), dm+sm (hybrid OpenMP/MPI))."],
                   'rewriteopts': [True, "Replace -O3 with CFLAGS/FFLAGS (default: True)."],
                   'runtest': [True, "Build and run WRF tests (default: True)."]
                  }
     return Application.extra_options(extra_vars)
示例#3
0
 def extra_options():
     extra_vars = {
                   'withchkpt': [False, "Enable checkpointing support (required BLCR) (default: False)"],
                   'withlimic2': [False, "Enable LiMIC2 support for intra-node communication (default: False)"],
                   'withmpe': [False, "Build MPE routines (default: False)"],
                   'debug': [False, "Enable debug build (which is slower) (default: False)"],
                   'rdma_type': ["gen2", "Specify the RDMA type (gen2/udapl) (default: gen2)"]
                  }
     return Application.extra_options(extra_vars)
示例#4
0
 def extra_options():
     # default dimensions
     dd = [1,4,5,6,9,13,16,17,22]
     extra_vars = {
                   'transpose_flavour': [1, "Transpose flavour of routines (default: 1)"],
                   'max_tiny_dim': [12, "Maximum tiny dimension (default: 12)"],
                   'dims': [dd, "Generate routines for these matrix dims (default: %s)" % dd]
                  }
     return Application.extra_options(extra_vars)
示例#5
0
文件: wps.py 项目: nudded/easybuild
    def extra_options():
        testdata_urls = [
                         "http://www.mmm.ucar.edu/wrf/src/data/avn_data.tar.gz",
                         "http://www.mmm.ucar.edu/wrf/src/wps_files/geog.tar.gz" # 697MB download, 16GB unpacked!
                        ]

        extra_vars = {
                      'buildtype': [None, "Specify the type of build (smpar: OpenMP, dmpar: MPI)."],
                      'runtest': [True, "Build and run WPS tests (default: True)."],
                      'testdata': [testdata_urls, "URL to test data required to run WPS test (default: %s)." % testdata_urls]
                     }
        return Application.extra_options(extra_vars)
示例#6
0
 def extra_options(extra_vars=None):
     vars = Application.extra_options(extra_vars)
     intel_vars = {
                   'license':[None, "License file path (default: None)"],
                   'license_activation': ['license_server', "Indicates license activation type (default: 'license_server')"],
                    # 'usetmppath':
                    # workaround for older SL5 version (5.5 and earlier)
                    # used to be True, but False since SL5.6/SL6
                    # disables TMP_PATH env and command line option
                    'usetmppath': [False, "Use temporary path for installation (default: False)"],
                    'm32': [False, "Enable 32-bit toolkit (default: False)"],
                   }
     intel_vars.update(vars)
     return intel_vars
示例#7
0
文件: cp2k.py 项目: nudded/easybuild
 def extra_options():
     extra_vars = {
                   'type': ['popt', "Type of build ('popt' or 'psmp') (default: 'popt)"],
                   'typeopt': [True, "Enable optimization (default: True)"],
                   'libint': [True, "Use LibInt (default: True)"],
                   'modincprefix': ['', "IMKL prefix for modinc include dir (default: '')"],
                   'modinc': [[], "List of modinc's to use (*.f90), or 'True' to use all found at given prefix (default: [])"],
                   'extracflags': ['', "Extra CFLAGS to be added (default: '')"],
                   'extradflags': ['', "Extra DFLAGS to be added (default: '')"],
                   'runtest': [True, 'Indicates if a regression test should be run after make (default: True)'],
                   'ignore_regtest_fails': [False, "Ignore failures in regression test (should be used with care) (default: False)."],
                   'maxtasks': [3, "Maximum number of CP2K instances run at the same time during testing (default:3)"]
                  }
     return Application.extra_options(extra_vars)
示例#8
0
 def extra_options():
     extra_vars = {
                   'supply_blas': [False, "Supply BLAS lib to LAPACK for building (default: False)"],
                   'test_only': [False, "Only make tests, don't try and build LAPACK lib."]
                  }
     return Application.extra_options(extra_vars)