Skip to content
Snippets Groups Projects
Select Git revision
  • df43d9db86020cd23ad6a568312fd5fa814bf85c
  • master default protected
  • enxhi_issue460_remove_TOAR-I_access
  • michael_issue459_preprocess_german_stations
  • sh_pollutants
  • develop protected
  • release_v2.4.0
  • michael_issue450_feat_load-ifs-data
  • lukas_issue457_feat_set-config-paths-as-parameter
  • lukas_issue454_feat_use-toar-statistics-api-v2
  • lukas_issue453_refac_advanced-retry-strategy
  • lukas_issue452_bug_update-proj-version
  • lukas_issue449_refac_load-era5-data-from-toar-db
  • lukas_issue451_feat_robust-apriori-estimate-for-short-timeseries
  • lukas_issue448_feat_load-model-from-path
  • lukas_issue447_feat_store-and-load-local-clim-apriori-data
  • lukas_issue445_feat_data-insight-plot-monthly-distribution
  • lukas_issue442_feat_bias-free-evaluation
  • lukas_issue444_feat_choose-interp-method-cams
  • 414-include-crps-analysis-and-other-ens-verif-methods-or-plots
  • lukas_issue384_feat_aqw-data-handler
  • v2.4.0 protected
  • v2.3.0 protected
  • v2.2.0 protected
  • v2.1.0 protected
  • Kleinert_etal_2022_initial_submission
  • v2.0.0 protected
  • v1.5.0 protected
  • v1.4.0 protected
  • v1.3.0 protected
  • v1.2.1 protected
  • v1.2.0 protected
  • v1.1.0 protected
  • IntelliO3-ts-v1.0_R1-submit
  • v1.0.0 protected
  • v0.12.2 protected
  • v0.12.1 protected
  • v0.12.0 protected
  • v0.11.0 protected
  • v0.10.0 protected
  • IntelliO3-ts-v1.0_initial-submit
41 results

create_runscripts_HPC.sh

Blame
  • MATLAB-2023b-GCCcore-11.3.0.eb 2.32 KiB
    # Attention: before calling 'eb':
    # export EB_MATLAB_KEY as fileInstallationKey
    # or export EB_MATLAB_LICFILE as license file
    
    name = 'MATLAB'
    version = '2023b'
    
    # only users of the UNIX-group 'matlab' must have access
    group = 'matlab'
    
    homepage = 'https://www.mathworks.com/products/matlab.html'
    description = """MATLAB is a high-level language and interactive environment
    that enables you to perform computationally intensive tasks faster than with
    traditional programming languages such as C, C++, and Fortran.
    """
    
    toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
    
    sources = [SOURCELOWER_TAR_GZ]
    checksums = ['d96b9b3b36fad31a68061b7e64f6e0c7c3c072f85881290877cc5fc675ccb06f']
    
    dependencies = [
        ('X11', '20220504'),  # mlab req. libXt.so which is not on the computes
        ('Java', '11', '', SYSTEM)
    ]
    
    java_options = '-Xmx2048m'
    
    # if we remove
    # ```
    # prepend_path("LD_LIBRARY_PATH", pathJoin(root, "runtime/glnxa64"))
    # prepend_path("LD_LIBRARY_PATH", pathJoin(root, "bin/glnxa64"))
    # prepend_path("LD_LIBRARY_PATH", pathJoin(root, "sys/os/glnxa64"))
    # ```
    # from the lua-Script. (needs a modification of eb-block-matlab)
    # postinstallcmds = [
    #    # create a wrapper script to ensure we do not mess up the environment
    #    # because MATLAB comes with its own libstdc++ and other system libs
    #    # in $EBROOTMATLAB/sys/os/glnxa64/
    #    'mv %(installdir)s/bin/matlab %(installdir)s/bin/matlab.bin ',
    #    (
    #        '{ cat > %(installdir)s/bin/matlab; } << EOF\n'
    #        '#!/bin/bash\n'
    #        '\n'
    #        'MYPATH=\$(readlink -f \$0)\n'
    #        'export MATLAB_PATH=\$(realpath \$(dirname "\$MYPATH")/..)\n'
    #        '\n'
    #        'export LD_LIBRARY_PATH=\$MATLAB_PATH/runtime/glnxa64:\$LD_LIBRARY_PATH\n'
    #        'export LD_LIBRARY_PATH=\$MATLAB_PATH/bin/glnxa64:\$LD_LIBRARY_PATH\n'
    #        'export LD_LIBRARY_PATH=\$MATLAB_PATH/sys/os/glnxa64:\$LD_LIBRARY_PATH\n'
    #        '\n'
    #        '"\$MATLAB_PATH/bin/matlab.bin" "\$@"\n'
    #        'EOF'
    #    ),
    #    'chmod +x %(installdir)s/bin/matlab',
    # ]
    
    modloadmsg = """
    Attention: This software is RESTRICTED to ACADEMIC users who are members of the group matlab\n.
    """
    
    modextravars = {
        'MATLAB_ROOT': '%(installdir)s',
        'MLM_LICENSE_FILE': '27000@zam2076.zam.kfa-juelich.de',
    }
    
    sanity_check_paths = {
        'files': ['bin/matlab', 'bin/glnxa64/MATLAB'],
        'dirs': [],
    }
    
    moduleclass = 'math'