diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..d9c7c3a1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,30 @@ +BSD 3-Clause License + +Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, LLC +(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +Government retains certain rights in this software. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/repos/exawind/packages/amr-wind-nightly/package.py b/repos/exawind/packages/amr-wind-nightly/package.py index a123195f..a2784a87 100644 --- a/repos/exawind/packages/amr-wind-nightly/package.py +++ b/repos/exawind/packages/amr-wind-nightly/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack import * from spack.pkg.exawind.amr_wind import AmrWind as bAmrWind import spack.config diff --git a/repos/exawind/packages/amr-wind/package.py b/repos/exawind/packages/amr-wind/package.py index 593144ea..6e64ca0a 100644 --- a/repos/exawind/packages/amr-wind/package.py +++ b/repos/exawind/packages/amr-wind/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack import * from spack.pkg.builtin.amr_wind import AmrWind as bAmrWind import os diff --git a/repos/exawind/packages/boost/package.py b/repos/exawind/packages/boost/package.py index a44e25bb..160a1537 100644 --- a/repos/exawind/packages/boost/package.py +++ b/repos/exawind/packages/boost/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack import * from spack.pkg.builtin.boost import Boost as bBoost diff --git a/repos/exawind/packages/cuda/package.py b/repos/exawind/packages/cuda/package.py index a59e95e6..9c7c0a6a 100644 --- a/repos/exawind/packages/cuda/package.py +++ b/repos/exawind/packages/cuda/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import os from spack import * from spack.pkg.builtin.cuda import Cuda as bCuda diff --git a/repos/exawind/packages/exawind-nightly/package.py b/repos/exawind/packages/exawind-nightly/package.py index 6ec8665b..796ec395 100644 --- a/repos/exawind/packages/exawind-nightly/package.py +++ b/repos/exawind/packages/exawind-nightly/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack import * from spack.pkg.exawind.exawind import Exawind as bExawind import spack.config diff --git a/repos/exawind/packages/exawind/package.py b/repos/exawind/packages/exawind/package.py index ecbae660..d21aa101 100644 --- a/repos/exawind/packages/exawind/package.py +++ b/repos/exawind/packages/exawind/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack import * #from spack.pkg.builtin.exawind import Exawind as bExawind from shutil import copyfile diff --git a/repos/exawind/packages/hdf5/package.py b/repos/exawind/packages/hdf5/package.py index 498649fb..e457527c 100644 --- a/repos/exawind/packages/hdf5/package.py +++ b/repos/exawind/packages/hdf5/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack.pkg.builtin.hdf5 import Hdf5 as bHdf5 import os diff --git a/repos/exawind/packages/hypre-mini-app/package.py b/repos/exawind/packages/hypre-mini-app/package.py index 7734d6b4..efe510a7 100644 --- a/repos/exawind/packages/hypre-mini-app/package.py +++ b/repos/exawind/packages/hypre-mini-app/package.py @@ -1,7 +1,9 @@ -# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other -# Spack Project Developers. See the top-level COPYRIGHT file for details. +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. # -# SPDX-License-Identifier: (Apache-2.0 OR MIT) +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. from spack import * diff --git a/repos/exawind/packages/nalu-wind-nightly/package.py b/repos/exawind/packages/nalu-wind-nightly/package.py index 33bfa8ff..c2f52f74 100644 --- a/repos/exawind/packages/nalu-wind-nightly/package.py +++ b/repos/exawind/packages/nalu-wind-nightly/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack import * from spack.pkg.exawind.nalu_wind import NaluWind as bNaluWind import spack.config diff --git a/repos/exawind/packages/nalu-wind/package.py b/repos/exawind/packages/nalu-wind/package.py index c94b3224..8413cfe3 100644 --- a/repos/exawind/packages/nalu-wind/package.py +++ b/repos/exawind/packages/nalu-wind/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack import * from spack.pkg.builtin.nalu_wind import NaluWind as bNaluWind from spack.pkg.builtin.kokkos import Kokkos diff --git a/repos/exawind/packages/openfast/package.py b/repos/exawind/packages/openfast/package.py index ead9f805..de05c28f 100644 --- a/repos/exawind/packages/openfast/package.py +++ b/repos/exawind/packages/openfast/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack.pkg.builtin.openfast import Openfast as bOpenfast class Openfast(bOpenfast): diff --git a/repos/exawind/packages/py-stk/package.py b/repos/exawind/packages/py-stk/package.py index 279b9441..63ad6936 100644 --- a/repos/exawind/packages/py-stk/package.py +++ b/repos/exawind/packages/py-stk/package.py @@ -1,9 +1,10 @@ -# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other -# Spack Project Developers. See the top-level COPYRIGHT file for details. +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. # -# SPDX-License-Identifier: (Apache-2.0 OR MIT) +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. -# ---------------------------------------------------------------------------- from spack import * @@ -11,8 +12,8 @@ class PyStk(PythonPackage): """pySTK is a Python/Cython wrapper to provide a python interface to STK""" homepage = "https://sayerhs.github.io/pystk" - git = "https://github.com/sayerhs/pystk.git" - url = "https://github.com/sayerhs/pystk.git" + git = "https://github.com/sayerhs/pystk.git" + url = "https://github.com/sayerhs/pystk.git" maintainers = ['psakievich'] diff --git a/repos/exawind/packages/tioga/package.py b/repos/exawind/packages/tioga/package.py index 679b6771..7e01c61a 100644 --- a/repos/exawind/packages/tioga/package.py +++ b/repos/exawind/packages/tioga/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack import * from spack.pkg.builtin.tioga import Tioga as bTioga import os diff --git a/repos/exawind/packages/trilinos/package.py b/repos/exawind/packages/trilinos/package.py index 469dd565..ad7089bb 100644 --- a/repos/exawind/packages/trilinos/package.py +++ b/repos/exawind/packages/trilinos/package.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack import * from spack.pkg.builtin.trilinos import Trilinos as bTrilinos import os diff --git a/scripts/cache_updater.sh b/scripts/cache_updater.sh index 6604dc1f..ebeb5661 100755 --- a/scripts/cache_updater.sh +++ b/scripts/cache_updater.sh @@ -1,3 +1,11 @@ +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# for ii in $(spack find --format "yyy {version} /{hash}" | grep -v -E "^(develop^master)" | grep "yyy" | diff --git a/scripts/create-developer-env.sh b/scripts/create-developer-env.sh index 44fecac0..4f449aba 100755 --- a/scripts/create-developer-env.sh +++ b/scripts/create-developer-env.sh @@ -1,4 +1,12 @@ #!/bin/bash -l +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# #Script that shows an example of creating a developer environment from a shared snapshot for Exawind software diff --git a/scripts/create-exawind-snapshot.sh b/scripts/create-exawind-snapshot.sh index f5ba54ce..32f4a6cb 100755 --- a/scripts/create-exawind-snapshot.sh +++ b/scripts/create-exawind-snapshot.sh @@ -1,4 +1,12 @@ #!/bin/bash -l +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# #Script that creates a new shared snapshot for Exawind software diff --git a/scripts/create-nightly-test-env.py b/scripts/create-nightly-test-env.py index 27058ade..6a97d387 100755 --- a/scripts/create-nightly-test-env.py +++ b/scripts/create-nightly-test-env.py @@ -1,4 +1,12 @@ #!/usr/bin/env spack-python +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# import argparse import spack.main diff --git a/scripts/install-exawind.sh b/scripts/install-exawind.sh index 1d9a14ec..ccc53881 100755 --- a/scripts/install-exawind.sh +++ b/scripts/install-exawind.sh @@ -1,4 +1,12 @@ #!/bin/bash -l +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# # Trap and kill background processes trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT diff --git a/scripts/run-exawind-nightly-tests.sh b/scripts/run-exawind-nightly-tests.sh index 3197391a..adf61aa8 100755 --- a/scripts/run-exawind-nightly-tests.sh +++ b/scripts/run-exawind-nightly-tests.sh @@ -1,4 +1,12 @@ #!/bin/bash -l +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# #Scheduled script that invokes the nightly Exawind tests diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 0bb980a9..d93cfa6b 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -1,4 +1,12 @@ #!/bin/bash +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# # Expected to be run at top level spack-manager directory export SPACK_MANAGER=$(pwd) diff --git a/scripts/snapshot_creator.py b/scripts/snapshot_creator.py index 4b5ecdf1..ecdad5e5 100755 --- a/scripts/snapshot_creator.py +++ b/scripts/snapshot_creator.py @@ -1,4 +1,11 @@ #!/usr/bin/env spack-python +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + """ This script will create the snapshots we need for the exawind project and any associated modules diff --git a/scripts/spack_start.sh b/scripts/spack_start.sh index 89129e21..0634f184 100644 --- a/scripts/spack_start.sh +++ b/scripts/spack_start.sh @@ -1,4 +1,12 @@ #!/bin/bash +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# if ! $(type '_spack_start_called' 2>/dev/null | grep -q 'function'); then export SPACK_ROOT=${SPACK_MANAGER}/spack diff --git a/scripts/stage-updater.py b/scripts/stage-updater.py index 99f30921..ccd39a40 100755 --- a/scripts/stage-updater.py +++ b/scripts/stage-updater.py @@ -1,4 +1,12 @@ #!/usr/bin/env spack-python +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + """ This script will cycle over all packages installed in an environment and update git source code diff --git a/scripts/supported_external_paths.py b/scripts/supported_external_paths.py index 471d9152..f9eb23e3 100755 --- a/scripts/supported_external_paths.py +++ b/scripts/supported_external_paths.py @@ -1,4 +1,12 @@ #!/usr/bin/env spack-python +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# import manager_cmds.find_machine as find_machine diff --git a/scripts/test_developer_workflow.py b/scripts/test_developer_workflow.py index 8cb67840..552b99d6 100755 --- a/scripts/test_developer_workflow.py +++ b/scripts/test_developer_workflow.py @@ -1,4 +1,12 @@ #! /usr/bin/env spack-python +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# import os import argparse diff --git a/scripts/update-spack-manager-repo.sh b/scripts/update-spack-manager-repo.sh index 8e0bd0da..04737952 100755 --- a/scripts/update-spack-manager-repo.sh +++ b/scripts/update-spack-manager-repo.sh @@ -1,4 +1,12 @@ #!/bin/bash -l +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# # Script for updating the spack-manager repo before it's used in running the tests. diff --git a/scripts/update_spack_config.py b/scripts/update_spack_config.py index 4d4e4489..6c35568a 100755 --- a/scripts/update_spack_config.py +++ b/scripts/update_spack_config.py @@ -1,4 +1,12 @@ #!/usr/bin/env spack-python +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# import spack.config import spack.util.spack_yaml as syaml import sys diff --git a/spack-scripting/scripting/cmd/manager.py b/spack-scripting/scripting/cmd/manager.py index 2227e9e3..2dffbd53 100644 --- a/spack-scripting/scripting/cmd/manager.py +++ b/spack-scripting/scripting/cmd/manager.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import sys import manager_cmds.create_dev_env diff --git a/spack-scripting/scripting/cmd/manager_cmds/__init__.py b/spack-scripting/scripting/cmd/manager_cmds/__init__.py index e69de29b..f8118ddf 100644 --- a/spack-scripting/scripting/cmd/manager_cmds/__init__.py +++ b/spack-scripting/scripting/cmd/manager_cmds/__init__.py @@ -0,0 +1,6 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. diff --git a/spack-scripting/scripting/cmd/manager_cmds/create_dev_env.py b/spack-scripting/scripting/cmd/manager_cmds/create_dev_env.py index 911f8955..07c25f30 100644 --- a/spack-scripting/scripting/cmd/manager_cmds/create_dev_env.py +++ b/spack-scripting/scripting/cmd/manager_cmds/create_dev_env.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import argparse import manager_cmds.create_env as create_env diff --git a/spack-scripting/scripting/cmd/manager_cmds/create_env.py b/spack-scripting/scripting/cmd/manager_cmds/create_env.py index c2d9ab7d..a756c10f 100644 --- a/spack-scripting/scripting/cmd/manager_cmds/create_env.py +++ b/spack-scripting/scripting/cmd/manager_cmds/create_env.py @@ -1,3 +1,9 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. """ A script for creating a new environment diff --git a/spack-scripting/scripting/cmd/manager_cmds/develop.py b/spack-scripting/scripting/cmd/manager_cmds/develop.py index c291a00b..06c81440 100644 --- a/spack-scripting/scripting/cmd/manager_cmds/develop.py +++ b/spack-scripting/scripting/cmd/manager_cmds/develop.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import os import shutil diff --git a/spack-scripting/scripting/cmd/manager_cmds/external.py b/spack-scripting/scripting/cmd/manager_cmds/external.py index 8fcd3354..4d579e39 100644 --- a/spack-scripting/scripting/cmd/manager_cmds/external.py +++ b/spack-scripting/scripting/cmd/manager_cmds/external.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import os import re from datetime import datetime diff --git a/spack-scripting/scripting/cmd/manager_cmds/find_machine.py b/spack-scripting/scripting/cmd/manager_cmds/find_machine.py index 34b8923f..8440033f 100644 --- a/spack-scripting/scripting/cmd/manager_cmds/find_machine.py +++ b/spack-scripting/scripting/cmd/manager_cmds/find_machine.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import os import socket import sys diff --git a/spack-scripting/scripting/cmd/manager_cmds/includes_creator.py b/spack-scripting/scripting/cmd/manager_cmds/includes_creator.py index 22b86d62..9fd11dfd 100644 --- a/spack-scripting/scripting/cmd/manager_cmds/includes_creator.py +++ b/spack-scripting/scripting/cmd/manager_cmds/includes_creator.py @@ -1,3 +1,12 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, LLC +# (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + +# for more details. + import os import ruamel.yaml as yaml diff --git a/spack-scripting/scripting/cmd/manager_utils.py b/spack-scripting/scripting/cmd/manager_utils.py index fd33d1ff..b5725825 100644 --- a/spack-scripting/scripting/cmd/manager_utils.py +++ b/spack-scripting/scripting/cmd/manager_utils.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import os from datetime import date diff --git a/spack-scripting/scripting/manager_utils.py b/spack-scripting/scripting/manager_utils.py index fd33d1ff..b5725825 100644 --- a/spack-scripting/scripting/manager_utils.py +++ b/spack-scripting/scripting/manager_utils.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import os from datetime import date diff --git a/spack-scripting/tests/conftest.py b/spack-scripting/tests/conftest.py index 9b8b5a14..03f4a701 100644 --- a/spack-scripting/tests/conftest.py +++ b/spack-scripting/tests/conftest.py @@ -1 +1,8 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from spack.test.conftest import * # noqa: F401 diff --git a/spack-scripting/tests/test_create_dev_env.py b/spack-scripting/tests/test_create_dev_env.py index 112658f0..6b51f894 100644 --- a/spack-scripting/tests/test_create_dev_env.py +++ b/spack-scripting/tests/test_create_dev_env.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import os from unittest.mock import patch diff --git a/spack-scripting/tests/test_create_env.py b/spack-scripting/tests/test_create_env.py index a321d6ff..d51b6454 100644 --- a/spack-scripting/tests/test_create_env.py +++ b/spack-scripting/tests/test_create_env.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import os from tempfile import TemporaryDirectory diff --git a/spack-scripting/tests/test_develop.py b/spack-scripting/tests/test_develop.py index 3cb3dbf9..3562d65d 100644 --- a/spack-scripting/tests/test_develop.py +++ b/spack-scripting/tests/test_develop.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import os from unittest.mock import patch diff --git a/spack-scripting/tests/test_external.py b/spack-scripting/tests/test_external.py index 8c43d07a..7cbbf08e 100644 --- a/spack-scripting/tests/test_external.py +++ b/spack-scripting/tests/test_external.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import os from unittest.mock import patch diff --git a/spack-scripting/tests/test_find_machine.py b/spack-scripting/tests/test_find_machine.py index afdab6dd..8c3e314f 100644 --- a/spack-scripting/tests/test_find_machine.py +++ b/spack-scripting/tests/test_find_machine.py @@ -1,3 +1,10 @@ +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + import pytest from manager_cmds.find_machine import * diff --git a/start.sh b/start.sh index 7d88bc13..4ebd28d9 100644 --- a/start.sh +++ b/start.sh @@ -1,4 +1,12 @@ #!/bin/bash +# +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. +# cmd() { echo "+ $@" diff --git a/tests/ci_config_concretization.py b/tests/ci_config_concretization.py index d8a53751..db4019d0 100755 --- a/tests/ci_config_concretization.py +++ b/tests/ci_config_concretization.py @@ -1,4 +1,11 @@ #!/usr/bin/env spack-python +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from tempfile import TemporaryDirectory from manager_cmds.find_machine import find_machine as find_machine from manager_cmds.find_machine import machine_list diff --git a/tests/test_create_machine_spack_environment.py b/tests/test_create_machine_spack_environment.py index 77207c04..0289c628 100644 --- a/tests/test_create_machine_spack_environment.py +++ b/tests/test_create_machine_spack_environment.py @@ -1,4 +1,11 @@ #!/usr/bin/env spack-python +# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, +# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +# Government retains certain rights in this software. +# +# This software is released under the BSD 3-clause license. See LICENSE file +# for more details. + from tempfile import TemporaryDirectory import filecmp import os