python_code
stringlengths
0
679k
repo_name
stringlengths
9
41
file_path
stringlengths
6
149
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_mpich.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_knem.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_mlnx_ofed.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_annotate.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_python.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_hdf5.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_envvars.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_gnu.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_Stage.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_recipe.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_rdma_core.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_cgns.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_julia.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_rm.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_copy.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_arm_allinea_studio.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_git.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_pgi.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_kokkos.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_magma.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_nccl.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_ucx.py
from hpccm.common import container_type if hpccm.config.g_ctype != container_type.SINGULARITY: raise Exception("Global variable g_ctype not set correctly!")
hpc-container-maker-master
test/global_vars_recipe.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_openmpi.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_nsight_compute.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_mvapich2.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_slurm_pmi2.py
"""This is bad python""" Stage0 += baseimage() # missing parenthesis Stage0 += apt_get(['gcc'] Stage0 += apt_get(['make'])
hpc-container-maker-master
test/bad_recipe.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_mvapich2_gdr.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_raw.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_ConfigureMake.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_pip.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_pmix.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_hpcx.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_generic_build.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_bb_base.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_sensei.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_nsight_systems.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_config.py
from __future__ import unicode_literals from __future__ import print_function import logging # pylint: disable=unused-import import unittest import os from helpers import docker, ubuntu from hpccm.common import container_type from hpccm.recipe import recipe class Test_global_vars(unittest.TestCase): def test_g...
hpc-container-maker-master
test/test_global_vars.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_intel_psxe.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_llvm.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_gdrcopy.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_amgx.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_pnetcdf.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_conda.py
Stage0 += baseimage(image='ubuntu:16.04')
hpc-container-maker-master
test/include1.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_nvshmem.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_wget.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_cmake.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_baseimage.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_CMakeBuild.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_multi_ofed.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_yum.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_nvhpc.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_shell.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_ldconfig.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_generic_cmake.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_scif.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_charm.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_boost.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_cli.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_blob.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/helpers.py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_downloader.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_fftw.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_runscript.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_environment.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_openblas.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_libsim.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
test/test_apt_get.py
""" HPC Base image Contents: CUDA version 10.1 FFTW version 3.3.8 GNU compilers (upstream) HDF5 version 1.10.5 Mellanox OFED version 4.6-1.0.1.1 MVAPICH version 2.3.2 Python 2 and 3 (upstream) """ # pylint: disable=invalid-name, undefined-variable, used-before-assignment # Choose between either Ubuntu 1...
hpc-container-maker-master
recipes/hpcbase-gnu-mvapich2.py
""" HPC Base image Contents: FFTW version 3.3.8 HDF5 version 1.10.6 Mellanox OFED version 5.0-2.1.8.0 NVIDIA HPC SDK version 20.7 OpenMPI version 4.0.4 Python 2 and 3 (upstream) """ # pylint: disable=invalid-name, undefined-variable, used-before-assignment # The NVIDIA HPC SDK End-User License Agreement m...
hpc-container-maker-master
recipes/hpcbase-nvhpc-openmpi.py
""" Recipe for a NVIDIA HPC SDK container and typical development environment. $ hpccm --recipe nvhpc.py --userarg eula=yes $ hpccm --recipe nvhpc.py --userarg eula=yes cuda_multi=no arch=x86_64 """ from distutils.version import StrictVersion import platform # Verify correct version of HPCCM is used if StrictVersion...
hpc-container-maker-master
recipes/nvhpc.py
"""Spack container (https://github.com/spack/spack) Set the user argument 'package' to specify the Spack package to install. Otherwise, it will just build a base Spack container image. Sample workflow: $ hpccm.py --recipe recipes/spack.py --userarg package="gromacs@2018.2 +cuda" > Dockerfile.gromacs.spack...
hpc-container-maker-master
recipes/spack.py
""" HPC Base image Contents: CUDA version 10.1 FFTW version 3.3.8 GNU compilers (upstream) HDF5 version 1.10.5 Mellanox OFED version 4.6-1.0.1.1 OpenMPI version 4.0.2 Python 2 and 3 (upstream) """ # pylint: disable=invalid-name, undefined-variable, used-before-assignment # Choose between either Ubuntu 1...
hpc-container-maker-master
recipes/hpcbase-gnu-openmpi.py
""" HPC Base image Contents: FFTW version 3.3.8 HDF5 version 1.10.6 Mellanox OFED version 5.0-2.1.8.0 MVAPICH version 2.3.3 NVIDIA HPC SDK version 20.7 Python 2 and 3 (upstream) """ # pylint: disable=invalid-name, undefined-variable, used-before-assignment # The NVIDIA HPC SDK End-User License Agreement m...
hpc-container-maker-master
recipes/hpcbase-nvhpc-mvapich2.py
""" MPI Bandwidth Contents: CentOS 7 GNU compilers (upstream) Mellanox OFED OpenMPI PMI2 (SLURM) UCX Building: 1. Docker to Singularity $ hpccm --recipe mpi_bandwidth.py > Dockerfile $ sudo docker build -t mpi_bw -f Dockerfile . $ singularity build mpi_bw.sif docker-daemon://mpi_bw:latest...
hpc-container-maker-master
recipes/mpi_bandwidth.py
"""EasyBuild container (https://github.com/easybuilders/easybuild) Set the user argument 'easyconfig' to specify the EasyConfig to build. Otherwise, it will just build a base EasyBuild container image. Sample workflow: $ hpccm.py --recipe recipes/easybuild.py --userarg easyconfig=GROMACS-2019.3-fosscuda-2...
hpc-container-maker-master
recipes/easybuild.py
# Generic recipe to build a OFED+UCX+MPI+CUDA container environment # that supports both OFED 4.x and 5.x. # Development stage Stage0 += baseimage(image='nvcr.io/nvidia/cuda:11.0-devel-ubuntu18.04', _as='devel') # Compiler Stage0 += gnu() # Communication libraries Stage0 += gdrcopy(ldconfig=True)...
hpc-container-maker-master
recipes/osu_benchmarks/common.py
# Use the generic OFED+UCX+OpenMPI recipe hpccm.include('common.py') # Build the OSU Micro-Benchmarks in the development stage Stage0 += generic_autotools( build_environment={'CC': 'mpicc', 'CXX': 'mpicxx'}, enable_cuda=True, prefix='/usr/local/osu', url='http://mvapich.cse.ohio-state.edu/download/mvap...
hpc-container-maker-master
recipes/osu_benchmarks/osu_benchmarks.py
""" MILC 7.8.1 Contents: Ubuntu 16.04 CUDA version 11.2 GNU compilers (upstream) OFED (upstream) OpenMPI version 3.1.4 QUDA version 0.8.0 """ # pylint: disable=invalid-name, undefined-variable, used-before-assignment # pylama: ignore=E0602 gpu_arch = USERARG.get('GPU_ARCH', 'sm_60') # add docstring to Do...
hpc-container-maker-master
recipes/milc/milc.py
r""" GROMACS 2020 Contents: Ubuntu 16.04 CUDA version 10.1 GNU compilers (upstream) OFED (upstream) OpenMPI version 3.1.4 """ gromacs_version = USERARG.get('gromacs', '2020') Stage0 += comment(__doc__.strip(), reformat=False) Stage0 += baseimage(image='nvcr.io/nvidia/cuda:10.1-devel-ubuntu16.04', ...
hpc-container-maker-master
recipes/gromacs/gromacs.py
"""This example demonstrates how to specify a multi-stage recipe. Usage: $ hpccm.py --recipe recipes/examples/multistage.py """ ###### # Devel stage ###### # Devel stage base image Stage0 += baseimage(image='nvcr.io/nvidia/cuda:9.0-devel-ubuntu16.04', _as='devel') # Install compilers (upstream) ...
hpc-container-maker-master
recipes/examples/multistage.py
""" Basic development container image """ Stage0 += baseimage(image='ubuntu:18.04') # GNU compilers compiler = gnu() Stage0 += compiler # Additional development tools Stage0 += packages(ospackages=['autoconf', 'autoconf-archive', 'automake', 'bzip2', 'ca-certificates', 'cmake', 'git', ...
hpc-container-maker-master
recipes/examples/gnu-devel.py
"""This example demonstrates recipe basics. Usage: $ hpccm.py --recipe recipes/examples/basic.py --format docker # hpccm.py --recipe recipes/examples/basic.py --format singularity """ # Choose a base image Stage0 += baseimage(image='ubuntu:16.04') # Install GNU compilers (upstream) Stage0 += apt_get(ospackages=['gcc...
hpc-container-maker-master
recipes/examples/basic.py
""" Demonstrate how to include a recipe in another recipe """ # the gnu-devel recipe file must be in the same directory hpccm.include('gnu-devel.py') Stage0 += generic_build(branch='v1.3', build=['make COMPILER=GNU'], install=['cp clover_leaf /usr/local/bin'], ...
hpc-container-maker-master
recipes/examples/cloverleaf.py
#!/usr/bin/env python """This example demonstrates importing hpccm in a Python script. Rather than using the hpccm command line tool to convert a recipe into a container specification, import hpccm directly. The script is responsible for handling user arguments, managing layers, and printing the output. Note: HPCCM...
hpc-container-maker-master
recipes/examples/script.py
""" Build the CUDA-STREAM benchmark for multiple CUDA compute capabilities. Make each build available as a SCI-F application. """ Stage0 += baseimage(image='nvcr.io/nvidia/cuda:9.1-devel-centos7', _as='devel') # Install the GNU compiler Stage0 += gnu(fortran=False) # Install SCI-F Stage0 += pip(packages=['scif'], up...
hpc-container-maker-master
recipes/examples/scif.py
"""This example demonstrates user arguments. The CUDA and OpenMPI versions can be specified on the command line. If they are not, then reasonable defaults are used. Note: no validation is performed on the user supplied information. Usage: $ hpccm.py --recipe recipes/examples/userargs.py --userarg cuda=9.0 ompi=2.1....
hpc-container-maker-master
recipes/examples/userargs.py
""" Recipe for a HPC Container Maker (HPCCM) container image Docker: $ sudo docker build -t hpccm -f Dockerfile . $ sudo docker run --rm -v $(pwd):/recipes hpccm --recipe /recipes/... Singularity: $ sudo singularity build hpccm.simg Singularity.def $ ./hpccm.simg --recipe ... """ from hpccm.common import container_ty...
hpc-container-maker-master
recipes/hpccm/bootstrap.py
######## # LAMMPS recipe # # User arguments: # arch: x86_64 or aarch64 (default: x86_64) # build_image # gdrcopy (default: 1.3) # gpu_arch: Pascal60, Volta70, or Turing75 (default: Volta70) # knem (default: 1.1.3) # lammps_version (default: patch_19Sep2019) # mlnx_ofed (default: 4.6-1.0.1.1) # ompi (default: 4...
hpc-container-maker-master
recipes/lammps/lammps.py
#!/usr/bin/env python from __future__ import absolute_import from __future__ import unicode_literals from __future__ import print_function import argparse import hpccm import yaml if __name__ == '__main__': parser = argparse.ArgumentParser( description='Jupyter notebook container generator') parser.a...
hpc-container-maker-master
recipes/jupyter/jupyter.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
hpccm/config.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
hpccm/version.py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
hpccm/base_object.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
hpccm/__init__.py
#!/usr/bin/env python3 # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
hpc-container-maker-master
hpccm/cli.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
hpccm/common.py
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
hpc-container-maker-master
hpccm/toolchain.py