diff --git a/MANIFEST.in b/MANIFEST.in index a527d92eb5..aefca703fb 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,35 +1,8 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2017-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- include LICENSE include README* diff --git a/apt.txt b/apt.txt index cd7883b84a..b6e48a7d66 100644 --- a/apt.txt +++ b/apt.txt @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter, STFC Daresbury Laboratory. # Debian packages required for Binder environment. See README.md for details # of how to launch examples on Binder. diff --git a/bin/psyad b/bin/psyad index 1a4469544b..9879a91e98 100755 --- a/bin/psyad +++ b/bin/psyad @@ -1,38 +1,10 @@ #!/usr/bin/env python # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Authors R. W. Ford and A. R. Porter, STFC Daresbury Lab '''Top-level executable driver script wrapper for PSyAD : the PSyclone Adjoint support. Transforms an LFRic tangent linear kernel to its diff --git a/bin/psyclone b/bin/psyclone index d15c0b3775..0889b278e0 100755 --- a/bin/psyclone +++ b/bin/psyclone @@ -1,36 +1,9 @@ #!/usr/bin/env python # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2017-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- ''' Top-level driver script for PSyclone. ''' diff --git a/bin/psyclone-kern b/bin/psyclone-kern index e6c4a96b6b..1d2e73e341 100755 --- a/bin/psyclone-kern +++ b/bin/psyclone-kern @@ -1,38 +1,10 @@ #!/usr/bin/env python # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2017-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Authors: R. W. Ford and A. R. Porter, STFC Daresbury Lab '''A Python driver script for the PSyclone kernel utilities tool. ''' diff --git a/bin/psyclonefc b/bin/psyclonefc index 7192aba0fb..706274469a 100755 --- a/bin/psyclonefc +++ b/bin/psyclonefc @@ -1,36 +1,9 @@ #!/usr/bin/env python # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2025-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2025-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- ''' diff --git a/config/psyclone.cfg b/config/psyclone.cfg index 13e7fef544..9c81342e94 100644 --- a/config/psyclone.cfg +++ b/config/psyclone.cfg @@ -1,41 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2017-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified by: R. W. Ford, STFC Daresbury Laboratory -# S. Siso, STFC Daresbury Laboratory -# J. Henrichs, Bureau of Meteorology, -# I. Kavcic and O. Brunt, Met Office # This is the PSyclone configuration file. diff --git a/examples/Makefile b/examples/Makefile index 4bfeb64195..45a3f3f709 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- .DEFAULT_GOAL := transform diff --git a/examples/common.mk b/examples/common.mk index cebe43c84a..8bf37edf1a 100644 --- a/examples/common.mk +++ b/examples/common.mk @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Defines rules and variables used in all of the Makefiles within the # directory tree of examples. diff --git a/examples/gocean/Makefile b/examples/gocean/Makefile index 73fadcc703..7cf6e3137b 100644 --- a/examples/gocean/Makefile +++ b/examples/gocean/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- EXAMPLES=$(sort $(wildcard eg*)) diff --git a/examples/gocean/README.md b/examples/gocean/README.md index da57925ddf..3014a216aa 100644 --- a/examples/gocean/README.md +++ b/examples/gocean/README.md @@ -1,7 +1,5 @@ # PSyclone GOCean Examples -**Authors:** A. R. Porter, S. Siso and R. W. Ford, STFC Daresbury Lab - The sub-directories present in the directory containing this README provide examples of the use of PSyclone with the GOcean 1.0 API. @@ -61,41 +59,3 @@ PSyIR language backends. ## Example 7 Demonstrates the use of a script that can transform the algorithm layer. - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2017-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/gocean/eg1/Makefile b/examples/gocean/eg1/Makefile index 2265cde782..fbf1d8fa01 100644 --- a/examples/gocean/eg1/Makefile +++ b/examples/gocean/eg1/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology # The compiler to use may be specified via the F90 and F90FLAGS # environment variables. To use the NVIDIA compiler and enable diff --git a/examples/gocean/eg1/README.md b/examples/gocean/eg1/README.md index c705108951..7afb0b8769 100644 --- a/examples/gocean/eg1/README.md +++ b/examples/gocean/eg1/README.md @@ -1,7 +1,5 @@ # PSyclone GOcean Example 1 -**Authors:** A. R. Porter, S. Siso and A. B. G. Chalk, STFC Daresbury Lab - These scripts and this version of PSyclone work with version 1.0 of GOcean. In order to use PSyclone you must first install it, ideally with pip. @@ -33,42 +31,3 @@ The OpenCL transformation is provided with a PSyclone transformation script ```sh psyclone -s ./opencl_transformation.py -api gocean shallow_alg.f90 ``` - - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2017-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/gocean/eg2/Makefile b/examples/gocean/eg2/Makefile index 92ef40720b..4d372b0a09 100644 --- a/examples/gocean/eg2/Makefile +++ b/examples/gocean/eg2/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2018-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2018-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Makefile for the 2nd GOcean example. Uses PSyclone (which must # be installed) to generate Fortran with OpenACC directives for diff --git a/examples/gocean/eg2/README.md b/examples/gocean/eg2/README.md index 54f7b6d3b7..bcef5dcf89 100644 --- a/examples/gocean/eg2/README.md +++ b/examples/gocean/eg2/README.md @@ -1,7 +1,5 @@ # PSyclone GOcean Example 2 -**Authors:** A. R. Porter, STFC Daresbury Lab - ## Introduction This is a very simple, single-kernel example of the use of PSyclone to @@ -64,41 +62,3 @@ assumed-size arrays within compute regions. Once PSyclone has been extended to automatically provide this information - [issue #230](https://github.com/stfc/PSyclone/issues/230), these arguments can be removed from the kernel meta-data and algorithm layer. - -## Licence: - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2018-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/gocean/eg3/Makefile b/examples/gocean/eg3/Makefile index 9ebb9251d5..8e2e418efe 100644 --- a/examples/gocean/eg3/Makefile +++ b/examples/gocean/eg3/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter and S. Siso, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology # The compiler to use may be specified via the F90 environment # variable. diff --git a/examples/gocean/eg3/README.md b/examples/gocean/eg3/README.md index 76c2172e34..7626a276b3 100644 --- a/examples/gocean/eg3/README.md +++ b/examples/gocean/eg3/README.md @@ -1,7 +1,5 @@ # PSyclone GOcean Example 3 -**Authors:** A. R. Porter and S. Siso, STFC Daresbury Lab - The directory containing this file contains an example of the use of PSyclone to generate OpenCL code with the GOcean 1.0 API. @@ -93,41 +91,3 @@ export F90=mpifc make compile-mpi-ocl FORTCL_KERNELS_FILE=allkernels.cl mpirun -n 4 -ppn 2 ./alg_dm_opencl.exe ``` - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2018-2026, Science and Technology Facilities Council -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/gocean/eg4/Makefile b/examples/gocean/eg4/Makefile index d88da441b3..9030c7f631 100644 --- a/examples/gocean/eg4/Makefile +++ b/examples/gocean/eg4/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Authors: A. R. Porter and S. Siso, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology include ../../common.mk diff --git a/examples/gocean/eg4/README.md b/examples/gocean/eg4/README.md index e861e288a5..d4971dce66 100644 --- a/examples/gocean/eg4/README.md +++ b/examples/gocean/eg4/README.md @@ -1,7 +1,5 @@ # PSyclone GOcean Example 4 -**Authors:** A. R. Porter and S. Siso, STFC Daresbury Lab - The directory containing this file contains an example of the use of PSyclone to transform kernels that access variables and routines via module use statements. @@ -102,42 +100,3 @@ export F90=nvfortran make allclean make compile-acc ``` - - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2019-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/gocean/eg5/Makefile b/examples/gocean/eg5/Makefile index 5cde6686b0..a1f163d450 100644 --- a/examples/gocean/eg5/Makefile +++ b/examples/gocean/eg5/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- EXAMPLES=extract value_range_check profile readonly diff --git a/examples/gocean/eg5/README.md b/examples/gocean/eg5/README.md index 69d9ee11b6..06afbfc518 100644 --- a/examples/gocean/eg5/README.md +++ b/examples/gocean/eg5/README.md @@ -1,7 +1,5 @@ # PSyData Examples -**Author:** J. Henrichs, Bureau of Meteorology - This directory contains all examples that use the PSyData API. They show: - [Extraction](./extract) of kernel input and output parameters. - The use of various [profiling](./profile) tools. @@ -9,41 +7,3 @@ This directory contains all examples that use the PSyData API. They show: not changed in a kernel. Detailed instructions are in the various subdirectories. - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2021-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/gocean/eg5/extract/Makefile b/examples/gocean/eg5/extract/Makefile index 7816f05848..371c4a5de2 100644 --- a/examples/gocean/eg5/extract/Makefile +++ b/examples/gocean/eg5/extract/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology -# Modified: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # This Makefile picks up the compiler to use plus any flags from # environment variables. e.g.: diff --git a/examples/gocean/eg5/extract/README.md b/examples/gocean/eg5/extract/README.md index 0d88c7afcf..1e5e4ada74 100644 --- a/examples/gocean/eg5/extract/README.md +++ b/examples/gocean/eg5/extract/README.md @@ -1,7 +1,5 @@ # PSyclone GOcean PSyData Kernel-Extraction Example -**Author** J. Henrichs, Bureau of Meteorology - ## Introduction This is a very simple test that shows how to use the kernel-data extraction @@ -100,42 +98,3 @@ extraction library, these files will be called ``main-update.nc`` and variables: double a_fld(a_flddim%2, a_flddim%1) ; ... - - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2020-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/gocean/eg5/profile/Makefile b/examples/gocean/eg5/profile/Makefile index a531dd111b..c1bf21d33e 100644 --- a/examples/gocean/eg5/profile/Makefile +++ b/examples/gocean/eg5/profile/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: . Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Get the PSyclone root directory as absolute path. This way # directories can be provided as absolute paths to other build diff --git a/examples/gocean/eg5/profile/README.md b/examples/gocean/eg5/profile/README.md index 75a6f92478..c8758297d1 100644 --- a/examples/gocean/eg5/profile/README.md +++ b/examples/gocean/eg5/profile/README.md @@ -1,7 +1,5 @@ # PSyclone GOcean PSyData Profiling Example -**Author:** J. Henrichs, Bureau of Meteorology - ## Introduction This is a very simple test that shows how to use the profiling @@ -105,41 +103,3 @@ library, you should see: ... profile_PSyDataShutdown called ``` - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2020-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/gocean/eg5/profile/test.x90 b/examples/gocean/eg5/profile/test.x90 index 708f24f690..f16f86b5a1 100644 --- a/examples/gocean/eg5/profile/test.x90 +++ b/examples/gocean/eg5/profile/test.x90 @@ -1,35 +1,9 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology !> This code is a simple test case to show and verify the profiling support !> in PSyclone. It is a stand-alone, runnable program that links with the diff --git a/examples/gocean/eg5/readonly/Makefile b/examples/gocean/eg5/readonly/Makefile index 8f26771e67..99d06f350f 100644 --- a/examples/gocean/eg5/readonly/Makefile +++ b/examples/gocean/eg5/readonly/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # This Makefile picks up the compiler to use plus any flags from # environment variables. e.g.: diff --git a/examples/gocean/eg5/readonly/README.md b/examples/gocean/eg5/readonly/README.md index 0c85c6c5c4..f4ed61dfce 100644 --- a/examples/gocean/eg5/readonly/README.md +++ b/examples/gocean/eg5/readonly/README.md @@ -1,7 +1,5 @@ # PSyclone GOcean PSyData - ReadOnly-Verification Example -**Author:** J. Henrichs, Bureau of Meteorology - ## Introduction This is a simple test that shows how to use the read-only verification @@ -52,42 +50,3 @@ one indicating that the field ``b_fld`` has been modified (including the checksum computed before and after), and a second one indicating that the value of the scalar variable ``z`` has changed from 1.0 to 123.0. - - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2020-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/gocean/eg5/readonly/test.x90 b/examples/gocean/eg5/readonly/test.x90 index 104f0ffcc9..921157c825 100644 --- a/examples/gocean/eg5/readonly/test.x90 +++ b/examples/gocean/eg5/readonly/test.x90 @@ -1,37 +1,9 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology !> This is a simple test program that creates a small !! dl_esm_inf grid, then declares 4 fields on that grid diff --git a/examples/gocean/eg5/value_range_check/Makefile b/examples/gocean/eg5/value_range_check/Makefile index 3b6bacded3..6a4c6e529d 100644 --- a/examples/gocean/eg5/value_range_check/Makefile +++ b/examples/gocean/eg5/value_range_check/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # This Makefile picks up the compiler to use plus any flags from # environment variables. e.g.: diff --git a/examples/gocean/eg5/value_range_check/README.md b/examples/gocean/eg5/value_range_check/README.md index 0bd061beea..3a1ade399c 100644 --- a/examples/gocean/eg5/value_range_check/README.md +++ b/examples/gocean/eg5/value_range_check/README.md @@ -1,7 +1,5 @@ # PSyclone GOcean PSyData Value Range Check Example -**Author:** J. Henrichs, Bureau of Meteorology - ## Introduction This is a simple example that shows how to use the value range check @@ -57,41 +55,3 @@ PSyData: Variable 'b_fld%data' has the value 0.0000000000000000 at index/indices ``` Now that the kernel and module names are not being specified, warnings are also printed for the `update` kernel. - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2021-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/gocean/eg5/value_range_check/test.x90 b/examples/gocean/eg5/value_range_check/test.x90 index 198442ff8e..72f9d9700c 100644 --- a/examples/gocean/eg5/value_range_check/test.x90 +++ b/examples/gocean/eg5/value_range_check/test.x90 @@ -1,37 +1,9 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2021-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology !> This is a simple test program that creates a small !! dl_esm_inf grid, then declares 4 fields on that grid diff --git a/examples/gocean/eg6/Makefile b/examples/gocean/eg6/Makefile index a4132ce42c..9026b225b0 100644 --- a/examples/gocean/eg6/Makefile +++ b/examples/gocean/eg6/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: S. Siso, STFC Daresbury Laboratory include ../../common.mk diff --git a/examples/gocean/eg7/Makefile b/examples/gocean/eg7/Makefile index 518107ab7f..56d105cdcd 100644 --- a/examples/gocean/eg7/Makefile +++ b/examples/gocean/eg7/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: S. Siso, STFC Daresbury Lab -# Modified: R. W. Ford, STFC Daresbury Lab include ../../common.mk diff --git a/examples/lfric/Makefile b/examples/lfric/Makefile index 3e81d5b0d8..4980d75f67 100644 --- a/examples/lfric/Makefile +++ b/examples/lfric/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- EXAMPLES=$(sort $(wildcard eg*) scripts $(wildcard full_example*)) diff --git a/examples/lfric/eg1/Makefile b/examples/lfric/eg1/Makefile index 35c7cd1bec..a1e376c16b 100644 --- a/examples/lfric/eg1/Makefile +++ b/examples/lfric/eg1/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg1/single_invoke.x90 b/examples/lfric/eg1/single_invoke.x90 index df91b42e43..eaa4619e77 100644 --- a/examples/lfric/eg1/single_invoke.x90 +++ b/examples/lfric/eg1/single_invoke.x90 @@ -1,38 +1,9 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2017-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Authors: A. R. Porter and R. W. Ford, STFC Daresbury Laboratory -! I. Kavcic, Met Office program single_invoke diff --git a/examples/lfric/eg10/Makefile b/examples/lfric/eg10/Makefile index 2484911504..8d56fc6c27 100644 --- a/examples/lfric/eg10/Makefile +++ b/examples/lfric/eg10/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../lfric_common.mk diff --git a/examples/lfric/eg10/intergrid_3levels.x90 b/examples/lfric/eg10/intergrid_3levels.x90 index e374a9ec7b..1685b73a53 100644 --- a/examples/lfric/eg10/intergrid_3levels.x90 +++ b/examples/lfric/eg10/intergrid_3levels.x90 @@ -1,37 +1,9 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2017-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author R. Ford and A. R. Porter, STFC Daresbury Lab program restrict_prolong diff --git a/examples/lfric/eg11/Makefile b/examples/lfric/eg11/Makefile index c421bfa0fa..ca5b5e3520 100644 --- a/examples/lfric/eg11/Makefile +++ b/examples/lfric/eg11/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2022-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Authors: A. R. Porter, STFC Daresbury Lab -# J. Henrichs, Bureau of Meteorology -# Modifications: R. W. Ford, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2022-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # The compiler to use may be specified via the F90 environment variable # diff --git a/examples/lfric/eg12/Makefile b/examples/lfric/eg12/Makefile index 99deea2890..af51b8290f 100644 --- a/examples/lfric/eg12/Makefile +++ b/examples/lfric/eg12/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg13/Makefile b/examples/lfric/eg13/Makefile index e95d90b785..2201f11bb5 100644 --- a/examples/lfric/eg13/Makefile +++ b/examples/lfric/eg13/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk include ../lfric_common.mk diff --git a/examples/lfric/eg14/Makefile b/examples/lfric/eg14/Makefile index 821633d369..8c1a9ea6d9 100644 --- a/examples/lfric/eg14/Makefile +++ b/examples/lfric/eg14/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology -# Modifications: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # The compiler to use may be specified via the F90 and F90FLAGS # environment variables. To use the NVIDIA compiler and enable diff --git a/examples/lfric/eg14/main.x90 b/examples/lfric/eg14/main.x90 index c8f5608285..82c3ea7d6d 100644 --- a/examples/lfric/eg14/main.x90 +++ b/examples/lfric/eg14/main.x90 @@ -1,36 +1,9 @@ -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology -! Modifications: A. R. Porter, STFC Daresbury Laboratory -! J. Dendy, Met Office +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/examples/lfric/eg14/other_alg_mod.x90 b/examples/lfric/eg14/other_alg_mod.x90 index 8a27b6041a..195a5aa937 100644 --- a/examples/lfric/eg14/other_alg_mod.x90 +++ b/examples/lfric/eg14/other_alg_mod.x90 @@ -1,35 +1,9 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: A. R. Porter, STFC Daresbury Lab ! A module containing an Algorithm subroutine that contains an invoke of a ! built-in kernel that performs a reduction. diff --git a/examples/lfric/eg15/Makefile b/examples/lfric/eg15/Makefile index 435cd24c6d..4ba94b5154 100644 --- a/examples/lfric/eg15/Makefile +++ b/examples/lfric/eg15/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg16/Makefile b/examples/lfric/eg16/Makefile index 950853a904..e34bcdc8d4 100644 --- a/examples/lfric/eg16/Makefile +++ b/examples/lfric/eg16/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: R. W. Ford, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg16/README.md b/examples/lfric/eg16/README.md index c75c01f5ea..9bd21a8b91 100644 --- a/examples/lfric/eg16/README.md +++ b/examples/lfric/eg16/README.md @@ -1,39 +1,3 @@ - - # PSyclone LFRic PSyIR Examples This directory contains examples of how to create and/or modify diff --git a/examples/lfric/eg17/Makefile b/examples/lfric/eg17/Makefile index 6a6edaf3d4..f09ea58226 100644 --- a/examples/lfric/eg17/Makefile +++ b/examples/lfric/eg17/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # This makefile triggers the corresponding make targets in all # subdirectories. diff --git a/examples/lfric/eg17/README.md b/examples/lfric/eg17/README.md index d61c68b211..e9a3d2e5f6 100644 --- a/examples/lfric/eg17/README.md +++ b/examples/lfric/eg17/README.md @@ -1,7 +1,5 @@ # Runnable Examples -**Author:** J. Henrichs, Bureau of Meteorology - This directory contains some standalone, runnable examples of LFRic code. They are based on the LFRic infrastructure library included in ``/external/lfric_infrastructure/src``. @@ -17,43 +15,3 @@ The examples in this subdirectory show: Detailed instructions are in the ``README.md`` files in the corresponding subdirectories. - - diff --git a/examples/lfric/eg17/full_example/Makefile b/examples/lfric/eg17/full_example/Makefile index 106420d4ad..65ca3d957f 100644 --- a/examples/lfric/eg17/full_example/Makefile +++ b/examples/lfric/eg17/full_example/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology -# Modifications: A. R. Porter, STFC Daresbury Laboratory, -# I. Kavcic, Met Office +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # The compiler to use may be specified via the F90 environment # diff --git a/examples/lfric/eg17/full_example/main.x90 b/examples/lfric/eg17/full_example/main.x90 index 64f126943d..0d30f6f8f2 100644 --- a/examples/lfric/eg17/full_example/main.x90 +++ b/examples/lfric/eg17/full_example/main.x90 @@ -1,36 +1,9 @@ -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology -! Modifications: A. R. Porter, STFC Daresbury Laboratory -! J. Dendy, Met Office +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/examples/lfric/eg17/full_example_extract/Makefile b/examples/lfric/eg17/full_example_extract/Makefile index 8ce306d08c..7d22fa1e52 100644 --- a/examples/lfric/eg17/full_example_extract/Makefile +++ b/examples/lfric/eg17/full_example_extract/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology -# Modifications: A. R. Porter and S. Siso, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # The compiler to use may be specified via the F90 environment # diff --git a/examples/lfric/eg17/full_example_extract/main.X90 b/examples/lfric/eg17/full_example_extract/main.X90 index 0f96640580..5c850957c0 100644 --- a/examples/lfric/eg17/full_example_extract/main.X90 +++ b/examples/lfric/eg17/full_example_extract/main.X90 @@ -1,36 +1,9 @@ -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology -! Modifications: A. R. Porter, STFC Daresbury Laboratory -! J. Dendy, Met Office +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main !> This program is a simple LFRic program that contains two invokes, diff --git a/examples/lfric/eg17/full_example_netcdf/Makefile b/examples/lfric/eg17/full_example_netcdf/Makefile index cbde29b5d6..1b3b9f8c3b 100644 --- a/examples/lfric/eg17/full_example_netcdf/Makefile +++ b/examples/lfric/eg17/full_example_netcdf/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology -# Modifications: A. R. Porter, STFC Daresbury Laboratory, -# I.Kavcic, Met Office +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # The compiler to use may be specified via the F90 environment # diff --git a/examples/lfric/eg17/full_example_netcdf/main.x90 b/examples/lfric/eg17/full_example_netcdf/main.x90 index b65c1b9b13..106f593390 100644 --- a/examples/lfric/eg17/full_example_netcdf/main.x90 +++ b/examples/lfric/eg17/full_example_netcdf/main.x90 @@ -1,36 +1,9 @@ -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology -! Modifications: A. R. Porter, STFC Daresbury Laboratory -! J. Dendy, Met Office +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/examples/lfric/eg17/value_range_check/Makefile b/examples/lfric/eg17/value_range_check/Makefile index dc9b4e6c6d..6d964253a7 100644 --- a/examples/lfric/eg17/value_range_check/Makefile +++ b/examples/lfric/eg17/value_range_check/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology -# Modifications: A. R. Porter and S. Siso, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # The compiler to use may be specified via the F90 environment # diff --git a/examples/lfric/eg17/value_range_check/main.x90 b/examples/lfric/eg17/value_range_check/main.x90 index afb5ae7856..7f95576c1a 100644 --- a/examples/lfric/eg17/value_range_check/main.x90 +++ b/examples/lfric/eg17/value_range_check/main.x90 @@ -1,36 +1,9 @@ -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology -! Modifications: A. R. Porter, STFC Daresbury Laboratory -! J. Dendy, Met Office +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main !> This program is a simple LFRic program that contains two invokes, !> the first to initialise a few fields, the second to update a field. diff --git a/examples/lfric/eg18/Makefile b/examples/lfric/eg18/Makefile index 10484039c1..fd37b05587 100644 --- a/examples/lfric/eg18/Makefile +++ b/examples/lfric/eg18/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Authors: R. W. Ford and A. R. Porter, STFC Daresbury Laboratory. +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg19/Makefile b/examples/lfric/eg19/Makefile index 2079284412..6659654be4 100644 --- a/examples/lfric/eg19/Makefile +++ b/examples/lfric/eg19/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Authors: R. W. Ford and A. R. Porter, STFC Daresbury Lab -# Modified by J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../lfric_common.mk diff --git a/examples/lfric/eg19/algorithm.x90 b/examples/lfric/eg19/algorithm.x90 index 8c5b5dfe64..1bf8fa7d67 100644 --- a/examples/lfric/eg19/algorithm.x90 +++ b/examples/lfric/eg19/algorithm.x90 @@ -1,38 +1,9 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2022-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2022-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: R. W. Ford, STFC Daresbury Laboratory -! Modified: I. Kavcic, Met Office ! Example of calling the same kernel with data that might be of ! different precisions. Scalars, fields and operators are provided as diff --git a/examples/lfric/eg2/Makefile b/examples/lfric/eg2/Makefile index d4e1c4eba0..5b384c0f1c 100644 --- a/examples/lfric/eg2/Makefile +++ b/examples/lfric/eg2/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg2/multi_invoke_mod.x90 b/examples/lfric/eg2/multi_invoke_mod.x90 index 0a5f9ff3dc..8155482764 100644 --- a/examples/lfric/eg2/multi_invoke_mod.x90 +++ b/examples/lfric/eg2/multi_invoke_mod.x90 @@ -1,38 +1,9 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2021-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author R. W. Ford and A. R. Porter, STFC Daresbury Laboratory -! Modified I. Kavcic, Met Office program multi_invoke diff --git a/examples/lfric/eg20/Makefile b/examples/lfric/eg20/Makefile index 40f445b166..47e8bf531b 100644 --- a/examples/lfric/eg20/Makefile +++ b/examples/lfric/eg20/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology -# Modifications: A. R. Porter, STFC Daresbury Laboratory, -# I. Kavcic, Met Office +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../lfric_common.mk diff --git a/examples/lfric/eg3/Makefile b/examples/lfric/eg3/Makefile index c301c40b5a..164a0126de 100644 --- a/examples/lfric/eg3/Makefile +++ b/examples/lfric/eg3/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg4/Makefile b/examples/lfric/eg4/Makefile index 14fdc9929e..05acc3beca 100644 --- a/examples/lfric/eg4/Makefile +++ b/examples/lfric/eg4/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg5/Makefile b/examples/lfric/eg5/Makefile index 0a4fa6fdac..11f13d5dae 100644 --- a/examples/lfric/eg5/Makefile +++ b/examples/lfric/eg5/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg6/Makefile b/examples/lfric/eg6/Makefile index 1609263359..13212e95bb 100644 --- a/examples/lfric/eg6/Makefile +++ b/examples/lfric/eg6/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg7/Makefile b/examples/lfric/eg7/Makefile index 1e4d1c22fe..3c402ccb91 100644 --- a/examples/lfric/eg7/Makefile +++ b/examples/lfric/eg7/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg8/Makefile b/examples/lfric/eg8/Makefile index b7684cb856..99976771b3 100644 --- a/examples/lfric/eg8/Makefile +++ b/examples/lfric/eg8/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/eg9/Makefile b/examples/lfric/eg9/Makefile index a6a21efff0..52f12f7128 100644 --- a/examples/lfric/eg9/Makefile +++ b/examples/lfric/eg9/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/lfric/lfric_common.mk b/examples/lfric/lfric_common.mk index dd0b17264b..14134d5467 100644 --- a/examples/lfric/lfric_common.mk +++ b/examples/lfric/lfric_common.mk @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2025-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2025-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Defines rules and variables used in all of LFRic Makefiles within the # directory tree of examples/lfric. diff --git a/examples/lfric/scripts/KGOs/lfric_psyclone.cfg b/examples/lfric/scripts/KGOs/lfric_psyclone.cfg index 82983cc972..909e95edf2 100644 --- a/examples/lfric/scripts/KGOs/lfric_psyclone.cfg +++ b/examples/lfric/scripts/KGOs/lfric_psyclone.cfg @@ -1,41 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2017-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified by: R. W. Ford, STFC Daresbury Laboratory -# S. Siso, STFC Daresbury Laboratory -# J. Henrichs, Bureau of Meteorology, -# I. Kavcic and O. Brunt, Met Office # This is the PSyclone configuration file. diff --git a/examples/lfric/scripts/KGOs/lfric_psyclone_no_annexed.cfg b/examples/lfric/scripts/KGOs/lfric_psyclone_no_annexed.cfg index a58ea79585..4817c0440e 100644 --- a/examples/lfric/scripts/KGOs/lfric_psyclone_no_annexed.cfg +++ b/examples/lfric/scripts/KGOs/lfric_psyclone_no_annexed.cfg @@ -1,41 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2017-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified by: R. W. Ford, STFC Daresbury Laboratory -# S. Siso, STFC Daresbury Laboratory -# J. Henrichs, Bureau of Meteorology, -# I. Kavcic and O. Brunt, Met Office # This is the PSyclone configuration file. diff --git a/examples/lfric/scripts/Makefile b/examples/lfric/scripts/Makefile index aa5a9be37d..c18d77fb43 100644 --- a/examples/lfric/scripts/Makefile +++ b/examples/lfric/scripts/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology include ../../common.mk diff --git a/examples/lfric/scripts/aggregate_gpu_stats.sh b/examples/lfric/scripts/aggregate_gpu_stats.sh index f166f428e6..3f1470ac18 100755 --- a/examples/lfric/scripts/aggregate_gpu_stats.sh +++ b/examples/lfric/scripts/aggregate_gpu_stats.sh @@ -1,39 +1,11 @@ #!/usr/bin/env bash # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2018-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2018-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Authors: S. Siso, STFC Daresbury Lab # Check a filename argument is given if [[ $# -ne 1 ]]; then diff --git a/examples/nemo/Makefile b/examples/nemo/Makefile index ce845d539b..d16cdff36a 100644 --- a/examples/nemo/Makefile +++ b/examples/nemo/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- EXAMPLES=$(sort $(wildcard eg*)) diff --git a/examples/nemo/README.md b/examples/nemo/README.md index 93f2ab2902..bb0102c324 100644 --- a/examples/nemo/README.md +++ b/examples/nemo/README.md @@ -1,43 +1,3 @@ - - # PSyclone NEMO Examples This directory contains various examples of the use of PSyclone diff --git a/examples/nemo/eg1/Makefile b/examples/nemo/eg1/Makefile index d3473525c5..3fa0d39e16 100644 --- a/examples/nemo/eg1/Makefile +++ b/examples/nemo/eg1/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology -# Modified S. Siso, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/nemo/eg1/README.md b/examples/nemo/eg1/README.md index 97cd733c9f..73f217f99b 100644 --- a/examples/nemo/eg1/README.md +++ b/examples/nemo/eg1/README.md @@ -1,9 +1,5 @@ # PSyclone NEMO Example 1 -**Authors:** A. R. Porter, STFC Daresbury Lab -**Modified by:** R. W. Ford, STFC Daresbury Lab -**Modified by:** S. Siso, STFC Daresbury Lab - This directory contains the PSyclone example scripts: `openmp_cpu_levels_trans.py` and `openmp_gpu_levels_trans.py`, that demonstrates the use of PSyclone to parallelise all loops over @@ -27,41 +23,3 @@ This will output the generated Fortran code with the OpenMP directives added. routines from the NEMO ocean model. It was originally extracted by Silvia Mocavero of CMCC. The code can be found in the `../code` directory. - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2018-2026, Science and Technology Facilities Council -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/nemo/eg2/Makefile b/examples/nemo/eg2/Makefile index cb2b2b3c61..9ffd99ad43 100644 --- a/examples/nemo/eg2/Makefile +++ b/examples/nemo/eg2/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology -# Modified S. Siso, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/nemo/eg2/README.md b/examples/nemo/eg2/README.md index c115f7b485..87e7cce59b 100644 --- a/examples/nemo/eg2/README.md +++ b/examples/nemo/eg2/README.md @@ -1,9 +1,5 @@ # PSyclone NEMO Example 2 -**Authors:** A. R. Porter, STFC Daresbury Lab -**Modified by:** R. W. Ford, STFC Daresbury Lab -**Modified by:** S. Siso, STFC Daresbury Lab - This directory contains a python script demonstrating the use of PSyclone to add OpenMP parallelism to the `traldf_iso.F90` code. It also contains Makefile rules to generate parallel versions of the @@ -22,42 +18,3 @@ psyclone -s ../scripts/omp_[cpu|gpu]_trans.py ../code/traldf_iso.f90 `traldf_iso.F90`, is an unmodified NEMO ocean model routine. This code can be found in the `../code` directory. The PSyclone command will output the generated Fortran code with the OpenMP directives added. - - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2018-2026, Science and Technology Facilities Council -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/nemo/eg3/Makefile b/examples/nemo/eg3/Makefile index 90b0ee14aa..d612ddb924 100644 --- a/examples/nemo/eg3/Makefile +++ b/examples/nemo/eg3/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2018-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2018-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Makefile for the 3rd NEMO example. Uses PSyclone (which must # be installed) to generate Fortran with OpenACC directives for diff --git a/examples/nemo/eg3/README.md b/examples/nemo/eg3/README.md index 47e71a10cf..6cba53bfde 100644 --- a/examples/nemo/eg3/README.md +++ b/examples/nemo/eg3/README.md @@ -1,7 +1,5 @@ # PSyclone NEMO Example 3 -**Authors:** R. W. Ford, A. R. Porter and S. Siso, STFC Daresbury Lab - This directory contains a relatively simple example transformation script, `kernels_trans.py`. This demonstrates the use of PSyclone to add OpenACC Kernel and Data directives to NEMO code. Note, the transformations are @@ -66,41 +64,3 @@ export LDFLAGS="-acc -gpu=cc70" The size of domain and number of time-steps are also picked-up from environment variables. Some example settings are provided in the `domain_setup.sh` file. - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2018-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/nemo/eg3/domain_setup.sh b/examples/nemo/eg3/domain_setup.sh index 5121cc2935..a4b384888c 100644 --- a/examples/nemo/eg3/domain_setup.sh +++ b/examples/nemo/eg3/domain_setup.sh @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Set environment variables required to define the domain size and number of # time steps for the tra_adv benchmark. diff --git a/examples/nemo/eg4/Makefile b/examples/nemo/eg4/Makefile index ca3123534b..5dcd0693d2 100644 --- a/examples/nemo/eg4/Makefile +++ b/examples/nemo/eg4/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified by R. W. Ford, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/nemo/eg4/README.md b/examples/nemo/eg4/README.md index 57f0a01f22..166a9c4bb2 100644 --- a/examples/nemo/eg4/README.md +++ b/examples/nemo/eg4/README.md @@ -1,7 +1,5 @@ # PSyclone NEMO Example 4 - SIR -**Author:** R. W. Ford, STFC Daresbury Lab - The SIR and its Dawn back-end include three simple (Python Interface) examples. In this directory these three examples are provided in Fortran and PSyclone scripts are provided which translate the Fortran @@ -103,41 +101,3 @@ To build Dawn with Python support: 2. There are no checks that the loops conform to the NEMO lat.lon.levs convention. 3. Loops must be triply nested. - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2019-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/nemo/eg5/Makefile b/examples/nemo/eg5/Makefile index da921b6c07..0c2140dbc4 100644 --- a/examples/nemo/eg5/Makefile +++ b/examples/nemo/eg5/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Makefile for the 5th NEMO example. Uses PSyclone (which must # be installed) to generate Fortran for the tracer-advection benchmark. diff --git a/examples/nemo/eg5/README.md b/examples/nemo/eg5/README.md index 9dd8c689a5..d17bb6646c 100644 --- a/examples/nemo/eg5/README.md +++ b/examples/nemo/eg5/README.md @@ -1,8 +1,5 @@ # PSyclone NEMO Example 5 - Kernel Data Extraction -**Author:** J. Henrichs, Bureau of Meteorology - - This example demonstrates the use of PSyclone to add code for kernel extraction, i.e. writing input- and output-data of a kernel into a data file. @@ -54,41 +51,3 @@ picked-up from environment variables. Some example settings are provided in the `domain_setup.sh` file. Note that driver creation is not yet supported in NEMO, see issue #2058. - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2023-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/nemo/eg5/domain_setup.sh b/examples/nemo/eg5/domain_setup.sh index 5121cc2935..a4b384888c 100644 --- a/examples/nemo/eg5/domain_setup.sh +++ b/examples/nemo/eg5/domain_setup.sh @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Set environment variables required to define the domain size and number of # time steps for the tra_adv benchmark. diff --git a/examples/nemo/eg6/Makefile b/examples/nemo/eg6/Makefile index 5e1d706cb6..a5bc02614d 100644 --- a/examples/nemo/eg6/Makefile +++ b/examples/nemo/eg6/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # This example uses PSyclone (which must be installed) to generate Fortran for # the tracer-advection benchmark. The script provided here instruments code to diff --git a/examples/nemo/eg6/README.md b/examples/nemo/eg6/README.md index b813e9374d..e90e20ace0 100644 --- a/examples/nemo/eg6/README.md +++ b/examples/nemo/eg6/README.md @@ -1,7 +1,5 @@ # PSyclone NEMO Example 6 - Read-only Verification -**Author:** J. Henrichs, Bureau of Meteorology - This example demonstrates the use of PSyclone to add code that checks if variables that are only read are actually modified (e.g. because of memory overwrite). @@ -60,41 +58,3 @@ Note that adding the assignment to ``logical_var`` as above to the original anymore, so no test and therefore no error will be produced for this variable. The code commented out can also not be processed by PSyclone (missing support for ``loc`` and ``sizeof``, which are non-standard Fortran extensions). - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2025-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/nemo/eg7/Makefile b/examples/nemo/eg7/Makefile index c70738e6ca..b2aaea24b2 100644 --- a/examples/nemo/eg7/Makefile +++ b/examples/nemo/eg7/Makefile @@ -1,40 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology -# Modified S. Siso, STFC Daresbury Laboratory -# Modified A. B. G. Chalk, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/nemo/eg7/README.md b/examples/nemo/eg7/README.md index d0e9891210..15cb33e12d 100644 --- a/examples/nemo/eg7/README.md +++ b/examples/nemo/eg7/README.md @@ -1,7 +1,5 @@ # PSyclone NEMO Example 7 -**Authors:** A. B. G. Chalk, STFC Daresbury Lab - This directory contains the PSyclone example scripts: `openmp_cpu_nowait_trans.py` and `openmp_gpu_nowait_trans.py`, that demonstrates the use of PSyclone to parallelise all loops over @@ -22,41 +20,3 @@ This will output the generated Fortran code with the OpenMP directives added. routines from the NEMO ocean model. It was originally extracted by Silvia Mocavero of CMCC. The code can be found in the `../code` directory. - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2018-2026, Science and Technology Facilities Council -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/nemo/eg8/Makefile b/examples/nemo/eg8/Makefile index f5858fe64d..bc96a919cf 100644 --- a/examples/nemo/eg8/Makefile +++ b/examples/nemo/eg8/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: T. H. Gibson, Advanced Micro Devices, Inc. +# SPDX-FileCopyrightText: Copyright (c) 2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # To run with AMD GPU offloading and ROCTx profiling, use the following # settings before invoking make: diff --git a/examples/nemo/eg8/README.md b/examples/nemo/eg8/README.md index 1ad6577c04..97846afc49 100644 --- a/examples/nemo/eg8/README.md +++ b/examples/nemo/eg8/README.md @@ -1,7 +1,5 @@ # PSyclone NEMO Example 8 -**Author:** T. H. Gibson, Advanced Micro Devices, Inc. - This example demonstrates a simple profiling workflow for OpenMP target offloading, using the tracer advection demo. It processes `../code/tra_adv.F90` and generates `traadv_instrumented.F90` with OpenMP target offload directives plus @@ -52,41 +50,3 @@ make run For more information on profiling wrappers and profiler-specific options, see the [profiling wrappers README](../../../lib/profiling/README.md). - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/nemo/eg9/Makefile b/examples/nemo/eg9/Makefile index 51e83f5521..ecd0b21c2f 100644 --- a/examples/nemo/eg9/Makefile +++ b/examples/nemo/eg9/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Makefile for the 9th NEMO example. Uses PSyclone (which must # be installed) to generate Fortran for the tracer-advection benchmark. diff --git a/examples/nemo/eg9/README.md b/examples/nemo/eg9/README.md index 6bfa7f1518..25e15d5640 100644 --- a/examples/nemo/eg9/README.md +++ b/examples/nemo/eg9/README.md @@ -1,8 +1,5 @@ # PSyclone NEMO Example 9 - Value Range Check -**Author:** J. Henrichs, Bureau of Meteorology - - This example demonstrates the use of PSyclone to add code to verify variable value ranges, i.e. ensuring that variables before and after an instrumented region have values in a user-specified range. @@ -41,41 +38,3 @@ Example: ``` Note that umask is expected to be between 0 and 1, the range was only specified to be between 0 and 0.9 to show the warning message that would be printed. - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/nemo/eg9/domain_setup.sh b/examples/nemo/eg9/domain_setup.sh index 5121cc2935..a4b384888c 100644 --- a/examples/nemo/eg9/domain_setup.sh +++ b/examples/nemo/eg9/domain_setup.sh @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Set environment variables required to define the domain size and number of # time steps for the tra_adv benchmark. diff --git a/examples/nemo/scripts/README.md b/examples/nemo/scripts/README.md index 0a125809cb..8ae94da86c 100644 --- a/examples/nemo/scripts/README.md +++ b/examples/nemo/scripts/README.md @@ -1,40 +1,3 @@ - - # PSyclone NEMO Examples This directory contains various examples showing how to use PSyclone to diff --git a/examples/psyad/Makefile b/examples/psyad/Makefile index 4be4e0938a..902a4c662d 100644 --- a/examples/psyad/Makefile +++ b/examples/psyad/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified by: R. W. Ford, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- EXAMPLES=$(sort $(wildcard eg*)) lfric diff --git a/examples/psyad/README.md b/examples/psyad/README.md index b6283765ae..5240308077 100644 --- a/examples/psyad/README.md +++ b/examples/psyad/README.md @@ -1,39 +1,3 @@ - - # PSyAD Examples This directory contains various examples of the use of PSyAD to diff --git a/examples/psyad/eg1/Makefile b/examples/psyad/eg1/Makefile index 08784f2452..5242f1e6f3 100644 --- a/examples/psyad/eg1/Makefile +++ b/examples/psyad/eg1/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified: R. W. Ford, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/psyad/eg1/README.md b/examples/psyad/eg1/README.md index dee7dec8c8..44999d9714 100644 --- a/examples/psyad/eg1/README.md +++ b/examples/psyad/eg1/README.md @@ -1,8 +1,5 @@ # PSyclone PSyAD Example1: creating an adjoint kernel and test harness. -**Author:** A. R. Porter, STFC Daresbury Lab -**Modified by:** R. W. Ford, STFC Daresbury Lab - In order to use PSyclone you must first install it, ideally with pip. See `../../../README.md` for more details. @@ -36,41 +33,3 @@ Running PSyAD-generated test harness... Note, you may find that the test fails, but if so the diff should be relatively small. - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2021-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/psyad/eg2/Makefile b/examples/psyad/eg2/Makefile index 3c4d68e98a..c233402039 100644 --- a/examples/psyad/eg2/Makefile +++ b/examples/psyad/eg2/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Authors: R. W. Ford and A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- PSYROOT=../../.. include ${PSYROOT}/examples/common.mk diff --git a/examples/psyad/eg2/README.md b/examples/psyad/eg2/README.md index 6892de7d6a..2b51783b40 100644 --- a/examples/psyad/eg2/README.md +++ b/examples/psyad/eg2/README.md @@ -119,41 +119,3 @@ overwritten by pseudo-random data in the test harness: ```sh ACTIVE_VAR_LIST="r_u vorticity wind res_dot_product vorticity_term cross_product1 cross_product2 j_vorticity u_at_quad mul2 vorticity_at_quad" GEOMETRY_VAR_LIST="-coord-arg 6 -panel-id-arg 7" TL_KERNEL_NAME=tl_vorticity_advection_kernel make ``` - -## Licence - ------------------------------------------------------------------------------ - -BSD 3-Clause License - -Copyright (c) 2021-2026, Science and Technology Facilities Council. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* 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. - -* 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/examples/psyad/lfric/Makefile b/examples/psyad/lfric/Makefile index c4fc4d1d38..efd103dd42 100644 --- a/examples/psyad/lfric/Makefile +++ b/examples/psyad/lfric/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Authors: R. W. Ford and A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../top_level.mk diff --git a/examples/psyad/lfric/README.md b/examples/psyad/lfric/README.md index 6ea98deb5a..41becb8cd4 100644 --- a/examples/psyad/lfric/README.md +++ b/examples/psyad/lfric/README.md @@ -1,39 +1,3 @@ - - This directory contains the tangent-linear kernels for which the Met Office require adjoint versions and Makefile's to generate the adjoint versions of these kernels using `psyad`. diff --git a/examples/psyad/lfric/adjoint/README.md b/examples/psyad/lfric/adjoint/README.md index 4d99ae9f96..441028e319 100644 --- a/examples/psyad/lfric/adjoint/README.md +++ b/examples/psyad/lfric/adjoint/README.md @@ -1,39 +1,3 @@ - - This directory contains fully working adjoint kernels. At the moment all kernels generated by `psyad` require manual tweaks so the kernels in this directory have been manually modified and are kept in the diff --git a/examples/psyad/lfric/adjoint_partial/README.md b/examples/psyad/lfric/adjoint_partial/README.md index 0b114ac93f..abb7b30165 100644 --- a/examples/psyad/lfric/adjoint_partial/README.md +++ b/examples/psyad/lfric/adjoint_partial/README.md @@ -1,39 +1,3 @@ - - This directory is where generated adjoint kernels are placed when they need further manual tweaks to make them work. As they are generated, it is not necessary to keep them in the repository. To create them, diff --git a/examples/psyad/lfric/tangent_linear/Makefile b/examples/psyad/lfric/tangent_linear/Makefile index 330013d16c..554237d0fb 100644 --- a/examples/psyad/lfric/tangent_linear/Makefile +++ b/examples/psyad/lfric/tangent_linear/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Authors: R. W. Ford and A. R. Porter, STFC Daresbury Laboratory -# Modified: I. Kavcic, Met Office +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- PSYROOT=../../../.. include ${PSYROOT}/examples/common.mk diff --git a/examples/psyad/lfric/tangent_linear/README.md b/examples/psyad/lfric/tangent_linear/README.md index bd4d2bfaa7..e3c68f1191 100644 --- a/examples/psyad/lfric/tangent_linear/README.md +++ b/examples/psyad/lfric/tangent_linear/README.md @@ -1,39 +1,3 @@ - - This directory contains the original tangent linear kernels that `psyad` aims to translate into their adjoint form. These kernels are copied from the LFRic repository with no changes and are stored here diff --git a/examples/psyad/lfric/tangent_linear_tweaked/Makefile b/examples/psyad/lfric/tangent_linear_tweaked/Makefile index 86d47a7c59..3228d6976a 100644 --- a/examples/psyad/lfric/tangent_linear_tweaked/Makefile +++ b/examples/psyad/lfric/tangent_linear_tweaked/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Authors: R. W. Ford and A. R. Porter, STFC Daresbury Laboratory -# Modified: I. Kavcic, Met Office +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- PSYROOT=../../../.. include ${PSYROOT}/examples/common.mk diff --git a/examples/psyad/lfric/tangent_linear_tweaked/README.md b/examples/psyad/lfric/tangent_linear_tweaked/README.md index db7aeaaf39..a5dd0d4253 100644 --- a/examples/psyad/lfric/tangent_linear_tweaked/README.md +++ b/examples/psyad/lfric/tangent_linear_tweaked/README.md @@ -1,39 +1,3 @@ - - This directory contains the tweaked tangent linear kernels that `psyad` aims to translate into their adjoint form. These kernels have been copied from the `../tangent_linear` directory and hand modified diff --git a/examples/psyir/Makefile b/examples/psyir/Makefile index 869801e8a8..b7cfacec35 100644 --- a/examples/psyir/Makefile +++ b/examples/psyir/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. B. G. Chalk, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- EXAMPLES=create_and_modify_psyir parallelise_loops custom_directives matmul transpose diff --git a/examples/psyir/create_and_modify_psyir/Makefile b/examples/psyir/create_and_modify_psyir/Makefile index c29b4a81a9..dded8d3e3a 100644 --- a/examples/psyir/create_and_modify_psyir/Makefile +++ b/examples/psyir/create_and_modify_psyir/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Authors: A. R. Porter and S. Siso, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/psyir/create_and_modify_psyir/README.md b/examples/psyir/create_and_modify_psyir/README.md index 27a14d3822..9a48d982de 100644 --- a/examples/psyir/create_and_modify_psyir/README.md +++ b/examples/psyir/create_and_modify_psyir/README.md @@ -1,40 +1,3 @@ - - # PSyclone PSyIR Examples This directory contains examples of how to create and/or modify diff --git a/examples/psyir/custom_directives/Makefile b/examples/psyir/custom_directives/Makefile index bd058aeca8..56c0fa1ca7 100644 --- a/examples/psyir/custom_directives/Makefile +++ b/examples/psyir/custom_directives/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2025-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2025-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. B. G. Chalk, STFC Daresbury Lab include ../../common.mk diff --git a/examples/psyir/custom_directives/README.md b/examples/psyir/custom_directives/README.md index bc0fdea5cd..8dc30514a1 100644 --- a/examples/psyir/custom_directives/README.md +++ b/examples/psyir/custom_directives/README.md @@ -1,39 +1,3 @@ - - # Use custom directives This directory contains an example of how write PSyclone scripts to transform code diff --git a/examples/psyir/matmul/Makefile b/examples/psyir/matmul/Makefile index 9b8c1140f3..169985fbe9 100644 --- a/examples/psyir/matmul/Makefile +++ b/examples/psyir/matmul/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2025-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2025-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: M. Naylor, University of Cambridge, UK F90 ?= gfortran F90FLAGS ?= -O2 -fopenmp diff --git a/examples/psyir/matmul/README.md b/examples/psyir/matmul/README.md index a6f31396de..2e6f600d2d 100644 --- a/examples/psyir/matmul/README.md +++ b/examples/psyir/matmul/README.md @@ -1,40 +1,3 @@ - - # PSyclone PSyIR matrix multiplication example. Demonstrates acceleration of a simple routine for matrix multiplication using diff --git a/examples/psyir/parallelise_loops/Makefile b/examples/psyir/parallelise_loops/Makefile index 8409ffade4..1fdd371e5c 100644 --- a/examples/psyir/parallelise_loops/Makefile +++ b/examples/psyir/parallelise_loops/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: S. Siso, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/examples/psyir/parallelise_loops/README.md b/examples/psyir/parallelise_loops/README.md index 8a70e1455b..bfae820af3 100644 --- a/examples/psyir/parallelise_loops/README.md +++ b/examples/psyir/parallelise_loops/README.md @@ -1,39 +1,3 @@ - - # Parallelise loops using OpenMP This directory contains an example of how write PSyclone scripts to parallelise diff --git a/examples/psyir/transpose/Makefile b/examples/psyir/transpose/Makefile index 30167cf862..aa3630f9dd 100644 --- a/examples/psyir/transpose/Makefile +++ b/examples/psyir/transpose/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2025-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2025-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: M. Naylor, University of Cambridge, UK F90 ?= gfortran F90FLAGS ?= -O2 -fopenmp diff --git a/examples/psyir/transpose/README.md b/examples/psyir/transpose/README.md index 2e03b50b0e..a75e08f171 100644 --- a/examples/psyir/transpose/README.md +++ b/examples/psyir/transpose/README.md @@ -1,40 +1,3 @@ - - # PSyclone PSyIR matrix multiplication example. Demonstrates acceleration of a simple routine for matrix transposition using diff --git a/examples/stub_generation/Makefile b/examples/stub_generation/Makefile index c741e4c8d1..95e356e38f 100644 --- a/examples/stub_generation/Makefile +++ b/examples/stub_generation/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../common.mk diff --git a/examples/top_level.mk b/examples/top_level.mk index f339cd6ee1..cc356605a9 100644 --- a/examples/top_level.mk +++ b/examples/top_level.mk @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Include file for 'top-level' Makefiles found in the directories immediately # below the one containing this file. diff --git a/examples/xdsl/Makefile b/examples/xdsl/Makefile index b1b56c1d58..c4c573e488 100644 --- a/examples/xdsl/Makefile +++ b/examples/xdsl/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified: M. Jamieson, EPCC +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- EXAMPLES=$(sort $(wildcard eg*)) diff --git a/examples/xdsl/pw_advection/Makefile b/examples/xdsl/pw_advection/Makefile index 8d402defc0..7b1795583d 100644 --- a/examples/xdsl/pw_advection/Makefile +++ b/examples/xdsl/pw_advection/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified: M. Jamieson, EPCC +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- EXAMPLES=$(sort $(wildcard eg*)) @@ -45,4 +16,4 @@ compile: transform @echo "No compilation supported for xdsl/pw_advection" run: compile - @echo "No run targets for xdsl/pw_advection" \ No newline at end of file + @echo "No run targets for xdsl/pw_advection" diff --git a/lib/Makefile b/lib/Makefile index 47403a7d9b..28e3f02b8d 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -#------------------------------------------------------------------------------ -# Author: J. Henrichs, Australian Bureau of Meteorology -# Modified: I. Kavcic, Met Office +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # This Makefile just creates the Fortran base class for the PSyData library # from the jinja template psy_data_base.jinja. The compile functionality it diff --git a/lib/README.md b/lib/README.md index afd80663bb..1c7588300b 100644 --- a/lib/README.md +++ b/lib/README.md @@ -136,45 +136,3 @@ https://github.com/stfc/PSyclone/tree/master/tutorial/practicals#netcdf-library- Profiling wrapper libraries that depend on external tools (for instance, [dl_timer](./profiling/dl_timer/README.md) have specific variables that configure paths to where these libraries are located in a user environment. - - diff --git a/lib/extract/Makefile b/lib/extract/Makefile index 26e7ead569..a7503afa84 100644 --- a/lib/extract/Makefile +++ b/lib/extract/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -#------------------------------------------------------------------------------ -# Author: J. Henrichs, Australian Bureau of Meteorology -# Modified: I. Kavcic, Met Office +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # This Makefile just creates the Fortran base class for the compare_variables_mod # from the jinja template `compare_variables_mod.jinja`. The compile functionality diff --git a/lib/extract/README.md b/lib/extract/README.md index 101c2f56c6..362d2f247a 100755 --- a/lib/extract/README.md +++ b/lib/extract/README.md @@ -10,45 +10,3 @@ parameters to a [NetCDF file](./netcdf/README.md) (see the ``Makefile`` contained here for testing purposes, but each API-specific implementation (in any of the subdirectories here) should compile its own version of this extract wrapper library. - - diff --git a/lib/extract/ascii/Makefile b/lib/extract/ascii/Makefile index 27de44a94f..c744cf6d8e 100644 --- a/lib/extract/ascii/Makefile +++ b/lib/extract/ascii/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2025-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2025-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Australian Bureau of Meteorology # This Makefile just creates the Fortran base class for all extraction # libraries from the jinja template. The compile functionality it offers is diff --git a/lib/extract/ascii/dl_esm_inf/README.md b/lib/extract/ascii/dl_esm_inf/README.md index 8f5d3342c5..aba892638d 100644 --- a/lib/extract/ascii/dl_esm_inf/README.md +++ b/lib/extract/ascii/dl_esm_inf/README.md @@ -99,46 +99,3 @@ For instance: $(F90) ... -L$(PSYDATA_LIB_DIR)/extract/ascii/dl_esm_inf -l_kernel_data_ascii \ -L$(GOCEAN_INF_DIR) -l_fd ``` - - - diff --git a/lib/extract/ascii/extract_ascii_base.jinja b/lib/extract/ascii/extract_ascii_base.jinja index ba8a83ae1f..f6a7f62549 100644 --- a/lib/extract/ascii/extract_ascii_base.jinja +++ b/lib/extract/ascii/extract_ascii_base.jinja @@ -36,41 +36,12 @@ ("Int", "integer(kind=int32)") ] %} {% endif -%} - ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2022-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2022-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology !> This module implements a simple stand-alone writer using the PSyData !! interface. A Fortran code instrumented with corresponding calls diff --git a/lib/extract/ascii/generic/README.md b/lib/extract/ascii/generic/README.md index e70b14055b..5fafc2179b 100644 --- a/lib/extract/ascii/generic/README.md +++ b/lib/extract/ascii/generic/README.md @@ -59,45 +59,3 @@ For instance: ```shell $(F90) ... -L$(PSYDATA_LIB_DIR)/extract/ascii/generic -l_extract ``` - - - diff --git a/lib/extract/ascii/lfric/README.md b/lib/extract/ascii/lfric/README.md index d09ac27660..222974aec8 100644 --- a/lib/extract/ascii/lfric/README.md +++ b/lib/extract/ascii/lfric/README.md @@ -98,45 +98,3 @@ parameters when compiling and linking. For instance: $(F90) ... -L$(PSYDATA_LIB_DIR)/extract/ascii/lfric -l_extract \ -L$(LFRIC_PATH) -llfric $(LFRIC_SPECIFIC_LINKING_PARAMETERS) ``` - - diff --git a/lib/extract/ascii/lfric/kernel_data_ascii.jinja b/lib/extract/ascii/lfric/kernel_data_ascii.jinja index 993f4639a6..8b9703fdfe 100644 --- a/lib/extract/ascii/lfric/kernel_data_ascii.jinja +++ b/lib/extract/ascii/lfric/kernel_data_ascii.jinja @@ -6,40 +6,11 @@ {{ "! ================================================== !" }} ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author J. Henrichs, Bureau of Meteorology -! Modified I. Kavcic, Met Office !> This module implements a simple ascii writer using the PSyData !! interface. It is specific to the LFRic infrastructure library. diff --git a/lib/extract/ascii/read_kernel_data_mod.jinja b/lib/extract/ascii/read_kernel_data_mod.jinja index 2b01705b85..e3dfcf5c82 100644 --- a/lib/extract/ascii/read_kernel_data_mod.jinja +++ b/lib/extract/ascii/read_kernel_data_mod.jinja @@ -31,39 +31,11 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2022-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2022-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology !> This module implements a simple ASCII file reader. It provides the !! functions: diff --git a/lib/extract/binary/Makefile b/lib/extract/binary/Makefile index 7e03366548..4425827b06 100644 --- a/lib/extract/binary/Makefile +++ b/lib/extract/binary/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Australian Bureau of Meteorology -# Modified: I. Kavcic, Met Office # This Makefile just creates the Fortran base class for all extraction # libraries from the jinja template. The compile functionality it offers is diff --git a/lib/extract/binary/dl_esm_inf/README.md b/lib/extract/binary/dl_esm_inf/README.md index 049837c4e3..d241d79c7a 100644 --- a/lib/extract/binary/dl_esm_inf/README.md +++ b/lib/extract/binary/dl_esm_inf/README.md @@ -94,46 +94,3 @@ For instance: $(F90) ... -L$(PSYDATA_LIB_DIR)/extract/binary/dl_esm_inf -l_kernel_data_binary \ -L$(GOCEAN_INF_DIR) -l_fd ``` - - - diff --git a/lib/extract/binary/extract_binary_base.jinja b/lib/extract/binary/extract_binary_base.jinja index bdc7ac6728..4694636c52 100644 --- a/lib/extract/binary/extract_binary_base.jinja +++ b/lib/extract/binary/extract_binary_base.jinja @@ -38,39 +38,11 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2022-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2022-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology !> This module implements a simple stand-alone writer using the PSyData !! interface. A Fortran code instrumented with corresponding calls diff --git a/lib/extract/binary/generic/README.md b/lib/extract/binary/generic/README.md index e7b0c97964..08df1e3d60 100644 --- a/lib/extract/binary/generic/README.md +++ b/lib/extract/binary/generic/README.md @@ -59,45 +59,3 @@ For instance: ```shell $(F90) ... -L$(PSYDATA_LIB_DIR)/extract/binary/dl_esm_inf -l_kernel_data_binary ``` - - - diff --git a/lib/extract/binary/lfric/README.md b/lib/extract/binary/lfric/README.md index 4d0231daee..29cc30a63d 100644 --- a/lib/extract/binary/lfric/README.md +++ b/lib/extract/binary/lfric/README.md @@ -101,45 +101,3 @@ parameters when compiling and linking. For instance: $(F90) ... -L$(PSYDATA_LIB_DIR)/extract/binary/lfric -l_extract \ -L$(LFRIC_PATH) -llfric $(LFRIC_SPECIFIC_LINKING_PARAMETERS) ``` - - diff --git a/lib/extract/binary/lfric/kernel_data_binary.jinja b/lib/extract/binary/lfric/kernel_data_binary.jinja index a7948ee332..1e512b86a3 100644 --- a/lib/extract/binary/lfric/kernel_data_binary.jinja +++ b/lib/extract/binary/lfric/kernel_data_binary.jinja @@ -6,40 +6,11 @@ {{ "! ================================================== !" }} ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author J. Henrichs, Bureau of Meteorology -! Modified I. Kavcic, Met Office !> This module implements a simple binary writer using the PSyData !! interface. It is specific to the LFRic infrastructure library. diff --git a/lib/extract/binary/read_kernel_data_mod.jinja b/lib/extract/binary/read_kernel_data_mod.jinja index 1eeb38649f..b2459d62ce 100644 --- a/lib/extract/binary/read_kernel_data_mod.jinja +++ b/lib/extract/binary/read_kernel_data_mod.jinja @@ -31,39 +31,11 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2022-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2022-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology !> This module implements a simple binary file reader. It provides the !! functions: diff --git a/lib/extract/compare_variables_mod.jinja b/lib/extract/compare_variables_mod.jinja index 736fc0a179..571f68a183 100644 --- a/lib/extract/compare_variables_mod.jinja +++ b/lib/extract/compare_variables_mod.jinja @@ -35,39 +35,11 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2023-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology module compare_variables_mod diff --git a/lib/extract/netcdf/Makefile b/lib/extract/netcdf/Makefile index 8e9a39053d..be41eb94de 100644 --- a/lib/extract/netcdf/Makefile +++ b/lib/extract/netcdf/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Australian Bureau of Meteorology -# Modified: I. Kavcic, Met Office # This Makefile just creates the Fortran base class for all extraction # libraries from the jinja template. The compile functionality it offers is diff --git a/lib/extract/netcdf/README.md b/lib/extract/netcdf/README.md index 5b8651e598..cb727ea934 100644 --- a/lib/extract/netcdf/README.md +++ b/lib/extract/netcdf/README.md @@ -41,45 +41,3 @@ Contains the NetCDF-extract, PSyData-API-based, wrapper library for the Contains the NetCDF-extract, PSyData-API-based, wrapper library for the [LFRic API]( https://psyclone.readthedocs.io/en/latest/user_guide/lfric.html). - - diff --git a/lib/extract/netcdf/dl_esm_inf/README.md b/lib/extract/netcdf/dl_esm_inf/README.md index fd163397cb..324173851e 100644 --- a/lib/extract/netcdf/dl_esm_inf/README.md +++ b/lib/extract/netcdf/dl_esm_inf/README.md @@ -110,45 +110,3 @@ Certain versions of Fedora have a broken ``nf-config`` script. In this case the ``Makefile`` has to be modified to provide the required information (you can try to see if ``nc-config`` can be used, or you have to explicitly provide the required paths and options). - - diff --git a/lib/extract/netcdf/extract_netcdf_base.jinja b/lib/extract/netcdf/extract_netcdf_base.jinja index 116036740d..e159f48109 100644 --- a/lib/extract/netcdf/extract_netcdf_base.jinja +++ b/lib/extract/netcdf/extract_netcdf_base.jinja @@ -38,40 +38,11 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology -! Modified: I. Kavcic, Met Office !> This module implements a simple NetCDF writer using the PSyData !! interface. A Fortran code instrumented with corresponding calls diff --git a/lib/extract/netcdf/generic/README.md b/lib/extract/netcdf/generic/README.md index 47fc9a1d6e..f0792bcf2d 100644 --- a/lib/extract/netcdf/generic/README.md +++ b/lib/extract/netcdf/generic/README.md @@ -78,44 +78,3 @@ Certain versions of Fedora have a broken ``nf-config`` script. In this case the ``Makefile`` has to be modified to provide the required information (you can try to see if ``nc-config`` can be used, or you have to explicitly provide the required paths and options). - - diff --git a/lib/extract/netcdf/lfric/README.md b/lib/extract/netcdf/lfric/README.md index c506983b88..eacbbd0750 100644 --- a/lib/extract/netcdf/lfric/README.md +++ b/lib/extract/netcdf/lfric/README.md @@ -114,45 +114,3 @@ Certain versions of Fedora have a broken ``nf-config`` script. In this case the ``Makefile`` has to be modified to provide the required information (you can try to see if ``nc-config`` can be used, or you have to explicitly provide the required paths and options). - - diff --git a/lib/extract/netcdf/lfric/kernel_data_netcdf.jinja b/lib/extract/netcdf/lfric/kernel_data_netcdf.jinja index 503de5bb8b..4f6608d570 100644 --- a/lib/extract/netcdf/lfric/kernel_data_netcdf.jinja +++ b/lib/extract/netcdf/lfric/kernel_data_netcdf.jinja @@ -6,40 +6,11 @@ {{ "! ================================================== !" }} ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author J. Henrichs, Bureau of Meteorology -! Modified I. Kavcic, Met Office !> This module implements a simple NetCDF writer using the PSyData !! interface. It is specific to the LFRic infrastructure library. diff --git a/lib/extract/netcdf/read_kernel_data_mod.jinja b/lib/extract/netcdf/read_kernel_data_mod.jinja index d563782a7a..022c756836 100644 --- a/lib/extract/netcdf/read_kernel_data_mod.jinja +++ b/lib/extract/netcdf/read_kernel_data_mod.jinja @@ -31,39 +31,11 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2022-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2022-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology !> This module implements a simple NetCDF reader. It provides the functions: !! OpenRead: opens a file for reading diff --git a/lib/get_python.sh b/lib/get_python.sh index f616bd581e..d96052f499 100755 --- a/lib/get_python.sh +++ b/lib/get_python.sh @@ -1,39 +1,9 @@ #!/bin/bash - -# ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. # ----------------------------------------------------------------------------- -# Author J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- # This script finds an executable python command. On diff --git a/lib/profiling/Makefile b/lib/profiling/Makefile index b28887599a..b573e7ebd9 100644 --- a/lib/profiling/Makefile +++ b/lib/profiling/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author J. Henrichs, Bureau of Meteorology -# Modified by A. R. Porter, STFC Daresbury Lab, -# I. Kavcic, Met Office # ----------- Default "make" values, can be overwritten by the user ----------- # Compiler and compiler flags diff --git a/lib/profiling/README.md b/lib/profiling/README.md index c9180d513e..805d528c2b 100644 --- a/lib/profiling/README.md +++ b/lib/profiling/README.md @@ -252,45 +252,3 @@ Since any source code instrumented for profiling will now contain ``use profile_mod`` statements, the location of the ``profile_mod.mod`` file must be provided as an ``include`` path when compiling the application source. - - diff --git a/lib/profiling/amd/Makefile b/lib/profiling/amd/Makefile index a9dbc10283..c9e91ab411 100644 --- a/lib/profiling/amd/Makefile +++ b/lib/profiling/amd/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2024-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2024-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: T. H. Gibson, Advanced Micro Devices, Inc. # Makefile for the PSyclone wrapper to the AMD ROCTx profiling library. diff --git a/lib/profiling/dl_timer/Makefile b/lib/profiling/dl_timer/Makefile index d1fef04d5c..045bcb1f4a 100644 --- a/lib/profiling/dl_timer/Makefile +++ b/lib/profiling/dl_timer/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Bureau of Meteorology -# Modified: I. Kavcic, Met Office # ----------- Default "make" values, can be overwritten by the user ----------- # Compiler and compiler flags diff --git a/lib/profiling/dl_timer/README.md b/lib/profiling/dl_timer/README.md index 9bfdf71bbc..38693119d4 100644 --- a/lib/profiling/dl_timer/README.md +++ b/lib/profiling/dl_timer/README.md @@ -100,45 +100,3 @@ psy_time_step_mod:swlat_update_c 11 0.19000E+01 0.17272E+00 0.24E-02 * corrected for systematic error ============================================================================= ``` - - diff --git a/lib/profiling/drhook/Makefile b/lib/profiling/drhook/Makefile index 708815f7ef..c0df0ca59c 100644 --- a/lib/profiling/drhook/Makefile +++ b/lib/profiling/drhook/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author J. Henrichs, Bureau of Meteorology -# Modified I. Kavcic, Met Office # ----------- Default "make" values, can be overwritten by the user ----------- # Compiler and compiler flags diff --git a/lib/profiling/drhook/README.md b/lib/profiling/drhook/README.md index ecc5d82aaa..2178699c16 100644 --- a/lib/profiling/drhook/README.md +++ b/lib/profiling/drhook/README.md @@ -108,45 +108,3 @@ Profiling information for program='./profile_test.drhook', proc#1: 2 21.62 0.000 0.000 0.000 1 0.00 0.00 psy_test:invoke_1_update_field:update_field_code:r0@1 ``` - - diff --git a/lib/profiling/lfric_timer/Makefile b/lib/profiling/lfric_timer/Makefile index e9a7b3dcbc..94164e81a3 100644 --- a/lib/profiling/lfric_timer/Makefile +++ b/lib/profiling/lfric_timer/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author J. Henrichs, Bureau of Meteorology -# Modified I. Kavcic, Met Office # This Makefile compiles a PSyData profiling wrapper library using the LFRic # timer code. It can be used with any code, not only with LFRic. diff --git a/lib/profiling/lfric_timer/README.md b/lib/profiling/lfric_timer/README.md index 48d4c40c2a..9d30452451 100644 --- a/lib/profiling/lfric_timer/README.md +++ b/lib/profiling/lfric_timer/README.md @@ -103,45 +103,3 @@ $ less timer.txt ||psy_test:invoke_1_update_field:u|| 0.00|| 0.00|| 0.00|| 1|| 37.11|| 0.00|| ``` - - diff --git a/lib/profiling/nvidia/Makefile b/lib/profiling/nvidia/Makefile index 8833c6e33c..229de1a21b 100644 --- a/lib/profiling/nvidia/Makefile +++ b/lib/profiling/nvidia/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Authors: J. Henrichs, Bureau of Meteorology, -# A. R. Porter, STFC Daresbury Laboratory. -# Modified I. Kavcic, Met Office # Makefile for the PSyclone wrapper to the NVTX profiling library. diff --git a/lib/profiling/nvidia/README.md b/lib/profiling/nvidia/README.md index b60d431c8b..9646f54bf4 100644 --- a/lib/profiling/nvidia/README.md +++ b/lib/profiling/nvidia/README.md @@ -67,45 +67,3 @@ name of the region are stored in the persistent ``ProfileData`` structure associated with that region for use in subsequent profiling calls. Once the end of the list of available colours is reached, the library simply goes back to the first entry in the list. - - diff --git a/lib/profiling/simple_timing/Makefile b/lib/profiling/simple_timing/Makefile index f6860289df..19d0ee300e 100644 --- a/lib/profiling/simple_timing/Makefile +++ b/lib/profiling/simple_timing/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author J. Henrichs, Bureau of Meteorology -# Modified I. Kavcic, Met Office # ----------- Default "make" values, can be overwritten by the user ----------- # Compiler and compiler flags diff --git a/lib/profiling/simple_timing/README.md b/lib/profiling/simple_timing/README.md index 31f01cd959..5df0304c40 100644 --- a/lib/profiling/simple_timing/README.md +++ b/lib/profiling/simple_timing/README.md @@ -75,45 +75,3 @@ psy_time_step_mod::swlat_code 11 4.87890625 psy_time_step_mod::swlat_update_code 11 1.87500000 0.167968750 0.170454547 0.179687500 =========================================== ``` - - diff --git a/lib/profiling/tau/Makefile b/lib/profiling/tau/Makefile index 995a7102ba..4df1243450 100644 --- a/lib/profiling/tau/Makefile +++ b/lib/profiling/tau/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author J. Henrichs, Bureau of Meteorology # ----------- Default "make" values, can be overwritten by the user ----------- F90 ?= gfortran diff --git a/lib/profiling/tau/README.md b/lib/profiling/tau/README.md index e67ab28315..5e7b98a61c 100644 --- a/lib/profiling/tau/README.md +++ b/lib/profiling/tau/README.md @@ -61,45 +61,3 @@ tau_f90.sh -o a.out ... -L /lib/profiling/tau -ltau_psy - The ```` differs depending on whether the wrapper library is compiled in a clone of the PSyclone repository or in a PSyclone [installation](./../../README.md#installation). - - - diff --git a/lib/profiling/template/Makefile b/lib/profiling/template/Makefile index 89aa57c5a1..c0b906dcc4 100644 --- a/lib/profiling/template/Makefile +++ b/lib/profiling/template/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author J. Henrichs, Bureau of Meteorology -# Modified I. Kavcic, Met Office # ----------- Default "make" values, can be overwritten by the user ----------- # Compiler and compiler flags diff --git a/lib/profiling/template/README.md b/lib/profiling/template/README.md index de5a6e9afc..7f648c2344 100644 --- a/lib/profiling/template/README.md +++ b/lib/profiling/template/README.md @@ -66,45 +66,3 @@ PostEnd called for module 'psy_test' region 'invoke_0:r0' PreStart called for module 'psy_test' region 'invoke_1_update_field:update_field_code:r0' PostEnd called for module 'psy_test' region 'invoke_1_update_field:update_field_code:r0' ``` - - diff --git a/lib/profiling/vernier/Makefile b/lib/profiling/vernier/Makefile index b8b14f6bb9..56ebb19c14 100644 --- a/lib/profiling/vernier/Makefile +++ b/lib/profiling/vernier/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author J. Henrichs, Bureau of Meteorology -# Modified I. Kavcic, Met Office # ----------- Default "make" values, can be overwritten by the user ----------- # Compiler and compiler flags diff --git a/lib/profiling/vernier/README.md b/lib/profiling/vernier/README.md index 267a86f62d..b768b72f1c 100644 --- a/lib/profiling/vernier/README.md +++ b/lib/profiling/vernier/README.md @@ -91,44 +91,3 @@ Profiling on 8 thread(s). 5 0.195 1.516 0.003 0.003 3 0.971 0.971 lfric_xios_setup_mod_psy:invoke_2_nodal_coordinates_kernel_type-nodal_coordinates_code-r2@0 ``` - - diff --git a/lib/psy_data_base.jinja b/lib/psy_data_base.jinja index f8021d15e9..0990cd1216 100644 --- a/lib/psy_data_base.jinja +++ b/lib/psy_data_base.jinja @@ -21,40 +21,11 @@ {% endif %} ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology -! Modified: I. Kavcic, Met Office module psy_data_base_mod diff --git a/lib/read_only/Makefile b/lib/read_only/Makefile index d7edc9996b..2dff8fb530 100644 --- a/lib/read_only/Makefile +++ b/lib/read_only/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Australian Bureau of Meteorology -# Modified: I. Kavcic, Met Office # This Makefile just creates the Fortran base class for all read-only # wrappers from the jinja template. The compile functionality it offers is diff --git a/lib/read_only/README.md b/lib/read_only/README.md index 1f826e11ad..5b98815f61 100644 --- a/lib/read_only/README.md +++ b/lib/read_only/README.md @@ -41,45 +41,3 @@ https://psyclone.readthedocs.io/en/latest/user_guide/lfric.html). ## [``generic``](./generic) directory Contains the generic read-only wrapper library. - - diff --git a/lib/read_only/dl_esm_inf/Makefile b/lib/read_only/dl_esm_inf/Makefile index 74454f6bdf..888e8c4874 100644 --- a/lib/read_only/dl_esm_inf/Makefile +++ b/lib/read_only/dl_esm_inf/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Australian Bureau of Meteorology -# Modified: I. Kavcic, Met Office - # This Makefile picks up the compiler to use plus any flags from # environment variables. e.g.: diff --git a/lib/read_only/dl_esm_inf/README.md b/lib/read_only/dl_esm_inf/README.md index 4336a15b8e..8b18a3554f 100644 --- a/lib/read_only/dl_esm_inf/README.md +++ b/lib/read_only/dl_esm_inf/README.md @@ -76,45 +76,3 @@ For instance: $(F90) ... -L$(PSYDATA_LIB_DIR)/read_only/dl_esm_inf -l_read_only \ -L$(GOCEAN_INF_DIR) -l_fd ``` - - diff --git a/lib/read_only/generic/Makefile b/lib/read_only/generic/Makefile index 5a88c2b237..d75afe7c6e 100644 --- a/lib/read_only/generic/Makefile +++ b/lib/read_only/generic/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2025-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2025-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Australian Bureau of Meteorology # This Makefile is for the read-only checking lib for generic Fortran code. diff --git a/lib/read_only/generic/README.md b/lib/read_only/generic/README.md index f6ba62818a..7ad508e038 100644 --- a/lib/read_only/generic/README.md +++ b/lib/read_only/generic/README.md @@ -47,44 +47,3 @@ library, ``_read_only``. For instance: ```shell $(F90) ... -L$(PSYDATA_LIB_DIR)/read_only/generic -l_read_only ``` - - diff --git a/lib/read_only/lfric/Makefile b/lib/read_only/lfric/Makefile index 5a255474e4..7022a5b5c7 100644 --- a/lib/read_only/lfric/Makefile +++ b/lib/read_only/lfric/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Australian Bureau of Meteorology -# Modified: I. Kavcic, Met Office - # This Makefile picks up the compiler to use plus any flags from # environment variables. e.g.: diff --git a/lib/read_only/lfric/README.md b/lib/read_only/lfric/README.md index c5c5556ca5..3bc6ebaa77 100644 --- a/lib/read_only/lfric/README.md +++ b/lib/read_only/lfric/README.md @@ -78,45 +78,3 @@ For instance: $(F90) ... -L$(PSYDATA_LIB_DIR)/read_only/lfric -l_read_only \ -L$(LFRIC_PATH) -llfric $(LFRIC_SPECIFIC_LINKING_PARAMETERS) ``` - - diff --git a/lib/read_only/lfric/read_only.jinja b/lib/read_only/lfric/read_only.jinja index 78218830aa..2f40a28e93 100644 --- a/lib/read_only/lfric/read_only.jinja +++ b/lib/read_only/lfric/read_only.jinja @@ -6,40 +6,11 @@ {{ "! ================================================== !" }} ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author J. Henrichs, Bureau of Meteorology -! Modified I. Kavcic, Met Office !> This module implements a verification that read-only fields are !! not overwritten (due to memory overwrites etc) diff --git a/lib/read_only/read_only_base.jinja b/lib/read_only/read_only_base.jinja index ed6c651601..312d6b8d7b 100644 --- a/lib/read_only/read_only_base.jinja +++ b/lib/read_only/read_only_base.jinja @@ -38,40 +38,11 @@ {% endif %} ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author J. Henrichs, Bureau of Meteorology -! Modified I. Kavcic, Met Office !> This module implements a verification that read-only fields are !! not overwritten (due to memory overwrites etc) diff --git a/lib/value_range_check/Makefile b/lib/value_range_check/Makefile index 60e5681549..94403e48f2 100644 --- a/lib/value_range_check/Makefile +++ b/lib/value_range_check/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Australian Bureau of Meteorology -# Modified: I. Kavcic, Met Office # This Makefile just creates the Fortran base class for all nan-test # wrappers from the jinja template. The compile functionality it offers is diff --git a/lib/value_range_check/README.md b/lib/value_range_check/README.md index 9142c893e1..f02ca32fe7 100644 --- a/lib/value_range_check/README.md +++ b/lib/value_range_check/README.md @@ -47,44 +47,3 @@ https://psyclone.readthedocs.io/en/latest/user_guide/lfric.html). ## [``generic``](./generic) directory Contains the generic implementation, supporting 1- to 5-dimensional arrays, and 4 and 8 byte integer and real values. - - diff --git a/lib/value_range_check/dl_esm_inf/Makefile b/lib/value_range_check/dl_esm_inf/Makefile index 3548a6e21d..8c6536f5f9 100644 --- a/lib/value_range_check/dl_esm_inf/Makefile +++ b/lib/value_range_check/dl_esm_inf/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Australian Bureau of Meteorology -# Modified: I. Kavcic, Met Office # This Makefile picks up the compiler to use plus any flags from diff --git a/lib/value_range_check/dl_esm_inf/README.md b/lib/value_range_check/dl_esm_inf/README.md index 6f2c88ae35..52adcf9412 100644 --- a/lib/value_range_check/dl_esm_inf/README.md +++ b/lib/value_range_check/dl_esm_inf/README.md @@ -73,44 +73,3 @@ For instance: $(F90) ... -L$(PSYDATA_LIB_DIR)/value_range_check/dl_esm_inf -l_value_range_check \ -L$(GOCEAN_INF_DIR) -l_fd ``` - - diff --git a/lib/value_range_check/generic/Makefile b/lib/value_range_check/generic/Makefile index 4d7466834a..4e775739e7 100644 --- a/lib/value_range_check/generic/Makefile +++ b/lib/value_range_check/generic/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Australian Bureau of Meteorology -# Modified: I. Kavcic, Met Office - # This Makefile picks up the compiler to use plus any flags from # environment variables. e.g.: diff --git a/lib/value_range_check/lfric/Makefile b/lib/value_range_check/lfric/Makefile index 9cf7a2c798..cc95a3a229 100644 --- a/lib/value_range_check/lfric/Makefile +++ b/lib/value_range_check/lfric/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Australian Bureau of Meteorology -# Modified: I. Kavcic, Met Office - # This Makefile picks up the compiler to use plus any flags from # environment variables. e.g.: diff --git a/lib/value_range_check/lfric/README.md b/lib/value_range_check/lfric/README.md index 775e56f585..99d15ae008 100644 --- a/lib/value_range_check/lfric/README.md +++ b/lib/value_range_check/lfric/README.md @@ -80,44 +80,3 @@ The application needs to provide the parameters to link in this $(F90) ... -L$(PSYDATA_LIB_DIR)/value_range_check/lfric -l_value_range_check \ -L$(LFRIC_PATH) -llfric $(LFRIC_SPECIFIC_LINKING_PARAMETERS) ``` - - diff --git a/lib/value_range_check/lfric/value_range_check.jinja b/lib/value_range_check/lfric/value_range_check.jinja index 2109162347..6028b31e33 100644 --- a/lib/value_range_check/lfric/value_range_check.jinja +++ b/lib/value_range_check/lfric/value_range_check.jinja @@ -6,40 +6,11 @@ {{ "! ================================================== !" }} ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author J. Henrichs, Bureau of Meteorology -! Modified I. Kavcic, Met Office !> This module implements the value range check for the LFRic API !! diff --git a/lib/value_range_check/value_range_check_base.jinja b/lib/value_range_check/value_range_check_base.jinja index 07112181c6..808625bbcf 100644 --- a/lib/value_range_check/value_range_check_base.jinja +++ b/lib/value_range_check/value_range_check_base.jinja @@ -37,40 +37,11 @@ {% endif %} ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author J. Henrichs, Bureau of Meteorology -! Modified I. Kavcic, Met Office !> This module implements a PSyData-based verification that checks if !! variable values are within a certain range. This range is specified diff --git a/pyproject.toml b/pyproject.toml index 170bed599f..0342acbc72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,35 +1,8 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- [build-system] diff --git a/setup.cfg b/setup.cfg index be5e08c70a..640fd3b4b6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2017-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter [flake8] # Ignore E266 too many leading '#' for block comment since we use those for diff --git a/src/psyclone/tests/domain/nemo/test_files/nemo_test.cfg b/src/psyclone/tests/domain/nemo/test_files/nemo_test.cfg index cf91c8a1b0..f383f0d5b2 100644 --- a/src/psyclone/tests/domain/nemo/test_files/nemo_test.cfg +++ b/src/psyclone/tests/domain/nemo/test_files/nemo_test.cfg @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Authors: R. W. Ford, A. R. Porter, STFC Daresbury Lab, -# J. Henrichs, Bureau of Meteorology, -# I. Kavcic, Met Office # This is a modified copy of the PSyclone configuration file. The # modifications change some of the nemo loop bounds information so diff --git a/src/psyclone/tests/nemo/test_files/include_files/local_mpi.h b/src/psyclone/tests/nemo/test_files/include_files/local_mpi.h index 6baaebf2da..47077b1e3c 100644 --- a/src/psyclone/tests/nemo/test_files/include_files/local_mpi.h +++ b/src/psyclone/tests/nemo/test_files/include_files/local_mpi.h @@ -1,35 +1,9 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2019-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: A. R. Porter, STFC Daresbury Lab ! This is a very simple include file for testing of PSyclone's ability ! to handle source code containing include statements. diff --git a/src/psyclone/tests/test_files/dummy_config.cfg b/src/psyclone/tests/test_files/dummy_config.cfg index a63807e516..b2bd913c61 100644 --- a/src/psyclone/tests/test_files/dummy_config.cfg +++ b/src/psyclone/tests/test_files/dummy_config.cfg @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2018-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2018-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified: I. Kavcic and O. Brunt, Met Office -# R. W. Ford STFC Daresbury Lab # This is the PSyclone configuration file. diff --git a/src/psyclone/tests/test_files/gocean1p0/Makefile b/src/psyclone/tests/test_files/gocean1p0/Makefile index 913eae676d..8e209b54f5 100644 --- a/src/psyclone/tests/test_files/gocean1p0/Makefile +++ b/src/psyclone/tests/test_files/gocean1p0/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2018-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2018-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author J. Henrichs, Bureau of Meteorology - # Test files to see if the source files work with dl_esm_info: TEST_FILES = continuity_mod.f90 model_mod.f90 momentum_mod.f90 \ diff --git a/src/psyclone/tests/test_files/gocean1p0/new_iteration_space.psyclone b/src/psyclone/tests/test_files/gocean1p0/new_iteration_space.psyclone index bf5bafd8c9..4f16170973 100644 --- a/src/psyclone/tests/test_files/gocean1p0/new_iteration_space.psyclone +++ b/src/psyclone/tests/test_files/gocean1p0/new_iteration_space.psyclone @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2018-20, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2018-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J. Henrichs, Bureau of Meteorology - # This is a gocean specific configuration file used in various tests. [DEFAULT] diff --git a/src/psyclone/tests/test_files/lfric/1.5.6_single_invoke_nlevels_ndata.f90 b/src/psyclone/tests/test_files/lfric/1.5.6_single_invoke_nlevels_ndata.f90 index d156a7509b..cebc97d859 100644 --- a/src/psyclone/tests/test_files/lfric/1.5.6_single_invoke_nlevels_ndata.f90 +++ b/src/psyclone/tests/test_files/lfric/1.5.6_single_invoke_nlevels_ndata.f90 @@ -1,37 +1,9 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2017-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: A. R. Porter, STFC Daresbury Lab program single_invoke_fs diff --git a/src/psyclone/tests/test_files/lfric/testkern_nlevels_ndata_mod.F90 b/src/psyclone/tests/test_files/lfric/testkern_nlevels_ndata_mod.F90 index 242961b9a6..f2b018a2d3 100644 --- a/src/psyclone/tests/test_files/lfric/testkern_nlevels_ndata_mod.F90 +++ b/src/psyclone/tests/test_files/lfric/testkern_nlevels_ndata_mod.F90 @@ -1,35 +1,9 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. +! SPDX-FileCopyrightText: Copyright (c) 2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- -! Author: A. R. Porter, STFC Daresbury Lab !> An example LFRic kernel which has arguments with non-default values !! of NLEVELS and NDATA. diff --git a/tutorial/common.mk b/tutorial/common.mk index 07ae915def..e307ec2a0c 100644 --- a/tutorial/common.mk +++ b/tutorial/common.mk @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Make sure we use the configuration file distributed with PSyclone # instead of any locally-installed version. diff --git a/tutorial/notebooks/Makefile b/tutorial/notebooks/Makefile index 3cf97a2e46..24752c24fc 100644 --- a/tutorial/notebooks/Makefile +++ b/tutorial/notebooks/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Makefile that exercises all Jupyter notebooks (for use in continuous # integration). diff --git a/tutorial/notebooks/fparser2/Makefile b/tutorial/notebooks/fparser2/Makefile index aa1c406d9c..3c0746c0dd 100644 --- a/tutorial/notebooks/fparser2/Makefile +++ b/tutorial/notebooks/fparser2/Makefile @@ -1,36 +1,8 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/tutorial/notebooks/nemo/Makefile b/tutorial/notebooks/nemo/Makefile index aa1c406d9c..3c0746c0dd 100644 --- a/tutorial/notebooks/nemo/Makefile +++ b/tutorial/notebooks/nemo/Makefile @@ -1,36 +1,8 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/tutorial/notebooks/psyir/Makefile b/tutorial/notebooks/psyir/Makefile index aa1c406d9c..3c0746c0dd 100644 --- a/tutorial/notebooks/psyir/Makefile +++ b/tutorial/notebooks/psyir/Makefile @@ -1,36 +1,8 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2021-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory +# SPDX-FileCopyrightText: Copyright (c) 2021-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../common.mk diff --git a/tutorial/practicals/LFRic/Makefile b/tutorial/practicals/LFRic/Makefile index 9204234d98..00ad7540d5 100644 --- a/tutorial/practicals/LFRic/Makefile +++ b/tutorial/practicals/LFRic/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Authors: A. R. Porter and R. W. Ford, STFC Daresbury Lab -# Modified: I. Kavcic, Met Office -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Top-level Makefile to test all of the LFRic hands-on tutorials. .PHONY: transform compile run clean allclean diff --git a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/Makefile b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/Makefile index d7dbfece1e..c285820a33 100644 --- a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/Makefile +++ b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Compiler settings F90 ?= gfortran diff --git a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/simple_kernels_alg_mod.x90 b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/simple_kernels_alg_mod.x90 index e4d2612916..9162640588 100644 --- a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/simple_kernels_alg_mod.x90 +++ b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/simple_kernels_alg_mod.x90 @@ -1,39 +1,8 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. -! ----------------------------------------------------------------------------- -! Author: I. Kavcic, Met Office -! Modified by: J. Dendy, Met Office -! +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- ! A module that creates fields on W0 and W3 function spaces and calls kernels ! to initialise the fields diff --git a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/solutions/Makefile b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/solutions/Makefile index 083a473c8c..a22d89a104 100644 --- a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/solutions/Makefile +++ b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/solutions/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Compiler settings F90 ?= gfortran diff --git a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/solutions/simple_kernels_alg_mod.x90 b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/solutions/simple_kernels_alg_mod.x90 index 957fe64290..6d73b243f0 100644 --- a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/solutions/simple_kernels_alg_mod.x90 +++ b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part1/solutions/simple_kernels_alg_mod.x90 @@ -1,39 +1,8 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. -! ----------------------------------------------------------------------------- -! Author: I. Kavcic, Met Office -! Modified by: J. Dendy, Met Office -! +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- ! A module that creates fields on W0 and W3 function spaces and calls kernels ! to initialise the fields diff --git a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/Makefile b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/Makefile index fd1049c51b..3ba1288269 100644 --- a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/Makefile +++ b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Compiler settings F90 ?= gfortran diff --git a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/simple_kernels_alg_mod.x90 b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/simple_kernels_alg_mod.x90 index 10517fa6c8..93092689c3 100644 --- a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/simple_kernels_alg_mod.x90 +++ b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/simple_kernels_alg_mod.x90 @@ -1,39 +1,8 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. -! ----------------------------------------------------------------------------- -! Author: I. Kavcic, Met Office -! Modified by: J. Dendy, Met Office -! +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- ! A module that creates fields on W0 and W3 function spaces and calls generic ! kernels to initialise and add the fields on the same function space. diff --git a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/solutions/Makefile b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/solutions/Makefile index a8e1b643d4..e4d7b1165b 100644 --- a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/solutions/Makefile +++ b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/solutions/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Compiler settings F90 ?= gfortran diff --git a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/solutions/simple_kernels_alg_mod.x90 b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/solutions/simple_kernels_alg_mod.x90 index 38d872aa8f..9bf706c947 100644 --- a/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/solutions/simple_kernels_alg_mod.x90 +++ b/tutorial/practicals/LFRic/building_code/1_simple_kernels/part2/solutions/simple_kernels_alg_mod.x90 @@ -1,39 +1,8 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. -! ----------------------------------------------------------------------------- -! Author: I. Kavcic, Met Office -! Modified by: J. Dendy, Met Office -! +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- ! A module that creates fields on W0 and W3 function spaces and calls generic ! kernels to initialise and add the fields on the same function space. diff --git a/tutorial/practicals/LFRic/building_code/2_built_ins/Makefile b/tutorial/practicals/LFRic/building_code/2_built_ins/Makefile index f79df4f355..e9b59aa9ff 100644 --- a/tutorial/practicals/LFRic/building_code/2_built_ins/Makefile +++ b/tutorial/practicals/LFRic/building_code/2_built_ins/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Compiler settings F90 ?= gfortran diff --git a/tutorial/practicals/LFRic/building_code/2_built_ins/builtins_alg_mod.x90 b/tutorial/practicals/LFRic/building_code/2_built_ins/builtins_alg_mod.x90 index 0e9f154711..b646109477 100644 --- a/tutorial/practicals/LFRic/building_code/2_built_ins/builtins_alg_mod.x90 +++ b/tutorial/practicals/LFRic/building_code/2_built_ins/builtins_alg_mod.x90 @@ -1,39 +1,8 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. -! ----------------------------------------------------------------------------- -! Author: I. Kavcic, Met Office -! Modified by: J. Dendy, Met Office -! +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- ! A module that creates fields on W0 and W3 function spaces and uses PSyclone ! built-ins to initialise and add the fields diff --git a/tutorial/practicals/LFRic/building_code/2_built_ins/solutions/Makefile b/tutorial/practicals/LFRic/building_code/2_built_ins/solutions/Makefile index dc0589558a..1cebcb205d 100644 --- a/tutorial/practicals/LFRic/building_code/2_built_ins/solutions/Makefile +++ b/tutorial/practicals/LFRic/building_code/2_built_ins/solutions/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Compiler settings F90 ?= gfortran diff --git a/tutorial/practicals/LFRic/building_code/2_built_ins/solutions/builtins_alg_mod.x90 b/tutorial/practicals/LFRic/building_code/2_built_ins/solutions/builtins_alg_mod.x90 index 9a1afaf32c..b0f6b035a1 100644 --- a/tutorial/practicals/LFRic/building_code/2_built_ins/solutions/builtins_alg_mod.x90 +++ b/tutorial/practicals/LFRic/building_code/2_built_ins/solutions/builtins_alg_mod.x90 @@ -1,39 +1,8 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. -! ----------------------------------------------------------------------------- -! Author: I. Kavcic, Met Office -! Modified by: J. Dendy, Met Office -! +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- ! A module that creates fields on W0 and W3 function spaces and uses PSyclone ! built-ins to initialise and add the fields diff --git a/tutorial/practicals/LFRic/building_code/3_time_evolution/Makefile b/tutorial/practicals/LFRic/building_code/3_time_evolution/Makefile index 605c61e781..3c25dd5e14 100644 --- a/tutorial/practicals/LFRic/building_code/3_time_evolution/Makefile +++ b/tutorial/practicals/LFRic/building_code/3_time_evolution/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office -# Modified by D. Sergeev, University of Exeter -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Compiler settings F90 ?= gfortran diff --git a/tutorial/practicals/LFRic/building_code/3_time_evolution/solutions/Makefile b/tutorial/practicals/LFRic/building_code/3_time_evolution/solutions/Makefile index c0d48bc1b0..accb5e8f59 100644 --- a/tutorial/practicals/LFRic/building_code/3_time_evolution/solutions/Makefile +++ b/tutorial/practicals/LFRic/building_code/3_time_evolution/solutions/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Compiler settings F90 ?= gfortran diff --git a/tutorial/practicals/LFRic/building_code/3_time_evolution/solutions/time_evolution_alg_mod.x90 b/tutorial/practicals/LFRic/building_code/3_time_evolution/solutions/time_evolution_alg_mod.x90 index c1cc1fa060..ddc6e04045 100644 --- a/tutorial/practicals/LFRic/building_code/3_time_evolution/solutions/time_evolution_alg_mod.x90 +++ b/tutorial/practicals/LFRic/building_code/3_time_evolution/solutions/time_evolution_alg_mod.x90 @@ -1,38 +1,8 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. -! ----------------------------------------------------------------------------- -! Author: I. Kavcic, Met Office -! +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- ! Calls kernels to initialise a perturbation field on W3 space to analytical ! formula and to propagate perturbation signal in time diff --git a/tutorial/practicals/LFRic/building_code/3_time_evolution/time_evolution_alg_mod.x90 b/tutorial/practicals/LFRic/building_code/3_time_evolution/time_evolution_alg_mod.x90 index 8e1ab8a991..ffe0e220e3 100644 --- a/tutorial/practicals/LFRic/building_code/3_time_evolution/time_evolution_alg_mod.x90 +++ b/tutorial/practicals/LFRic/building_code/3_time_evolution/time_evolution_alg_mod.x90 @@ -1,38 +1,8 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. -! ----------------------------------------------------------------------------- -! Author: I. Kavcic, Met Office -! +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- ! Calls kernels to initialise a perturbation field on W3 space to analytical ! formula and to propagate perturbation signal in time diff --git a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile index 996e697895..fedac96e1b 100755 --- a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile +++ b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology - +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # We want to avoid that a user accidentally starts this Makefile, since then # unexpected transformations might be applied. So we disable the default diff --git a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.extract_all b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.extract_all index fc1a548c2d..77e7641da8 100755 --- a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.extract_all +++ b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.extract_all @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Setting for the PSyData extraction library TYPE?=netcdf diff --git a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.extract_one b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.extract_one index 528f558a0a..7e182f7da9 100755 --- a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.extract_one +++ b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.extract_one @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Setting for the PSyData extraction library TYPE?=netcdf diff --git a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.inc b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.inc index 528a8974e2..9bb6923043 100755 --- a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.inc +++ b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.inc @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office -# Modified by J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Compiler settings F90 ?= gfortran diff --git a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.readonly_all b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.readonly_all index c2840fd59d..671ecc01c6 100755 --- a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.readonly_all +++ b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.readonly_all @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Setting for the PSyData readonly verification library PSYDATA_PATH?=$(PSYCLONE_RELPATH)/lib/read_only/lfric diff --git a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.value_range_check b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.value_range_check index 776fcce2cf..b24df3f19a 100755 --- a/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.value_range_check +++ b/tutorial/practicals/LFRic/building_code/4_psydata/Makefile.value_range_check @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Setting for the PSyData value range check library PSYDATA_PATH?=$(PSYCLONE_RELPATH)/lib/value_range_check/lfric diff --git a/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.extract_all b/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.extract_all index fc1a548c2d..77e7641da8 100755 --- a/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.extract_all +++ b/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.extract_all @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Setting for the PSyData extraction library TYPE?=netcdf diff --git a/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.extract_one b/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.extract_one index 89818fc4bf..cdf658da67 100755 --- a/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.extract_one +++ b/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.extract_one @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Setting for the PSyData extraction library TYPE?=netcdf diff --git a/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.readonly_all b/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.readonly_all index 7bedfba4e3..c66f60d500 100755 --- a/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.readonly_all +++ b/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.readonly_all @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Setting for the PSyData readonly verification library PSYDATA_PATH?=$(PSYCLONE_RELPATH)/lib/read_only/lfric diff --git a/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.value_range_check b/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.value_range_check index e35e911eba..36ca338f7e 100755 --- a/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.value_range_check +++ b/tutorial/practicals/LFRic/building_code/4_psydata/solutions/Makefile.value_range_check @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Setting for the PSyData value range check library PSYDATA_PATH?=$(PSYCLONE_RELPATH)/lib/value_range_check/lfric diff --git a/tutorial/practicals/LFRic/building_code/4_psydata/time_evolution_alg_mod.x90 b/tutorial/practicals/LFRic/building_code/4_psydata/time_evolution_alg_mod.x90 index 00c292bc84..ca68175a67 100644 --- a/tutorial/practicals/LFRic/building_code/4_psydata/time_evolution_alg_mod.x90 +++ b/tutorial/practicals/LFRic/building_code/4_psydata/time_evolution_alg_mod.x90 @@ -1,38 +1,8 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. -! ----------------------------------------------------------------------------- -! Author: I. Kavcic, Met Office -! +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- ! Calls kernels to initialise a perturbation field on W3 space to analytical ! formula and to propagate perturbation signal in time diff --git a/tutorial/practicals/LFRic/building_code/Makefile b/tutorial/practicals/LFRic/building_code/Makefile index 7e977fb4d9..d5e0ed8713 100644 --- a/tutorial/practicals/LFRic/building_code/Makefile +++ b/tutorial/practicals/LFRic/building_code/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Top-level Makefile for all solutions of the LFRic hands-on tutorials on # building code. diff --git a/tutorial/practicals/LFRic/building_code/gungho_lib/Makefile b/tutorial/practicals/LFRic/building_code/gungho_lib/Makefile index 376532f3a0..725ff3c570 100644 --- a/tutorial/practicals/LFRic/building_code/gungho_lib/Makefile +++ b/tutorial/practicals/LFRic/building_code/gungho_lib/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- F90 ?= gfortran F90FLAGS ?= -Wall -g -fcheck=bound diff --git a/tutorial/practicals/LFRic/building_code/gungho_lib/write_diagnostics_alg_mod.x90 b/tutorial/practicals/LFRic/building_code/gungho_lib/write_diagnostics_alg_mod.x90 index 55c2fcbd94..8f33cd6818 100644 --- a/tutorial/practicals/LFRic/building_code/gungho_lib/write_diagnostics_alg_mod.x90 +++ b/tutorial/practicals/LFRic/building_code/gungho_lib/write_diagnostics_alg_mod.x90 @@ -1,38 +1,8 @@ ! ----------------------------------------------------------------------------- -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council. -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. -! ----------------------------------------------------------------------------- -! Author: I. Kavcic, Met Office -! +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. ! ----------------------------------------------------------------------------- ! Calls IO routine to output the coordinate and diagnostic field data ! for plotting. diff --git a/tutorial/practicals/LFRic/distributed_memory/1_distributed_memory/Makefile b/tutorial/practicals/LFRic/distributed_memory/1_distributed_memory/Makefile index 7aa94240f6..4b4f534706 100644 --- a/tutorial/practicals/LFRic/distributed_memory/1_distributed_memory/Makefile +++ b/tutorial/practicals/LFRic/distributed_memory/1_distributed_memory/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter and R. W. Ford, STFC Daresbury Lab -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../../../common.mk diff --git a/tutorial/practicals/LFRic/distributed_memory/2_annexed_dofs/Makefile b/tutorial/practicals/LFRic/distributed_memory/2_annexed_dofs/Makefile index 75e3a46fc3..0dade47ea7 100644 --- a/tutorial/practicals/LFRic/distributed_memory/2_annexed_dofs/Makefile +++ b/tutorial/practicals/LFRic/distributed_memory/2_annexed_dofs/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter and R. W. Ford, STFC Daresbury Lab -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../../../common.mk diff --git a/tutorial/practicals/LFRic/distributed_memory/2_annexed_dofs/psyclone.cfg b/tutorial/practicals/LFRic/distributed_memory/2_annexed_dofs/psyclone.cfg index 47f0535f64..4c2cc76c5f 100644 --- a/tutorial/practicals/LFRic/distributed_memory/2_annexed_dofs/psyclone.cfg +++ b/tutorial/practicals/LFRic/distributed_memory/2_annexed_dofs/psyclone.cfg @@ -1,40 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2017-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified by: R. W. Ford, STFC Daresbury Laboratory -# J. Henrichs, Bureau of Meteorology, -# I. Kavcic and O. Brunt, Met Office # This is the PSyclone configuration file for the "annexed dofs" # tutorial section and is required to be modified as part of the diff --git a/tutorial/practicals/LFRic/distributed_memory/3_overlapping_comms/Makefile b/tutorial/practicals/LFRic/distributed_memory/3_overlapping_comms/Makefile index eb5bd24ef3..f0d6c72f92 100644 --- a/tutorial/practicals/LFRic/distributed_memory/3_overlapping_comms/Makefile +++ b/tutorial/practicals/LFRic/distributed_memory/3_overlapping_comms/Makefile @@ -1,38 +1,9 @@ - # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter and R. W. Ford, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../../../common.mk diff --git a/tutorial/practicals/LFRic/distributed_memory/3_overlapping_comms/psyclone.cfg b/tutorial/practicals/LFRic/distributed_memory/3_overlapping_comms/psyclone.cfg index 31a4bd9f40..ba4272fbc3 100644 --- a/tutorial/practicals/LFRic/distributed_memory/3_overlapping_comms/psyclone.cfg +++ b/tutorial/practicals/LFRic/distributed_memory/3_overlapping_comms/psyclone.cfg @@ -1,40 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2017-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified by: R. W. Ford, STFC Daresbury Laboratory -# J. Henrichs, Bureau of Meteorology, -# I. Kavcic and O. Brunt, Met Office # This is the PSyclone configuration file for the "overlapping comms" # tutorial section and has been modified for the tutorial. diff --git a/tutorial/practicals/LFRic/distributed_memory/4_reductions/Makefile b/tutorial/practicals/LFRic/distributed_memory/4_reductions/Makefile index 2db25c90ee..d6045c5bf3 100644 --- a/tutorial/practicals/LFRic/distributed_memory/4_reductions/Makefile +++ b/tutorial/practicals/LFRic/distributed_memory/4_reductions/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter and R. W. Ford, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../../../common.mk diff --git a/tutorial/practicals/LFRic/distributed_memory/Makefile b/tutorial/practicals/LFRic/distributed_memory/Makefile index 1ee77b9bf5..d7d94fcd2d 100644 --- a/tutorial/practicals/LFRic/distributed_memory/Makefile +++ b/tutorial/practicals/LFRic/distributed_memory/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Top-level Makefile for all LFRic hands-on tutorials on distributed memory diff --git a/tutorial/practicals/LFRic/single_node/1_openmp/Makefile b/tutorial/practicals/LFRic/single_node/1_openmp/Makefile index 4155f4cf0a..046ee20074 100644 --- a/tutorial/practicals/LFRic/single_node/1_openmp/Makefile +++ b/tutorial/practicals/LFRic/single_node/1_openmp/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter and R. W. Ford, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../../../common.mk diff --git a/tutorial/practicals/LFRic/single_node/1_openmp/psyclone.cfg b/tutorial/practicals/LFRic/single_node/1_openmp/psyclone.cfg index a5f3df575f..909f6266e9 100644 --- a/tutorial/practicals/LFRic/single_node/1_openmp/psyclone.cfg +++ b/tutorial/practicals/LFRic/single_node/1_openmp/psyclone.cfg @@ -1,40 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2017-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified by: R. W. Ford, STFC Daresbury Laboratory -# J. Henrichs, Bureau of Meteorology, -# I. Kavcic and O. Brunt, Met Office # This is the PSyclone configuration file for the "OpenMP" tutorial # section and is required to be modified as part of the tutorial. diff --git a/tutorial/practicals/LFRic/single_node/2_openacc/Makefile b/tutorial/practicals/LFRic/single_node/2_openacc/Makefile index ff15583a72..a499b39708 100644 --- a/tutorial/practicals/LFRic/single_node/2_openacc/Makefile +++ b/tutorial/practicals/LFRic/single_node/2_openacc/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter and R. W. Ford, STFC Daresbury Lab -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../../../common.mk diff --git a/tutorial/practicals/LFRic/single_node/3_sequential/Makefile b/tutorial/practicals/LFRic/single_node/3_sequential/Makefile index b9c81413dd..7158e51ed2 100644 --- a/tutorial/practicals/LFRic/single_node/3_sequential/Makefile +++ b/tutorial/practicals/LFRic/single_node/3_sequential/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter and R. W. Ford, STFC Daresbury Lab -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../../../common.mk diff --git a/tutorial/practicals/LFRic/single_node/3_sequential/example_alg.x90 b/tutorial/practicals/LFRic/single_node/3_sequential/example_alg.x90 index 5f2add9568..ac375d594f 100644 --- a/tutorial/practicals/LFRic/single_node/3_sequential/example_alg.x90 +++ b/tutorial/practicals/LFRic/single_node/3_sequential/example_alg.x90 @@ -1,36 +1,9 @@ -! BSD 3-Clause License -! -! Copyright (c) 2020-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: R. W. Ford, STFC Daresbury Lab -! -!------------------------------------------------------------------------------- +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- ! Example code with a single invoke and a series of builtin ! calls. This code was created to demonstrate PSyclone's ability to diff --git a/tutorial/practicals/LFRic/single_node/Makefile b/tutorial/practicals/LFRic/single_node/Makefile index 36ed7c2b21..4b42941f1e 100644 --- a/tutorial/practicals/LFRic/single_node/Makefile +++ b/tutorial/practicals/LFRic/single_node/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: I. Kavcic, Met Office +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Top-level Makefile for all LFRic hands-on tutorials on shared memory diff --git a/tutorial/practicals/Makefile b/tutorial/practicals/Makefile index 99abc7c341..fadac0928e 100644 --- a/tutorial/practicals/Makefile +++ b/tutorial/practicals/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- .DEFAULT_GOAL := transform diff --git a/tutorial/practicals/generic/1_intro_psyir/Makefile b/tutorial/practicals/generic/1_intro_psyir/Makefile index fe661fcec4..529fa88fa2 100644 --- a/tutorial/practicals/generic/1_intro_psyir/Makefile +++ b/tutorial/practicals/generic/1_intro_psyir/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified: J. Henrichs, Bureau of Meteorology -# Modified: S. Siso, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../../common.mk diff --git a/tutorial/practicals/generic/2_profiling/Makefile b/tutorial/practicals/generic/2_profiling/Makefile index 8926086cd2..76f2d75221 100644 --- a/tutorial/practicals/generic/2_profiling/Makefile +++ b/tutorial/practicals/generic/2_profiling/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified: J. Henrichs, Bureau of Meteorology -# Modified: S. Siso, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../../common.mk diff --git a/tutorial/practicals/generic/3_openmp/Makefile b/tutorial/practicals/generic/3_openmp/Makefile index 4b72fb01c8..0cf01d6d48 100644 --- a/tutorial/practicals/generic/3_openmp/Makefile +++ b/tutorial/practicals/generic/3_openmp/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified: J. Henrichs, Bureau of Meteorology -# Modified: S. Siso, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../../../common.mk diff --git a/tutorial/practicals/generic/4_openacc/Makefile b/tutorial/practicals/generic/4_openacc/Makefile index b1a7eddaa5..64b3b1e204 100644 --- a/tutorial/practicals/generic/4_openacc/Makefile +++ b/tutorial/practicals/generic/4_openacc/Makefile @@ -1,39 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified: J. Henrichs, Bureau of Meteorology -# Modified: S. Siso, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Makefile for the PSyclone NEMO OpenACC tutorial. diff --git a/tutorial/practicals/generic/4_openacc/solutions/Makefile b/tutorial/practicals/generic/4_openacc/solutions/Makefile index 2c1db5ea4b..08e77a575f 100644 --- a/tutorial/practicals/generic/4_openacc/solutions/Makefile +++ b/tutorial/practicals/generic/4_openacc/solutions/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Makefile to test the example transformation scripts contained in # this directory. diff --git a/tutorial/practicals/generic/Makefile b/tutorial/practicals/generic/Makefile index 9afb348d9a..da54f1630b 100644 --- a/tutorial/practicals/generic/Makefile +++ b/tutorial/practicals/generic/Makefile @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab -# Modified: S. Siso, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Top-level Makefile to test all the hands-on tutorials for transforming # generic code. diff --git a/tutorial/practicals/generic/domain_setup.csh b/tutorial/practicals/generic/domain_setup.csh index 032a5a16c7..e7ec0d9a97 100644 --- a/tutorial/practicals/generic/domain_setup.csh +++ b/tutorial/practicals/generic/domain_setup.csh @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Set environment variables required to define the domain size and number of # time steps for the tra_adv benchmark. diff --git a/tutorial/practicals/generic/domain_setup.sh b/tutorial/practicals/generic/domain_setup.sh index 5121cc2935..a4b384888c 100644 --- a/tutorial/practicals/generic/domain_setup.sh +++ b/tutorial/practicals/generic/domain_setup.sh @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2019-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Lab +# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Set environment variables required to define the domain size and number of # time steps for the tra_adv benchmark. diff --git a/tutorial/practicals/generic/top_level.mk b/tutorial/practicals/generic/top_level.mk index 029bba90eb..32bac76522 100644 --- a/tutorial/practicals/generic/top_level.mk +++ b/tutorial/practicals/generic/top_level.mk @@ -1,38 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2020-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: A. R. Porter, STFC Daresbury Laboratory -# Modified J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Include file for 'top-level' Makefiles found in the directories immediately # below the one containing this file. diff --git a/tutorial/training/Makefile b/tutorial/training/Makefile index ece838d6c8..b561bcc700 100644 --- a/tutorial/training/Makefile +++ b/tutorial/training/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # The Makefile target `test` runs tests on the gitlab CI (i.e. without # compilation), `test_run` will compile all binaries (as far as possible diff --git a/tutorial/training/lfric/4.2-openmp/Makefile b/tutorial/training/lfric/4.2-openmp/Makefile index 84a455bbdb..b3362058b0 100644 --- a/tutorial/training/lfric/4.2-openmp/Makefile +++ b/tutorial/training/lfric/4.2-openmp/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2024-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2024-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # The compiler to use may be specified via the F90 environment # diff --git a/tutorial/training/lfric/4.2-openmp/main_alg.x90 b/tutorial/training/lfric/4.2-openmp/main_alg.x90 index 9a7e9f6c42..89f4eb321b 100644 --- a/tutorial/training/lfric/4.2-openmp/main_alg.x90 +++ b/tutorial/training/lfric/4.2-openmp/main_alg.x90 @@ -1,35 +1,9 @@ -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology - +! SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/tutorial/training/lfric/4.2-openmp/solution/Makefile b/tutorial/training/lfric/4.2-openmp/solution/Makefile index 8eaf92681c..004bb86808 100644 --- a/tutorial/training/lfric/4.2-openmp/solution/Makefile +++ b/tutorial/training/lfric/4.2-openmp/solution/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2024-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2024-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # The compiler to use may be specified via the F90 environment # diff --git a/tutorial/training/lfric/4.2-openmp/solution/main_alg.x90 b/tutorial/training/lfric/4.2-openmp/solution/main_alg.x90 index 9a7e9f6c42..89f4eb321b 100644 --- a/tutorial/training/lfric/4.2-openmp/solution/main_alg.x90 +++ b/tutorial/training/lfric/4.2-openmp/solution/main_alg.x90 @@ -1,35 +1,9 @@ -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology - +! SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/tutorial/training/lfric/4.4-colouring-openmp/Makefile b/tutorial/training/lfric/4.4-colouring-openmp/Makefile index 29d83c882a..fe21ad8683 100644 --- a/tutorial/training/lfric/4.4-colouring-openmp/Makefile +++ b/tutorial/training/lfric/4.4-colouring-openmp/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Set to omp_colour_transformation.py for the working solution #TRANS= ./omp_colour_transformation.py diff --git a/tutorial/training/lfric/4.4-colouring-openmp/main_alg.x90 b/tutorial/training/lfric/4.4-colouring-openmp/main_alg.x90 index c540c7cecc..ec148e7e88 100644 --- a/tutorial/training/lfric/4.4-colouring-openmp/main_alg.x90 +++ b/tutorial/training/lfric/4.4-colouring-openmp/main_alg.x90 @@ -1,35 +1,9 @@ -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology - +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/tutorial/training/lfric/4.4-colouring-openmp/solution/Makefile b/tutorial/training/lfric/4.4-colouring-openmp/solution/Makefile index a43cb8cea1..fcc3325d26 100644 --- a/tutorial/training/lfric/4.4-colouring-openmp/solution/Makefile +++ b/tutorial/training/lfric/4.4-colouring-openmp/solution/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Set to omp_colour_transformation.py for the working solution #SCRIPT= ./omp_colour_transformation.py diff --git a/tutorial/training/lfric/4.4-colouring-openmp/solution/main_alg.x90 b/tutorial/training/lfric/4.4-colouring-openmp/solution/main_alg.x90 index c540c7cecc..0ca79f1ec1 100644 --- a/tutorial/training/lfric/4.4-colouring-openmp/solution/main_alg.x90 +++ b/tutorial/training/lfric/4.4-colouring-openmp/solution/main_alg.x90 @@ -1,35 +1,9 @@ -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology - +! SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/tutorial/training/lfric_users/1_using_psyclone/Makefile b/tutorial/training/lfric_users/1_using_psyclone/Makefile index cd660dc264..7cc210adf4 100644 --- a/tutorial/training/lfric_users/1_using_psyclone/Makefile +++ b/tutorial/training/lfric_users/1_using_psyclone/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2025-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2025-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../common.mk diff --git a/tutorial/training/lfric_users/1_using_psyclone/main_alg.x90 b/tutorial/training/lfric_users/1_using_psyclone/main_alg.x90 index 3f90c79b99..7eeae01f12 100644 --- a/tutorial/training/lfric_users/1_using_psyclone/main_alg.x90 +++ b/tutorial/training/lfric_users/1_using_psyclone/main_alg.x90 @@ -1,35 +1,9 @@ -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology - +! SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/tutorial/training/lfric_users/2_supporting_mpi/Makefile b/tutorial/training/lfric_users/2_supporting_mpi/Makefile index 5f46879aae..14077f22f4 100644 --- a/tutorial/training/lfric_users/2_supporting_mpi/Makefile +++ b/tutorial/training/lfric_users/2_supporting_mpi/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../common.mk OBJ = main_alg_psy.o main_alg.o summation_w0_to_w3_kernel_mod.o diff --git a/tutorial/training/lfric_users/2_supporting_mpi/main_alg.x90 b/tutorial/training/lfric_users/2_supporting_mpi/main_alg.x90 index cd37199c89..db4d3be7c6 100644 --- a/tutorial/training/lfric_users/2_supporting_mpi/main_alg.x90 +++ b/tutorial/training/lfric_users/2_supporting_mpi/main_alg.x90 @@ -1,35 +1,9 @@ -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology - +! SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/tutorial/training/lfric_users/3_applying_openmp/Makefile b/tutorial/training/lfric_users/3_applying_openmp/Makefile index 9b0fa67cde..eb0b0f2898 100644 --- a/tutorial/training/lfric_users/3_applying_openmp/Makefile +++ b/tutorial/training/lfric_users/3_applying_openmp/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../common.mk diff --git a/tutorial/training/lfric_users/3_applying_openmp/main_alg.x90 b/tutorial/training/lfric_users/3_applying_openmp/main_alg.x90 index 3f90c79b99..3122ecd55b 100644 --- a/tutorial/training/lfric_users/3_applying_openmp/main_alg.x90 +++ b/tutorial/training/lfric_users/3_applying_openmp/main_alg.x90 @@ -1,34 +1,9 @@ -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology +! SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/tutorial/training/lfric_users/4_mpi_and_openmp/Makefile b/tutorial/training/lfric_users/4_mpi_and_openmp/Makefile index f3bd2e0363..098eb15d6b 100644 --- a/tutorial/training/lfric_users/4_mpi_and_openmp/Makefile +++ b/tutorial/training/lfric_users/4_mpi_and_openmp/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2020-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../common.mk diff --git a/tutorial/training/lfric_users/4_mpi_and_openmp/main_alg.x90 b/tutorial/training/lfric_users/4_mpi_and_openmp/main_alg.x90 index 3f90c79b99..7eeae01f12 100644 --- a/tutorial/training/lfric_users/4_mpi_and_openmp/main_alg.x90 +++ b/tutorial/training/lfric_users/4_mpi_and_openmp/main_alg.x90 @@ -1,35 +1,9 @@ -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology - +! SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/tutorial/training/lfric_users/5_alg_layer_error/Makefile b/tutorial/training/lfric_users/5_alg_layer_error/Makefile index 869f679525..18e7569f48 100644 --- a/tutorial/training/lfric_users/5_alg_layer_error/Makefile +++ b/tutorial/training/lfric_users/5_alg_layer_error/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # We need to add the default target for this Makefile before the # include statement (which will add 'test' as default). diff --git a/tutorial/training/lfric_users/5_alg_layer_error/main_alg.x90 b/tutorial/training/lfric_users/5_alg_layer_error/main_alg.x90 index 40eb0f0496..f02d4e7be3 100644 --- a/tutorial/training/lfric_users/5_alg_layer_error/main_alg.x90 +++ b/tutorial/training/lfric_users/5_alg_layer_error/main_alg.x90 @@ -1,35 +1,9 @@ -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology - +! SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/tutorial/training/lfric_users/6_missing_parameter/Makefile b/tutorial/training/lfric_users/6_missing_parameter/Makefile index b16c9682af..884f77d934 100644 --- a/tutorial/training/lfric_users/6_missing_parameter/Makefile +++ b/tutorial/training/lfric_users/6_missing_parameter/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # We need to add the default target for this Makefile before the # include statement (which will add 'test' as default). diff --git a/tutorial/training/lfric_users/6_missing_parameter/main_alg.x90 b/tutorial/training/lfric_users/6_missing_parameter/main_alg.x90 index 47b83ea03a..5ac00a8e00 100644 --- a/tutorial/training/lfric_users/6_missing_parameter/main_alg.x90 +++ b/tutorial/training/lfric_users/6_missing_parameter/main_alg.x90 @@ -1,35 +1,9 @@ -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology - +! SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/tutorial/training/lfric_users/7_incorrect_naming/Makefile b/tutorial/training/lfric_users/7_incorrect_naming/Makefile index e887f61625..c791930a0c 100644 --- a/tutorial/training/lfric_users/7_incorrect_naming/Makefile +++ b/tutorial/training/lfric_users/7_incorrect_naming/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- include ../common.mk diff --git a/tutorial/training/lfric_users/7_incorrect_naming/main_alg.x90 b/tutorial/training/lfric_users/7_incorrect_naming/main_alg.x90 index 3f90c79b99..7eeae01f12 100644 --- a/tutorial/training/lfric_users/7_incorrect_naming/main_alg.x90 +++ b/tutorial/training/lfric_users/7_incorrect_naming/main_alg.x90 @@ -1,35 +1,9 @@ -! BSD 3-Clause License -! -! Modifications copyright (c) 2023-2026, Science and Technology Facilities Council -! All rights reserved. -! -! Redistribution and use in source and binary forms, with or without -! modification, are permitted provided that the following conditions are met: -! -! * Redistributions of source code must retain the above copyright notice, this -! list of conditions and the following disclaimer. -! -! * 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. -! -! * 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. ! ----------------------------------------------------------------------------- -! Author: J. Henrichs, Bureau of Meteorology - +! SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +! Facilities Council +! SPDX-License-Identifier: BSD-3-Clause +! See the full LICENSE file in the project root for details. +! ----------------------------------------------------------------------------- program main diff --git a/tutorial/training/lfric_users/Makefile b/tutorial/training/lfric_users/Makefile index d3ca5c2ba0..3247c7af56 100644 --- a/tutorial/training/lfric_users/Makefile +++ b/tutorial/training/lfric_users/Makefile @@ -1,37 +1,9 @@ # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2023-2026, Science and Technology Facilities Council. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. -# ------------------------------------------------------------------------------ -# Author: J. Henrichs, Bureau of Meteorology +# SPDX-FileCopyrightText: Copyright (c) 2023-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. +# ----------------------------------------------------------------------------- # Get all directories with a Makefile, which will be in all examples, # and then remove the Makefile from the list to get the list of all diff --git a/utils/update_copyright.sh b/utils/update_copyright.sh index f127c20d7f..0c5448e011 100755 --- a/utils/update_copyright.sh +++ b/utils/update_copyright.sh @@ -1,38 +1,10 @@ #!/bin/bash # ----------------------------------------------------------------------------- -# BSD 3-Clause License -# -# Copyright (c) 2024-2026, Science and Technology Facilities Council -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * 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. -# -# * 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. +# SPDX-FileCopyrightText: Copyright (c) 2024-2026 Science and Technology +# Facilities Council +# SPDX-License-Identifier: BSD-3-Clause +# See the full LICENSE file in the project root for details. # ----------------------------------------------------------------------------- -# Author: J.Henrichs, Bureau of Meteorology function update_copyright() { # This function replaces the last year of a copyright year @@ -99,4 +71,4 @@ for i in ./doc/developer_guide/pip_requirements.txt \ ./apt.txt ./bin/psyclonefc ./bin/psyclone-kern \ ./bin/psyclone ./bin/psyad ./LICENSE; do update_copyright $i >/dev/null -done \ No newline at end of file +done