diff --git a/.editorconfig b/.editorconfig index 13e331f507..736b2ace6a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,21 +1,20 @@ #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL FRE NetCDF tools package (FRE NCtools). -# -# FRE NCtools is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FRE NCtools is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . -#**********************************************************************/ +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. +#*********************************************************************** # This is the preferred settings for files in the FRE NetCDF package # Please visit https://editorconfig.org for information on how to diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index cbfbe32740..3a221cb5cc 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Each line is a file pattern followed by one or more owners. The owner diff --git a/.github/workflows/github_autotools_gnu.yml b/.github/workflows/github_autotools_gnu.yml index e2974877d7..a086ccfc20 100644 --- a/.github/workflows/github_autotools_gnu.yml +++ b/.github/workflows/github_autotools_gnu.yml @@ -24,7 +24,6 @@ jobs: env: TEST_VERBOSE: 1 DISTCHECK_CONFIGURE_FLAGS: "${{ matrix.conf-flag }} ${{ matrix.input-flag }} ${{ matrix.io-flag }}" - SKIP_TESTS: "test_horiz_interp2.[23-24]" # TODO (couldn't reproduce outside CI) DEBUG_FLAGS: "-O0 -g -fbounds-check -ffpe-trap=invalid,zero,overflow" # debug compiler flags taken from the mkmf template steps: - name: Checkout code diff --git a/.github/workflows/github_autotools_intel.yml b/.github/workflows/github_autotools_intel_classic.yml similarity index 96% rename from .github/workflows/github_autotools_intel.yml rename to .github/workflows/github_autotools_intel_classic.yml index 72c0655626..4b3d892b26 100644 --- a/.github/workflows/github_autotools_intel.yml +++ b/.github/workflows/github_autotools_intel_classic.yml @@ -1,4 +1,7 @@ -on: pull_request +on: + schedule: + - cron: '0 0 * * 0' # sundays @ midnight + # cancel running jobs if theres a newer push concurrency: @@ -26,7 +29,7 @@ jobs: uses: actions/cache@v4.2.0 with: path: /libs - key: ${{ runner.os }}-intel-libs + key: intel-libs - name: Install packages for building run: apt-get update && apt-get install -y autoconf libtool automake zlibc zlib1g-dev - if: steps.cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/github_autotools_intel_oneapi.yml b/.github/workflows/github_autotools_intel_oneapi.yml new file mode 100644 index 0000000000..14f7934509 --- /dev/null +++ b/.github/workflows/github_autotools_intel_oneapi.yml @@ -0,0 +1,68 @@ +on: pull_request + +# cancel running jobs if theres a newer push +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + intel-oneapi-2025.3: + runs-on: ubuntu-latest + container: + image: intel/oneapi-hpckit:2025.3.0-0-devel-ubuntu22.04 + env: + CC: "mpiicx" + FC: "mpiifx" + CFLAGS: "-I/libs/include" + FCFLAGS: "-I/libs/include -g -traceback" + LDFLAGS: "-L/libs/lib" + TEST_VERBOSE: 1 + I_MPI_FABRICS: "shm" # needed for mpi in image + # intel bug causes some failures with shm option(required in container) + SKIP_TESTS: "test_mpp_update_domains.1 test_update_domains_performance.1 test_diag_manager2.23" + steps: + - name: Cache dependencies + id: cache + uses: actions/cache@v4.2.0 + with: + path: /libs + key: intel-libs + - name: Install packages for building + run: apt-get update && apt-get install -y autoconf libtool automake zlib1g zlib1g-dev libcurl4-openssl-dev + - if: steps.cache.outputs.cache-hit != 'true' + name: Build netcdf + run: | + # install everything to /libs + export LD_LIBRARY_PATH="/libs/lib:$LD_LIBRARY_PATH" + mkdir /libs + # hdf5 + wget https://support.hdfgroup.org/releases/hdf5/v1_14/v1_14_6/downloads/hdf5-1.14.6.tar.gz + tar xf hdf5-1.14.6.tar.gz && cd hdf5-1.14.6 + ./configure --prefix=/libs + make -j install && cd .. + # netcdf-c + wget https://github.com/Unidata/netcdf-c/archive/refs/tags/v4.9.3.tar.gz + tar xf v4.9.3.tar.gz && cd netcdf-c-4.9.3 + ./configure --prefix=/libs --disable-libxml2 --enable-netcdf-4 --enable-shared + make -j install && cd .. + # netcdf-fortran + wget https://github.com/Unidata/netcdf-fortran/archive/refs/tags/v4.6.2.tar.gz + tar xf v4.6.2.tar.gz && cd netcdf-fortran-4.6.2 + ./configure --prefix=/libs + make -j install && cd .. + # libyaml + wget https://github.com/yaml/libyaml/releases/download/0.2.5/yaml-0.2.5.tar.gz + tar xf yaml-0.2.5.tar.gz && cd yaml-0.2.5 + ./configure --prefix=/libs + make -j install && cd .. + - name: checkout + uses: actions/checkout@v4.2.2 + - name: Configure + run: | + autoreconf -if ./configure.ac + export LD_LIBRARY_PATH="/libs/lib:$LD_LIBRARY_PATH" + ./configure --with-yaml + - name: Compile + run: make -j || make + - name: Run test suite + run: make check LD_LIBRARY_PATH="/libs/lib:$LD_LIBRARY_PATH" TEST_VERBOSE=1 diff --git a/.gitignore b/.gitignore index c011342970..e33d4100e6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # https://github.com/github/gitignore/blob/main/Fortran.gitignore # github uses C++ template, this only includes what fms generates diff --git a/CMakeLists.txt b/CMakeLists.txt index a4d2eb9068..e8bdecf11d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Copyright (c) GFDL, @underwoo diff --git a/CODE_STYLE.md b/CODE_STYLE.md index 254b1db41c..4c172365ae 100644 --- a/CODE_STYLE.md +++ b/CODE_STYLE.md @@ -7,7 +7,7 @@ * No characters. * Supply a header for each file with a description of the file and the author(s) name or GitHub ID. -* A copy of the [Gnu Lesser General Public License](https://www.gnu.org/licenses/lgpl-3.0.en.html) +* A copy of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) must be included at the top of each file. * Documentation should be written so that it can be parsed by [Doxygen](http://www.doxygen.nl/). * Files, modules, and public routines should be prefixed with `fms_subfolder_` where `subfolder` is @@ -97,22 +97,21 @@ ```Fortran ./fms_subfolder_example.F90 file !*********************************************************************** -!* GNU Lesser General Public License +!* Apache License 2.0 !* !* This file is part of the GFDL Flexible Modeling System (FMS). !* -!* FMS is free software: you can redistribute it and/or modify it under -!* the terms of the GNU Lesser General Public License as published by -!* the Free Software Foundation, either version 3 of the License, or (at -!* your option) any later version. +!* Licensed under the Apache License, Version 2.0 (the "License"); +!* you may not use this file except in compliance with the License. +!* You may obtain a copy of the License at !* -!* FMS is distributed in the hope that it will be useful, but WITHOUT -!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -!* for more details. +!* http://www.apache.org/licenses/LICENSE-2.0 !* -!* You should have received a copy of the GNU Lesser General Public -!* License along with FMS. If not, see . +!* FMS is distributed in the hope that it will be useful, but WITHOUT +!* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +!* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +!* PARTICULAR PURPOSE. See the License for the specific language +!* governing permissions and limitations under the License. !*********************************************************************** !> @file @@ -177,22 +176,21 @@ end module example_mod ``` ```Fortran ./include/example_r4.fh file !*********************************************************************** -!* GNU Lesser General Public License +!* Apache License 2.0 !* !* This file is part of the GFDL Flexible Modeling System (FMS). !* -!* FMS is free software: you can redistribute it and/or modify it under -!* the terms of the GNU Lesser General Public License as published by -!* the Free Software Foundation, either version 3 of the License, or (at -!* your option) any later version. +!* Licensed under the Apache License, Version 2.0 (the "License"); +!* you may not use this file except in compliance with the License. +!* You may obtain a copy of the License at !* -!* FMS is distributed in the hope that it will be useful, but WITHOUT -!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -!* for more details. +!* http://www.apache.org/licenses/LICENSE-2.0 !* -!* You should have received a copy of the GNU Lesser General Public -!* License along with FMS. If not, see . +!* FMS is distributed in the hope that it will be useful, but WITHOUT +!* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +!* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +!* PARTICULAR PURPOSE. See the License for the specific language +!* governing permissions and limitations under the License. !*********************************************************************** !> @file @@ -210,22 +208,21 @@ end module example_mod ``` ```Fortran ./include/example_r8.fh file !*********************************************************************** -!* GNU Lesser General Public License +!* Apache License 2.0 !* !* This file is part of the GFDL Flexible Modeling System (FMS). !* -!* FMS is free software: you can redistribute it and/or modify it under -!* the terms of the GNU Lesser General Public License as published by -!* the Free Software Foundation, either version 3 of the License, or (at -!* your option) any later version. +!* Licensed under the Apache License, Version 2.0 (the "License"); +!* you may not use this file except in compliance with the License. +!* You may obtain a copy of the License at !* -!* FMS is distributed in the hope that it will be useful, but WITHOUT -!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -!* for more details. +!* http://www.apache.org/licenses/LICENSE-2.0 !* -!* You should have received a copy of the GNU Lesser General Public -!* License along with FMS. If not, see . +!* FMS is distributed in the hope that it will be useful, but WITHOUT +!* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +!* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +!* PARTICULAR PURPOSE. See the License for the specific language +!* governing permissions and limitations under the License. !*********************************************************************** !> @file @@ -243,22 +240,21 @@ end module example_mod ``` ``` Fortran ./include/example.inc file !*********************************************************************** -!* GNU Lesser General Public License +!* Apache License 2.0 !* !* This file is part of the GFDL Flexible Modeling System (FMS). !* -!* FMS is free software: you can redistribute it and/or modify it under -!* the terms of the GNU Lesser General Public License as published by -!* the Free Software Foundation, either version 3 of the License, or (at -!* your option) any later version. +!* Licensed under the Apache License, Version 2.0 (the "License"); +!* you may not use this file except in compliance with the License. +!* You may obtain a copy of the License at !* -!* FMS is distributed in the hope that it will be useful, but WITHOUT -!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -!* for more details. +!* http://www.apache.org/licenses/LICENSE-2.0 !* -!* You should have received a copy of the GNU Lesser General Public -!* License along with FMS. If not, see . +!* FMS is distributed in the hope that it will be useful, but WITHOUT +!* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +!* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +!* PARTICULAR PURPOSE. See the License for the specific language +!* governing permissions and limitations under the License. !*********************************************************************** !> @file !! @brief Example .inc file containing subroutine definitions/declarations diff --git a/FMS.pc.in b/FMS.pc.in index c9f2a96e5c..72bc9d9f44 100644 --- a/FMS.pc.in +++ b/FMS.pc.in @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** prefix=@prefix@ diff --git a/Makefile.am b/Makefile.am index d46b3b6559..849ee38913 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is the main automake file for FMS. diff --git a/affinity/Makefile.am b/affinity/Makefile.am index 559bcf41ab..73426598c6 100644 --- a/affinity/Makefile.am +++ b/affinity/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the memutils directory of the FMS diff --git a/amip_interp/Makefile.am b/amip_interp/Makefile.am index 27f50fcbf8..e42a542aa2 100644 --- a/amip_interp/Makefile.am +++ b/amip_interp/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the amip_interp directory of the FMS diff --git a/astronomy/Makefile.am b/astronomy/Makefile.am index 50a1449412..9fe5a98033 100644 --- a/astronomy/Makefile.am +++ b/astronomy/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the astronomy directory of the FMS diff --git a/axis_utils/Makefile.am b/axis_utils/Makefile.am index 2007e28cf5..a2b99675b7 100644 --- a/axis_utils/Makefile.am +++ b/axis_utils/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the axis_utils directory of the FMS diff --git a/block_control/Makefile.am b/block_control/Makefile.am index 7006da13f5..3ad036ca1a 100644 --- a/block_control/Makefile.am +++ b/block_control/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the block_control directory of the FMS diff --git a/column_diagnostics/Makefile.am b/column_diagnostics/Makefile.am index c205abbb4d..7ef0c448f3 100644 --- a/column_diagnostics/Makefile.am +++ b/column_diagnostics/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the column_diagnostics directory of the FMS diff --git a/configure.ac b/configure.ac index 304aa2e257..791f1ca19e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is the main configure file for the FMS package. diff --git a/constants/Makefile.am b/constants/Makefile.am index 429dd6c329..cfb49105d9 100644 --- a/constants/Makefile.am +++ b/constants/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the constants directory of the FMS diff --git a/constants4/Makefile.am b/constants4/Makefile.am index 9bba1fddf1..0a536255dc 100644 --- a/constants4/Makefile.am +++ b/constants4/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the constants4 directory of the FMS diff --git a/coupler/Makefile.am b/coupler/Makefile.am index fc88610a56..f051db72e8 100644 --- a/coupler/Makefile.am +++ b/coupler/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the coupler directory of the FMS diff --git a/data_override/Makefile.am b/data_override/Makefile.am index 718b127ec4..d9f3852926 100644 --- a/data_override/Makefile.am +++ b/data_override/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the data_override directory of the FMS diff --git a/data_override/include/data_override.inc b/data_override/include/data_override.inc index 3167a96880..b97c6d6332 100644 --- a/data_override/include/data_override.inc +++ b/data_override/include/data_override.inc @@ -240,6 +240,10 @@ end if else if (file_exists("data_table.yaml"))& call mpp_error(FATAL, "You cannot have the yaml data_table if use_data_table_yaml=.false.") + call mpp_error(NOTE, & + &"data_override_init:: You are using the yaml version of the data_table. & +The legacy data_table format will be deprecated in a future release, & +please switch to the yaml format.") allocate(data_table(max_table)) do i = 1, max_table data_table(i) = default_table @@ -252,6 +256,10 @@ end if if (use_data_table_yaml) then call mpp_error(FATAL, "You cannot have use_data_table_yaml=.true. without compiling with -Duse_yaml") + call mpp_error(NOTE, & + &"data_override_init:: You are using the yaml version of the data_table. & +The legacy data_table format will be deprecated in a future release, & +please switch to the yaml format.") else allocate(data_table(max_table)) diff --git a/diag_integral/Makefile.am b/diag_integral/Makefile.am index 6e5f904ee4..9337512991 100644 --- a/diag_integral/Makefile.am +++ b/diag_integral/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the diag_integral directory of the FMS diff --git a/diag_manager/Makefile.am b/diag_manager/Makefile.am index 433901b48f..817a6ef01a 100644 --- a/diag_manager/Makefile.am +++ b/diag_manager/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the diag_manager directory of the FMS diff --git a/diag_manager/diag_data.F90 b/diag_manager/diag_data.F90 index 204d9b0c40..19a616da57 100644 --- a/diag_manager/diag_data.F90 +++ b/diag_manager/diag_data.F90 @@ -206,7 +206,7 @@ MODULE diag_data_mod INTEGER :: num_attributes !< Number of defined attibutes !---------- !ug support - logical(I4_KIND) :: use_domainUG = .false. + logical(L4_KIND) :: use_domainUG = .false. logical(I4_KIND) :: use_domain2D = .false. !---------- !Check if time axis was already registered diff --git a/diag_manager/fms_diag_field_object.F90 b/diag_manager/fms_diag_field_object.F90 index 24a94b26ce..69b5fc6268 100644 --- a/diag_manager/fms_diag_field_object.F90 +++ b/diag_manager/fms_diag_field_object.F90 @@ -393,7 +393,7 @@ subroutine fms_register_diag_field_obj & allocate(integer(kind=i8_kind) :: this%data_RANGE(2)) this%data_RANGE = varRANGE type is (real(kind=r4_kind)) - allocate(integer(kind=r4_kind) :: this%data_RANGE(2)) + allocate(integer(kind=i4_kind) :: this%data_RANGE(2)) this%data_RANGE = varRANGE type is (real(kind=r8_kind)) allocate(integer(kind=r8_kind) :: this%data_RANGE(2)) diff --git a/diag_manager/fms_diag_file_object.F90 b/diag_manager/fms_diag_file_object.F90 index 627aabb829..3f55ac0e42 100644 --- a/diag_manager/fms_diag_file_object.F90 +++ b/diag_manager/fms_diag_file_object.F90 @@ -1277,7 +1277,8 @@ subroutine open_diag_file(this, time_step, file_is_opened) select type (domain) type is (diagDomain2d_t) if (.not. open_file(fms2io_fileobj, file_name, "overwrite", domain%Domain2, & - use_netcdf_mpi = diag_file%is_using_collective_writes())) & + use_netcdf_mpi = diag_file%is_using_collective_writes(), & + use_collective = diag_file%is_using_collective_writes())) & &call mpp_error(FATAL, "Error opening the file:"//file_name) end select type is (FmsNetcdfUnstructuredDomainFile_t) diff --git a/docs/Doxyfile.in b/docs/Doxyfile.in index df7e8596db..011a1a67e9 100644 --- a/docs/Doxyfile.in +++ b/docs/Doxyfile.in @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Doxyfile 1.8.12 diff --git a/docs/Makefile.am b/docs/Makefile.am index 65bcf63f0c..2b008420f0 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of FMS. It creates the Makefile for the docs diff --git a/docs/grouping.h b/docs/grouping.h index 2cefac675c..e8e827778b 100644 --- a/docs/grouping.h +++ b/docs/grouping.h @@ -1,20 +1,19 @@ !*********************************************************************** -!* GNU Lesser General Public License +!* Apache License 2.0 !* !* This file is part of the GFDL Flexible Modeling System (FMS). !* -!* FMS is free software: you can redistribute it and/or modify it under -!* the terms of the GNU Lesser General Public License as published by -!* the Free Software Foundation, either version 3 of the License, or (at -!* your option) any later version. +!* Licensed under the Apache License, Version 2.0 (the "License"); +!* you may not use this file except in compliance with the License. +!* You may obtain a copy of the License at !* -!* FMS is distributed in the hope that it will be useful, but WITHOUT -!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -!* for more details. +!* http://www.apache.org/licenses/LICENSE-2.0 !* -!* You should have received a copy of the GNU Lesser General Public -!* License along with FMS. If not, see . +!* FMS is distributed in the hope that it will be useful, but WITHOUT +!* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +!* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +!* PARTICULAR PURPOSE. See the License for the specific language +!* governing permissions and limitations under the License. !*********************************************************************** !! This header file is used exclusively for doxygen documentation !! Defines groups for each subdirectory to add their modules into diff --git a/drifters/Makefile.am b/drifters/Makefile.am index f365f8e1f2..bbd3efa156 100644 --- a/drifters/Makefile.am +++ b/drifters/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the drifters directory of the FMS diff --git a/drifters/drifters_combine b/drifters/drifters_combine index 3bb4b00693..8f98891cb1 100755 --- a/drifters/drifters_combine +++ b/drifters/drifters_combine @@ -1,22 +1,20 @@ #!/usr/bin/env python #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with the FV3 dynamical core. -#* If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** VERSION = "_FILE_VERSION" diff --git a/drifters/fms_switches.h b/drifters/fms_switches.h index e659e214f8..fe995211c6 100644 --- a/drifters/fms_switches.h +++ b/drifters/fms_switches.h @@ -1,20 +1,19 @@ !*********************************************************************** -!* GNU Lesser General Public License +!* Apache License 2.0 !* !* This file is part of the GFDL Flexible Modeling System (FMS). !* -!* FMS is free software: you can redistribute it and/or modify it under -!* the terms of the GNU Lesser General Public License as published by -!* the Free Software Foundation, either version 3 of the License, or (at -!* your option) any later version. +!* Licensed under the Apache License, Version 2.0 (the "License"); +!* you may not use this file except in compliance with the License. +!* You may obtain a copy of the License at !* -!* FMS is distributed in the hope that it will be useful, but WITHOUT -!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -!* for more details. +!* http://www.apache.org/licenses/LICENSE-2.0 !* -!* You should have received a copy of the GNU Lesser General Public -!* License along with FMS. If not, see . +!* FMS is distributed in the hope that it will be useful, but WITHOUT +!* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +!* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +!* PARTICULAR PURPOSE. See the License for the specific language +!* governing permissions and limitations under the License. !*********************************************************************** #if !defined(use_libMPI) #define _SERIAL diff --git a/exchange/Makefile.am b/exchange/Makefile.am index e62ad1eb79..343b186b62 100644 --- a/exchange/Makefile.am +++ b/exchange/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the exchange directory of the FMS diff --git a/field_manager/Makefile.am b/field_manager/Makefile.am index 152f4b8224..d24486e557 100644 --- a/field_manager/Makefile.am +++ b/field_manager/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the field_manager directory of the FMS diff --git a/field_manager/field_manager.F90 b/field_manager/field_manager.F90 index d6a9f9a919..09e57b5a28 100644 --- a/field_manager/field_manager.F90 +++ b/field_manager/field_manager.F90 @@ -557,12 +557,20 @@ subroutine field_manager_init(nfields, table_name) call mpp_error(FATAL, "You cannot have the legacy field_table if use_field_table_yaml=.true.") call mpp_error(NOTE, "field_manager_init:: You are using the yaml version of the field_table") + call mpp_error(NOTE, & + &"field_manager_init:: You are using the yaml version of the field_table. & +The legacy field_table format will be deprecated in a future release, & +please switch to the yaml format.") call read_field_table_yaml(nfields, table_name) #endif else if (file_exists("field_table.yaml")) & call mpp_error(FATAL, "You cannot have the yaml field_table if use_field_table_yaml=.false.") call mpp_error(NOTE, "field_manager_init:: You are using the legacy version of the field_table") + call mpp_error(NOTE, & + &"field_manager_init:: You are using the yaml version of the field_table. & +The legacy field_table format will be deprecated in a future release, & +please switch to the yaml format.") call read_field_table_legacy(nfields, table_name) endif diff --git a/fms/Makefile.am b/fms/Makefile.am index 7a8190f8be..575f6edbf8 100644 --- a/fms/Makefile.am +++ b/fms/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the fms directory of the FMS diff --git a/fms2_io/Makefile.am b/fms2_io/Makefile.am index 3938fa4e71..685c364668 100644 --- a/fms2_io/Makefile.am +++ b/fms2_io/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the fms2_io directory of the FMS package. diff --git a/fms2_io/fms_netcdf_domain_io.F90 b/fms2_io/fms_netcdf_domain_io.F90 index 29ad7fea62..3e49752810 100644 --- a/fms2_io/fms_netcdf_domain_io.F90 +++ b/fms2_io/fms_netcdf_domain_io.F90 @@ -318,127 +318,10 @@ function is_dimension_registered(fileobj, dimension_name) & end function is_dimension_registered -!> @brief Open a NetCDF-4 file in parallel write mode -!! @return True on success -function open_collective_netcdf_file(fileobj, path, mode, domain, is_restart, dont_add_res_to_filename) & - result(success) - - type(FmsNetcdfDomainFile_t),intent(inout) :: fileobj !< File object. - character(len=*), intent(in) :: path !< File path. - character(len=*), intent(in) :: mode !< File mode. Allowed values - !! are "read", "append", "write", or - !! "overwrite". - type(domain2d), intent(in) :: domain !< Two-dimensional domain. - logical, intent(in), optional :: is_restart !< Flag telling if this file - !! is a restart file. Defaults - !! to false. - logical, intent(in), optional :: dont_add_res_to_filename !< Flag indicating not to add - !! ".res" to the filename - - integer :: nc_format_param - integer :: tile_id(1) - integer :: err - character(len=FMS_PATH_LEN) :: combined_filepath - character(len=FMS_PATH_LEN) :: full_path - logical :: is_res - logical :: dont_add_res - integer :: success - integer :: domain_size - - success = .true. - call string_copy(fileobj%non_mangled_path, path) - - !TODO Lots of duplicate code between this and netcdf_file_open - - !! Determine the name of your file !! - - !! If the number of tiles is greater than 1 or if the current tile is greater - !than 1 add .tileX. to the filename - tile_id = mpp_get_tile_id(domain) - if (mpp_get_ntile_count(domain) .gt. 1 .or. tile_id(1) > 1) then - call domain_tile_filepath_mangle(combined_filepath, path, tile_id(1)) - else - call string_copy(combined_filepath, path) - endif - - !< Only add ".res" to the file path if is_restart is set to true - !! and dont_add_res_to_filename is set to false. - is_res = .false. - if (present(is_restart)) then - is_res = is_restart - endif - fileobj%is_restart = is_res - - dont_add_res = .false. - if (present(dont_add_res_to_filename)) then - dont_add_res = dont_add_res_to_filename - endif - - if (is_res .and. .not. dont_add_res) then - call restart_filepath_mangle(full_path, trim(combined_filepath)) - else - call string_copy(full_path, trim(combined_filepath)) - endif - - call string_copy(fileobj%path, trim(full_path)) - - nc_format_param = ior(nf90_netcdf4, NF90_MPIIO) - fileobj%is_netcdf4 = .true. - - fileobj%domain = domain - call mpp_get_global_domain(fileobj%domain, xsize=domain_size) - - if (string_compare(mode, "read", .true.) .or. string_compare(mode, "append", .true.)) & - call error("The use_netcdf_mpi = .true. option for reads is currently not supported") - - if (string_compare(mode, "write", .true.)) then - err = nf90_create(trim(fileobj%path), ior(nf90_noclobber, nc_format_param), fileobj%ncid, & - comm = mpp_get_domain_tile_commid(fileobj%domain), info = MPP_INFO_NULL) - elseif (string_compare(mode,"overwrite",.true.)) then - err = nf90_create(trim(fileobj%path), ior(nf90_clobber, nc_format_param), fileobj%ncid, & - comm = mpp_get_domain_tile_commid(fileobj%domain), info = MPP_INFO_NULL) - endif - call check_netcdf_code(err, "open_collective_netcdf_file:"//trim(fileobj%path)) - - allocate(fileobj%xdims(max_num_domain_decomposed_dims)) - fileobj%nx = 0 - allocate(fileobj%ydims(max_num_domain_decomposed_dims)) - fileobj%ny = 0 - - ! Every rank is the root PE of its own pelist. This forces all ranks to hit any NetCDF calls, - ! which are usually inside `if (fileobj%is_root)` blocks. - allocate(fileobj%pelist(1)) - fileobj%pelist(1) = mpp_pe() - fileobj%io_root = mpp_pe() - fileobj%is_root = .true. - - fileobj%use_collective = .false. !TODO - fileobj%is_diskless = .false. - - if (fileobj%is_restart) then - allocate(fileobj%restart_vars(max_num_restart_vars)) - fileobj%num_restart_vars = 0 - endif - - fileobj%is_readonly = string_compare(mode, "read", .true.) - fileobj%mode_is_append = string_compare(mode, "append", .true.) - allocate(fileobj%compressed_dims(max_num_compressed_dims)) - fileobj%num_compressed_dims = 0 - ! Set the is_open flag to true for this file object. - if (.not.allocated(fileobj%is_open)) allocate(fileobj%is_open) - fileobj%is_open = .true. - - fileobj%bc_dimensions%xlen = 0 - fileobj%bc_dimensions%ylen = 0 - fileobj%bc_dimensions%zlen = 0 - fileobj%bc_dimensions%cur_dim_len = 0 - -end function open_collective_netcdf_file - !> @brief Open a domain netcdf file. !! @return Flag telling if the open completed successfully. function open_domain_file(fileobj, path, mode, domain, nc_format, is_restart, dont_add_res_to_filename, & - use_netcdf_mpi) result(success) + use_netcdf_mpi, use_collective) result(success) type(FmsNetcdfDomainFile_t),intent(inout) :: fileobj !< File object. character(len=*), intent(in) :: path !< File path. @@ -455,11 +338,12 @@ function open_domain_file(fileobj, path, mode, domain, nc_format, is_restart, do logical, intent(in), optional :: is_restart !< Flag telling if this file !! is a restart file. Defaults !! to false. - logical, intent(in), optional :: dont_add_res_to_filename !< Flag indicating not to add - !! ".res" to the filename - logical, intent(in), optional :: use_netcdf_mpi !< Flag telling if this file should be using netcdf4 collective + logical, intent(in), optional :: dont_add_res_to_filename !< Flag indicating not to add ".res" to the filename + logical, intent(in), optional :: use_netcdf_mpi !< Flag telling if this file should be using netcdf4 parallel !! reads and writes. Defaults to false. !! nc_format is automatically set to netcdf4 + logical, intent(in), optional :: use_collective !< Flag indicating whether reads and writes should be performed + !! collectively rather than independently. logical :: success integer, dimension(2) :: io_layout @@ -474,21 +358,38 @@ function open_domain_file(fileobj, path, mode, domain, nc_format, is_restart, do io_domain => mpp_get_io_domain(domain) - fileobj%use_netcdf_mpi = .false. - if (present(use_netcdf_mpi)) fileobj%use_netcdf_mpi = use_netcdf_mpi + if (present(use_netcdf_mpi)) then + if (use_netcdf_mpi) then + if (associated(io_domain)) then + call mpp_error(NOTE, "NetCDF MPI is enabled: ignoring I/O domain. Only one output file will be produced.") + endif - if (fileobj%use_netcdf_mpi) then -#ifdef NO_NC_PARALLEL4 - call mpp_error(FATAL, "NetCDF was not built with HDF5 parallel I/O features, so parallel writes are not supported. & - &Please turn parallel writes off for the file: " // trim(path)) -#endif + fileobj%domain = domain - if (associated(io_domain)) then - call mpp_error(NOTE, "NetCDF MPI is enabled: ignoring I/O domain. Only one output file will be produced.") - endif + allocate(fileobj%xdims(max_num_domain_decomposed_dims)) + fileobj%nx = 0 + allocate(fileobj%ydims(max_num_domain_decomposed_dims)) + fileobj%ny = 0 - success = open_collective_netcdf_file(fileobj, path, mode, domain, is_restart, dont_add_res_to_filename) - return + call string_copy(fileobj%non_mangled_path, path) + + !! If the number of tiles is greater than 1 or if the current tile is greater + !than 1 add .tileX. to the filename + tile_id = mpp_get_tile_id(domain) + if (mpp_get_ntile_count(domain) .gt. 1 .or. tile_id(1) > 1) then + call domain_tile_filepath_mangle(combined_filepath, path, tile_id(1)) + else + call string_copy(combined_filepath, path) + endif + + success = netcdf_file_open(fileobj, combined_filepath, mode, & + nc_format="netcdf4", & + is_restart=is_restart, & + dont_add_res_to_filename=dont_add_res_to_filename, & + tile_comm=mpp_get_domain_tile_commid(domain), & + use_collective=use_collective) + return + endif endif !Get the path of a "combined" file. diff --git a/fms2_io/include/domain_read.inc b/fms2_io/include/domain_read.inc index d5569bcdfb..fa404270f4 100644 --- a/fms2_io/include/domain_read.inc +++ b/fms2_io/include/domain_read.inc @@ -140,6 +140,30 @@ subroutine domain_read_2d(fileobj, variable_name, vdata, unlim_dim_level, & return endif + call domain_offsets(size(vdata, xdim_index), size(vdata, ydim_index), fileobj%domain, & + xpos, ypos, isd, isc, xc_size, jsd, jsc, yc_size, buffer_includes_halos, & + msg="file:"//trim(fileobj%path)//" and variable:"//trim(variable_name)) + + if (fileobj%use_netcdf_mpi) then + c = 1 + e = shape(vdata) + + if (buffer_includes_halos) then + c(xdim_index) = isd + c(ydim_index) = jsd + e(xdim_index) = xc_size + 2*(isc - isd) + e(ydim_index) = yc_size + 2*(jsc - jsd) + else + c(xdim_index) = isc + c(ydim_index) = jsc + e(xdim_index) = xc_size + e(ydim_index) = yc_size + endif + + call netcdf_read_data(fileobj, variable_name, vdata, unlim_dim_level=unlim_dim_level, corner=c, edge_lengths=e) + return + endif + if (xdim_index .ne. 1 .or. ydim_index .ne. 2) then ! This is a KLUDGE ! mpp_scatter assumes that the variable is (x,y), if that is not the case it remaps the data @@ -149,9 +173,6 @@ subroutine domain_read_2d(fileobj, variable_name, vdata, unlim_dim_level, & return endif io_domain => mpp_get_io_domain(fileobj%domain) - call domain_offsets(size(vdata, xdim_index), size(vdata, ydim_index), fileobj%domain, & - xpos, ypos, isd, isc, xc_size, jsd, jsc, yc_size, buffer_includes_halos, & - msg="file:"//trim(fileobj%path)//" and variable:"//trim(variable_name)) c(:) = 1 e(:) = shape(vdata) @@ -320,6 +341,30 @@ subroutine domain_read_3d(fileobj, variable_name, vdata, unlim_dim_level, & return endif + call domain_offsets(size(vdata, xdim_index), size(vdata, ydim_index), fileobj%domain, & + xpos, ypos, isd, isc, xc_size, jsd, jsc, yc_size, buffer_includes_halos, & + msg="file:"//trim(fileobj%path)//" and variable:"//trim(variable_name)) + + if (fileobj%use_netcdf_mpi) then + c = 1 + e = shape(vdata) + + if (buffer_includes_halos) then + c(xdim_index) = isd + c(ydim_index) = jsd + e(xdim_index) = xc_size + 2*(isc - isd) + e(ydim_index) = yc_size + 2*(jsc - jsd) + else + c(xdim_index) = isc + c(ydim_index) = jsc + e(xdim_index) = xc_size + e(ydim_index) = yc_size + endif + + call netcdf_read_data(fileobj, variable_name, vdata, unlim_dim_level=unlim_dim_level, corner=c, edge_lengths=e) + return + endif + if (xdim_index .ne. 1 .or. ydim_index .ne. 2) then ! This is a KLUDGE ! mpp_scatter assumes that the variable is (x,y), if that is not the case it remaps the data @@ -329,9 +374,6 @@ subroutine domain_read_3d(fileobj, variable_name, vdata, unlim_dim_level, & return endif io_domain => mpp_get_io_domain(fileobj%domain) - call domain_offsets(size(vdata, xdim_index), size(vdata, ydim_index), fileobj%domain, & - xpos, ypos, isd, isc, xc_size, jsd, jsc, yc_size, buffer_includes_halos, & - msg="file:"//trim(fileobj%path)//" and variable:"//trim(variable_name)) c(:) = 1 if (present(corner)) c = corner @@ -499,10 +541,32 @@ subroutine domain_read_4d(fileobj, variable_name, vdata, unlim_dim_level, & edge_lengths=edge_lengths, broadcast=.true.) return endif - io_domain => mpp_get_io_domain(fileobj%domain) + call domain_offsets(size(vdata, xdim_index), size(vdata, ydim_index), fileobj%domain, & xpos, ypos, isd, isc, xc_size, jsd, jsc, yc_size, buffer_includes_halos, & msg="file:"//trim(fileobj%path)//" and variable:"//trim(variable_name)) + + if (fileobj%use_netcdf_mpi) then + c = 1 + e = shape(vdata) + + if (buffer_includes_halos) then + c(xdim_index) = isd + c(ydim_index) = jsd + e(xdim_index) = xc_size + 2*(isc - isd) + e(ydim_index) = yc_size + 2*(jsc - jsd) + else + c(xdim_index) = isc + c(ydim_index) = jsc + e(xdim_index) = xc_size + e(ydim_index) = yc_size + endif + + call netcdf_read_data(fileobj, variable_name, vdata, unlim_dim_level=unlim_dim_level, corner=c, edge_lengths=e) + return + endif + + io_domain => mpp_get_io_domain(fileobj%domain) c(:) = 1 e(:) = shape(vdata) if (present(edge_lengths)) e = edge_lengths @@ -715,10 +779,32 @@ subroutine domain_read_5d(fileobj, variable_name, vdata, unlim_dim_level, & edge_lengths=edge_lengths, broadcast=.true.) return endif - io_domain => mpp_get_io_domain(fileobj%domain) + call domain_offsets(size(vdata, xdim_index), size(vdata, ydim_index), fileobj%domain, & xpos, ypos, isd, isc, xc_size, jsd, jsc, yc_size, buffer_includes_halos, & msg="file:"//trim(fileobj%path)//" and variable:"//trim(variable_name)) + + if (fileobj%use_netcdf_mpi) then + c = 1 + e = shape(vdata) + + if (buffer_includes_halos) then + c(xdim_index) = isd + c(ydim_index) = jsd + e(xdim_index) = xc_size + 2*(isc - isd) + e(ydim_index) = yc_size + 2*(jsc - jsd) + else + c(xdim_index) = isc + c(ydim_index) = jsc + e(xdim_index) = xc_size + e(ydim_index) = yc_size + endif + + call netcdf_read_data(fileobj, variable_name, vdata, unlim_dim_level=unlim_dim_level, corner=c, edge_lengths=e) + return + endif + + io_domain => mpp_get_io_domain(fileobj%domain) c(:) = 1 e(:) = shape(vdata) if (present(edge_lengths)) e = edge_lengths diff --git a/fms2_io/include/netcdf_read_data.inc b/fms2_io/include/netcdf_read_data.inc index bff7e8ee71..8b2ff2d41e 100644 --- a/fms2_io/include/netcdf_read_data.inc +++ b/fms2_io/include/netcdf_read_data.inc @@ -150,6 +150,8 @@ subroutine netcdf_read_data_0d(fileobj, variable_name, buf, unlim_dim_level, & else bcast = .true. endif + if (fileobj%use_netcdf_mpi) bcast = .false. + c(1) = 1 if (present(unlim_dim_level)) then unlim_dim_index = get_variable_unlimited_dimension_index(fileobj, variable_name, & @@ -159,8 +161,15 @@ subroutine netcdf_read_data_0d(fileobj, variable_name, buf, unlim_dim_level, & endif c(unlim_dim_index) = unlim_dim_level endif + if (fileobj%is_root) then varid = get_variable_id(fileobj%ncid, trim(variable_name), msg=append_error_msg) + + if (fileobj%use_netcdf_mpi.and.fileobj%use_collective) then + err = nf90_var_par_access(fileobj%ncid, varid, nf90_collective) + call check_netcdf_code(err, append_error_msg) + endif + select type(buf) type is (integer(kind=i4_kind)) err = nf90_get_var(fileobj%ncid, varid, buf, start=c) @@ -178,6 +187,7 @@ subroutine netcdf_read_data_0d(fileobj, variable_name, buf, unlim_dim_level, & call check_netcdf_code(err, append_error_msg) call unpack_data_0d(fileobj, varid, variable_name, buf) endif + if (bcast) then select type(buf) type is (integer(kind=i4_kind)) @@ -239,6 +249,8 @@ subroutine netcdf_read_data_1d(fileobj, variable_name, buf, unlim_dim_level, & else bcast = .true. endif + if (fileobj%use_netcdf_mpi) bcast = .false. + c(:) = 1 if (present(corner)) then c(1) = corner(1) @@ -257,8 +269,15 @@ subroutine netcdf_read_data_1d(fileobj, variable_name, buf, unlim_dim_level, & endif c(unlim_dim_index) = unlim_dim_level endif + if (fileobj%is_root) then varid = get_variable_id(fileobj%ncid, trim(variable_name), msg=append_error_msg) + + if (fileobj%use_netcdf_mpi.and.fileobj%use_collective) then + err = nf90_var_par_access(fileobj%ncid, varid, nf90_collective) + call check_netcdf_code(err, append_error_msg) + endif + select type(buf) type is (integer(kind=i4_kind)) err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) @@ -276,6 +295,7 @@ subroutine netcdf_read_data_1d(fileobj, variable_name, buf, unlim_dim_level, & call check_netcdf_code(err, append_error_msg) call unpack_data_1d(fileobj, varid, variable_name, buf) endif + if (bcast) then select type(buf) type is (integer(kind=i4_kind)) @@ -335,6 +355,8 @@ subroutine netcdf_read_data_2d(fileobj, variable_name, buf, unlim_dim_level, & else bcast = .true. endif + if (fileobj%use_netcdf_mpi) bcast = .false. + c(:) = 1 if (present(corner)) then c(1:2) = corner(1:2) @@ -353,12 +375,15 @@ subroutine netcdf_read_data_2d(fileobj, variable_name, buf, unlim_dim_level, & endif c(unlim_dim_index) = unlim_dim_level endif - if(fileobj%use_collective) then + + if (fileobj%is_root) then varid = get_variable_id(fileobj%ncid, trim(variable_name), msg=append_error_msg) - ! NetCDF does not have the ability to specify collective I/O at - ! the file basis so we must activate at the variable level - err = nf90_var_par_access(fileobj%ncid, varid, nf90_collective) - call check_netcdf_code(err, append_error_msg) + + if (fileobj%use_netcdf_mpi.and.fileobj%use_collective) then + err = nf90_var_par_access(fileobj%ncid, varid, nf90_collective) + call check_netcdf_code(err, append_error_msg) + endif + select type(buf) type is (integer(kind=i4_kind)) err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) @@ -373,38 +398,21 @@ subroutine netcdf_read_data_2d(fileobj, variable_name, buf, unlim_dim_level, & end select call check_netcdf_code(err, append_error_msg) call unpack_data_2d(fileobj, varid, variable_name, buf) - else - if (fileobj%is_root) then - varid = get_variable_id(fileobj%ncid, trim(variable_name), msg=append_error_msg) - select type(buf) - type is (integer(kind=i4_kind)) - err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) - type is (integer(kind=i8_kind)) - err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) - type is (real(kind=r4_kind)) - err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) - type is (real(kind=r8_kind)) - err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) - class default - call error("Unsupported variable type: "//trim(append_error_msg)) - end select - call check_netcdf_code(err, append_error_msg) - call unpack_data_2d(fileobj, varid, variable_name, buf) - endif - if (bcast) then - select type(buf) - type is (integer(kind=i4_kind)) - call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) - type is (integer(kind=i8_kind)) - call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) - type is (real(kind=r4_kind)) - call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) - type is (real(kind=r8_kind)) - call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) - class default - call error("Unsupported variable type: "//trim(append_error_msg)) - end select - endif + endif + + if (bcast) then + select type(buf) + type is (integer(kind=i4_kind)) + call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) + type is (integer(kind=i8_kind)) + call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) + type is (real(kind=r4_kind)) + call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) + type is (real(kind=r8_kind)) + call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) + class default + call error("Unsupported variable type: "//trim(append_error_msg)) + end select endif end subroutine netcdf_read_data_2d @@ -449,6 +457,8 @@ subroutine netcdf_read_data_3d(fileobj, variable_name, buf, unlim_dim_level, & else bcast = .true. endif + if (fileobj%use_netcdf_mpi) bcast = .false. + c(:) = 1 if (present(corner)) then c(1:3) = corner(1:3) @@ -467,12 +477,15 @@ subroutine netcdf_read_data_3d(fileobj, variable_name, buf, unlim_dim_level, & endif c(unlim_dim_index) = unlim_dim_level endif - if(fileobj%use_collective) then + + if (fileobj%is_root) then varid = get_variable_id(fileobj%ncid, trim(variable_name), msg=append_error_msg) - ! NetCDF does not have the ability to specify collective I/O at - ! the file basis so we must activate at the variable level - err = nf90_var_par_access(fileobj%ncid, varid, nf90_collective) - call check_netcdf_code(err, append_error_msg) + + if (fileobj%use_netcdf_mpi.and.fileobj%use_collective) then + err = nf90_var_par_access(fileobj%ncid, varid, nf90_collective) + call check_netcdf_code(err, append_error_msg) + endif + select type(buf) type is (integer(kind=i4_kind)) err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) @@ -487,38 +500,21 @@ subroutine netcdf_read_data_3d(fileobj, variable_name, buf, unlim_dim_level, & end select call check_netcdf_code(err, append_error_msg) call unpack_data_3d(fileobj, varid, variable_name, buf) - else - if (fileobj%is_root) then - varid = get_variable_id(fileobj%ncid, trim(variable_name), msg=append_error_msg) - select type(buf) - type is (integer(kind=i4_kind)) - err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) - type is (integer(kind=i8_kind)) - err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) - type is (real(kind=r4_kind)) - err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) - type is (real(kind=r8_kind)) - err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) - class default - call error("Unsupported variable type: "//trim(append_error_msg)) - end select - call check_netcdf_code(err, append_error_msg) - call unpack_data_3d(fileobj, varid, variable_name, buf) - endif - if (bcast) then - select type(buf) - type is (integer(kind=i4_kind)) - call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) - type is (integer(kind=i8_kind)) - call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) - type is (real(kind=r4_kind)) - call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) - type is (real(kind=r8_kind)) - call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) - class default - call error("Unsupported variable type: "//trim(append_error_msg)) - end select - endif + endif + + if (bcast) then + select type(buf) + type is (integer(kind=i4_kind)) + call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) + type is (integer(kind=i8_kind)) + call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) + type is (real(kind=r4_kind)) + call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) + type is (real(kind=r8_kind)) + call mpp_broadcast(buf, size(buf), fileobj%io_root, pelist=fileobj%pelist) + class default + call error("Unsupported variable type: "//trim(append_error_msg)) + end select endif end subroutine netcdf_read_data_3d @@ -563,6 +559,8 @@ subroutine netcdf_read_data_4d(fileobj, variable_name, buf, unlim_dim_level, & else bcast = .true. endif + if (fileobj%use_netcdf_mpi) bcast = .false. + c(:) = 1 if (present(corner)) then c(1:4) = corner(1:4) @@ -581,8 +579,15 @@ subroutine netcdf_read_data_4d(fileobj, variable_name, buf, unlim_dim_level, & endif c(unlim_dim_index) = unlim_dim_level endif + if (fileobj%is_root) then varid = get_variable_id(fileobj%ncid, trim(variable_name), msg=append_error_msg) + + if (fileobj%use_netcdf_mpi.and.fileobj%use_collective) then + err = nf90_var_par_access(fileobj%ncid, varid, nf90_collective) + call check_netcdf_code(err, append_error_msg) + endif + select type(buf) type is (integer(kind=i4_kind)) err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) @@ -598,6 +603,7 @@ subroutine netcdf_read_data_4d(fileobj, variable_name, buf, unlim_dim_level, & call check_netcdf_code(err, append_error_msg) call unpack_data_4d(fileobj, varid, variable_name, buf) endif + if (bcast) then select type(buf) type is (integer(kind=i4_kind)) @@ -655,6 +661,8 @@ subroutine netcdf_read_data_5d(fileobj, variable_name, buf, unlim_dim_level, & else bcast = .true. endif + if (fileobj%use_netcdf_mpi) bcast = .false. + c(:) = 1 if (present(corner)) then c(1:5) = corner(1:5) @@ -673,8 +681,15 @@ subroutine netcdf_read_data_5d(fileobj, variable_name, buf, unlim_dim_level, & endif c(unlim_dim_index) = unlim_dim_level endif + if (fileobj%is_root) then varid = get_variable_id(fileobj%ncid, trim(variable_name), msg=append_error_msg) + + if (fileobj%use_netcdf_mpi.and.fileobj%use_collective) then + err = nf90_var_par_access(fileobj%ncid, varid, nf90_collective) + call check_netcdf_code(err, append_error_msg) + endif + select type(buf) type is (integer(kind=i4_kind)) err = nf90_get_var(fileobj%ncid, varid, buf, start=c, count=e) @@ -690,6 +705,7 @@ subroutine netcdf_read_data_5d(fileobj, variable_name, buf, unlim_dim_level, & call check_netcdf_code(err, append_error_msg) call unpack_data_5d(fileobj, varid, variable_name, buf) endif + if (bcast) then select type(buf) type is (integer(kind=i4_kind)) diff --git a/fms2_io/netcdf_io.F90 b/fms2_io/netcdf_io.F90 index 1cf428d0ff..9a4836a925 100644 --- a/fms2_io/netcdf_io.F90 +++ b/fms2_io/netcdf_io.F90 @@ -148,12 +148,12 @@ module netcdf_io_mod character (len=20) :: time_name type(dimension_information) :: bc_dimensions ! @brief Open a netcdf file. !! @return .true. if open succeeds, or else .false. -function netcdf_file_open(fileobj, path, mode, nc_format, pelist, is_restart, dont_add_res_to_filename) & - result(success) +function netcdf_file_open(fileobj, path, mode, nc_format, pelist, is_restart, dont_add_res_to_filename, & + tile_comm, use_collective) result(success) class(FmsNetcdfFile_t), intent(inout) :: fileobj !< File object. character(len=*), intent(in) :: path !< File path. @@ -567,59 +567,83 @@ function netcdf_file_open(fileobj, path, mode, nc_format, pelist, is_restart, do !! is a restart file. Defaults !! to false. logical, intent(in), optional :: dont_add_res_to_filename !< Flag indicating not to add - !! ".res" to the filename + !! ".res" to the filename + integer, intent(in), optional :: tile_comm !< MPI communicator used for parallel I/O. Passing this + !! argument enables parallel I/O. + logical, intent(in), optional :: use_collective !< Flag indicating whether reads and writes should be performed + !! collectively rather than independently. logical :: success integer :: nc_format_param integer :: err integer :: netcdf4 !< Query the file for the _IsNetcdf4 global attribute in the event !! that the open for collective reads fails - character(len=FMS_PATH_LEN) :: buf !< File path with .res in the filename if it is a restart - character(len=FMS_PATH_LEN) :: buf2 !< File path with the filename appendix if there is one + character(len=FMS_PATH_LEN) :: full_path !< File path with .res in the filename if it is a restart logical :: is_res logical :: dont_add_res !< flag indicated to not add ".res" to the filename + success = .true. + + if (fms2_nc_format_param.eq.-1) then + call error("netcdf_file_open :: fms2_io has not been initialized") + endif + if (allocated(fileobj%is_open)) then - if (fileobj%is_open) then - success = .true. - return - endif + if (fileobj%is_open) return + endif + + fileobj%use_netcdf_mpi = .false. + + if (fileobj%tile_comm.ne.MPP_COMM_NULL) then + call mpp_error(NOTE, "netcdf_file_open :: Setting fileobj%tile_comm is deprecated. & + Please use open_file(..., tile_comm=...) instead.") + fileobj%use_netcdf_mpi = .true. + elseif (present(tile_comm)) then + fileobj%use_netcdf_mpi = .true. + fileobj%tile_comm = tile_comm + endif + + if (fileobj%use_collective) then + fileobj%use_netcdf_mpi = .true. + call mpp_error(NOTE, "Setting fileobj%use_collective to enable collective reads is deprecated. & + Please use open_file(..., use_collective=.true.) instead.") + else + fileobj%use_collective = .false. + if (present(use_collective)) fileobj%use_collective = use_collective endif + !< Only add ".res" to the file path if is_restart is set to true !! and dont_add_res_to_filename is set to false. is_res = .false. if (present(is_restart)) then is_res = is_restart endif + fileobj%is_restart = is_res + dont_add_res = .false. if (present(dont_add_res_to_filename)) then dont_add_res = dont_add_res_to_filename endif if (is_res .and. .not. dont_add_res) then - call restart_filepath_mangle(buf, trim(path)) + call restart_filepath_mangle(full_path, trim(path)) else - call string_copy(buf, trim(path)) + call string_copy(full_path, trim(path)) endif !< If it is a restart add the filename_appendix to the filename if (is_res) then - call get_instance_filename(trim(buf), buf2) + call get_instance_filename(trim(full_path), fileobj%path) else - call string_copy(buf2, trim(buf)) + call string_copy(fileobj%path, trim(full_path)) endif - !Check if the file exists. - success = .true. + ! Check if the file exists. if (string_compare(mode, "read", .true.) .or. string_compare(mode, "append", .true.)) then - success = file_exists(buf2) - if (.not. success) then - return - endif + success = file_exists(fileobj%path) + if (.not.success) return endif - !Store properties in the derived type. - call string_copy(fileobj%path, trim(buf2)) if (present(pelist)) then allocate(fileobj%pelist(size(pelist))) fileobj%pelist(:) = pelist(:) @@ -628,11 +652,9 @@ function netcdf_file_open(fileobj, path, mode, nc_format, pelist, is_restart, do fileobj%pelist(1) = mpp_pe() endif fileobj%io_root = fileobj%pelist(1) - fileobj%is_root = mpp_pe() .eq. fileobj%io_root + fileobj%is_root = mpp_pe().eq.fileobj%io_root fileobj%is_netcdf4 = .false. - if (fms2_ncchksz == -1) call error("netcdf_file_open:: fms2_ncchksz not set, call fms2_io_init") - if (fms2_nc_format_param == -1) call error("netcdf_file_open:: fms2_nc_format_param not set, call fms2_io_init") if (present(nc_format)) then if (string_compare(nc_format, "64bit", .true.)) then @@ -653,62 +675,48 @@ function netcdf_file_open(fileobj, path, mode, nc_format, pelist, is_restart, do fileobj%is_netcdf4 = fms2_is_netcdf4 endif - !Open the file with netcdf if this rank is the I/O root. - if (fileobj%is_root .and. .not.(fileobj%use_collective)) then - if (string_compare(mode, "read", .true.)) then - err = nf90_open(trim(fileobj%path), nf90_nowrite, fileobj%ncid, chunksize=fms2_ncchksz) - elseif (string_compare(mode, "append", .true.)) then - err = nf90_open(trim(fileobj%path), nf90_write, fileobj%ncid, chunksize=fms2_ncchksz) + if (fileobj%use_netcdf_mpi) then +#ifdef NO_NC_PARALLEL4 + call error("NetCDF was not built with HDF5 parallel I/O features, so use_netcdf_mpi cannot be used. & + &Please turn use_netcdf_mpi off for the file: " // trim(path)) +#endif + nc_format_param = ior(nc_format_param, nf90_mpiio) + endif + + if (fileobj%use_netcdf_mpi) then + ! Using MPI-IO: Every PE opens the file + if(string_compare(mode, "read", .true.)) then + err = nf90_open(trim(fileobj%path), ior(nf90_nowrite, nf90_mpiio), fileobj%ncid, & + comm=fileobj%tile_comm, info=MPP_INFO_NULL) + elseif(string_compare(mode, "append", .true.)) then + err = nf90_open(trim(fileobj%path), ior(nf90_write, nf90_mpiio), fileobj%ncid, & + comm=fileobj%tile_comm, info=MPP_INFO_NULL) elseif (string_compare(mode, "write", .true.)) then - err = nf90_create(trim(fileobj%path), ior(nf90_noclobber, nc_format_param), fileobj%ncid, chunksize=fms2_ncchksz) + err = nf90_create(trim(fileobj%path), ior(nf90_noclobber, nc_format_param), fileobj%ncid, & + comm = fileobj%tile_comm, info = MPP_INFO_NULL) elseif (string_compare(mode,"overwrite",.true.)) then - err = nf90_create(trim(fileobj%path), ior(nf90_clobber, nc_format_param), fileobj%ncid, chunksize=fms2_ncchksz) + err = nf90_create(trim(fileobj%path), ior(nf90_clobber, nc_format_param), fileobj%ncid, & + comm = fileobj%tile_comm, info = MPP_INFO_NULL) else call error("unrecognized file mode: '"//trim(mode)//"' for file:"//trim(fileobj%path)//& &"Check your open_file call, the acceptable values are read, append, write, overwrite") endif - call check_netcdf_code(err, "netcdf_file_open:"//trim(fileobj%path)) - elseif(fileobj%use_collective .and. (fileobj%tile_comm /= MPP_COMM_NULL)) then - if(string_compare(mode, "read", .true.)) then - ! Open the file for collective reads if the user requested that treatment in their application. - ! NetCDF does not have the ability to specify collective I/O at the file basis - ! so we must activate each variable in netcdf_read_data_2d() and netcdf_read_data_3d() - err = nf90_open(trim(fileobj%path), ior(NF90_NOWRITE, NF90_MPIIO), fileobj%ncid, & - comm=fileobj%tile_comm, info=MPP_INFO_NULL) - if(err /= nf90_noerr) then - err = nf90_open(trim(fileobj%path), nf90_nowrite, fileobj%ncid) - err = nf90_get_att(fileobj%ncid, nf90_global, "_IsNetcdf4", netcdf4) - err = nf90_close(fileobj%ncid) - if(netcdf4 /= 1) then - call mpp_error(NOTE,"netcdf_file_open: Open for collective read failed because the file is not & - netCDF-4 format."// & - " Falling back to parallel independent for file "// trim(fileobj%path)) - fileobj%use_collective = .false. - fileobj%tile_comm = MPP_COMM_NULL - else -#ifdef NO_NC_PARALLEL4 - call mpp_error(FATAL, "netCDF was not build with HDF5 parallel I/O features, "//& - "so collective netcdf io is not allowed. Please turn collective read off for file "//& - trim(fileobj%path)) -#endif - endif - err = nf90_open(trim(fileobj%path), nf90_nowrite, fileobj%ncid, chunksize=fms2_ncchksz) - endif + call check_netcdf_code(err, "netcdf_file_open (using netcdf mpi): "//trim(fileobj%path)) + elseif (fileobj%is_root) then + ! Not using MPI-IO: Only the root PE opens the file + if (string_compare(mode, "read", .true.)) then + err = nf90_open(trim(fileobj%path), nf90_nowrite, fileobj%ncid, chunksize=fms2_ncchksz) + elseif (string_compare(mode, "append", .true.)) then + err = nf90_open(trim(fileobj%path), nf90_write, fileobj%ncid, chunksize=fms2_ncchksz) elseif (string_compare(mode, "write", .true.)) then - call mpp_error(FATAL,"netcdf_file_open: Attempt to create a file for collective write"// & - " This feature is not implemented"// trim(fileobj%path)) - !err = nf90_create(trim(fileobj%path), ior(nf90_noclobber, nc_format_param), fileobj%ncid, & - ! comm=fileobj%tile_comm, info=MPP_INFO_NULL) + err = nf90_create(trim(fileobj%path), ior(nf90_noclobber, nc_format_param), fileobj%ncid, chunksize=fms2_ncchksz) elseif (string_compare(mode,"overwrite",.true.)) then - call mpp_error(FATAL,"netcdf_file_open: Attempt to create a file for collective overwrite"// & - " This feature is not implemented"// trim(fileobj%path)) - !err = nf90_create(trim(fileobj%path), ior(nf90_clobber, nc_format_param), fileobj%ncid, & - ! comm=fileobj%tile_comm, info=MPP_INFO_NULL) + err = nf90_create(trim(fileobj%path), ior(nf90_clobber, nc_format_param), fileobj%ncid, chunksize=fms2_ncchksz) else call error("unrecognized file mode: '"//trim(mode)//"' for file:"//trim(fileobj%path)//& &"Check your open_file call, the acceptable values are read, append, write, overwrite") endif - call check_netcdf_code(err, "netcdf_file_open:"//trim(fileobj%path)) + call check_netcdf_code(err, "netcdf_file_open: "//trim(fileobj%path)) else fileobj%ncid = missing_ncid endif @@ -716,11 +724,11 @@ function netcdf_file_open(fileobj, path, mode, nc_format, pelist, is_restart, do fileobj%is_diskless = .false. !Allocate memory. - fileobj%is_restart = is_res if (fileobj%is_restart) then allocate(fileobj%restart_vars(max_num_restart_vars)) fileobj%num_restart_vars = 0 endif + fileobj%is_readonly = string_compare(mode, "read", .true.) fileobj%mode_is_append = string_compare(mode, "append", .true.) allocate(fileobj%compressed_dims(max_num_compressed_dims)) @@ -1015,7 +1023,7 @@ subroutine netcdf_add_variable(fileobj, variable_name, variable_type, dimensions call check_netcdf_code(err, append_error_msg) endif - if (fileobj%use_netcdf_mpi) then + if (fileobj%use_netcdf_mpi.and.fileobj%use_collective) then err = nf90_var_par_access(fileobj%ncid, varid, nf90_collective) call check_netcdf_code(err, append_error_msg) endif @@ -2055,8 +2063,8 @@ end subroutine compressed_start_and_count include "unpack_data.inc" !> @brief Wrapper to distinguish interfaces. -function netcdf_file_open_wrap(fileobj, path, mode, nc_format, pelist, is_restart, dont_add_res_to_filename) & - result(success) +function netcdf_file_open_wrap(fileobj, path, mode, nc_format, pelist, is_restart, & + dont_add_res_to_filename) result(success) type(FmsNetcdfFile_t), intent(inout) :: fileobj !< File object. character(len=*), intent(in) :: path !< File path. diff --git a/fms2_io/readme.md b/fms2_io/readme.md index 5ce16da916..fc651fc1ea 100644 --- a/fms2_io/readme.md +++ b/fms2_io/readme.md @@ -14,6 +14,7 @@ Before introducing the FMS2_io module, subroutines and functions in fms_io and m - [G. Ascii_io](readme.md#g-ascii_io) - [H. FMS2_io namelist](readme.md#h-fms2_io-namelist) - [I. Chunking](readme.md#i-chunking) +- [J. MPI-IO](readme.md#j-mpi-io) ### A. FMS2_io Fileobjs FMS2_io provides three new derived types, which target the different I/O paradigms used in GFDL models. @@ -630,3 +631,15 @@ dim_names, chunsizes=chunksizes) - **NOTE: This argument is only valid with "NETCDF4" file formats, otherwise it will be ignored. You can set the netcdf file format for all files using the 'netcdf_default_format' namelist or in a per file basis by using the 'nc_format' argument in the 'open_file' call** - See the NETCDF user guide for more information: (https://cluster.earlham.edu/bccd-ng/testing/mobeen/GALAXSEEHPC/netcdf-4.1.3/man4/netcdf.html#Chunking) + +### J. MPI-IO +When opening a NetCDF-4 file, the HDF5 library's MPI-IO driver can be used by calling `open_file` with the optional +`use_netcdf_mpi=.true.` argument. When a file is opened in this manner, the I/O domain is ignored and every PE directly +performs reads or writes in parallel. In the case of parallel reads, the MPI-IO driver handles coordination and metadata +sharing among the PEs, which can improve performance compared to the standard POSIX I/O driver. Additionally, the +`use_collective=.true.` argument can be passed to `open_file` to enable collective reads/writes: this can improve I/O +performance significantly, but it requires each read/write call to run synchronously across all participating PEs (i.e., +it introduces an MPI barrier at the start of each read/write call). + +MPI-IO support is only available for NetCDF-4 files. `use_netcdf_mpi` and `use_collective` are both disabled by default. +`use_collective` has no effect unless `use_netcdf_mpi` is enabled. diff --git a/grid_utils/Makefile.am b/grid_utils/Makefile.am index 1e80ba2c13..542dd979b9 100644 --- a/grid_utils/Makefile.am +++ b/grid_utils/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the mosaic directory of the FMS diff --git a/horiz_interp/Makefile.am b/horiz_interp/Makefile.am index 3c5289e62a..cd1a2f5968 100644 --- a/horiz_interp/Makefile.am +++ b/horiz_interp/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the horiz_interp directory of the FMS diff --git a/include/file_version.h b/include/file_version.h index 794fc707f7..798cef7eca 100644 --- a/include/file_version.h +++ b/include/file_version.h @@ -1,21 +1,20 @@ ! -*-f90-*- !*********************************************************************** -!* GNU Lesser General Public License +!* Apache License 2.0 !* !* This file is part of the GFDL Flexible Modeling System (FMS). !* -!* FMS is free software: you can redistribute it and/or modify it under -!* the terms of the GNU Lesser General Public License as published by -!* the Free Software Foundation, either version 3 of the License, or (at -!* your option) any later version. +!* Licensed under the Apache License, Version 2.0 (the "License"); +!* you may not use this file except in compliance with the License. +!* You may obtain a copy of the License at !* -!* FMS is distributed in the hope that it will be useful, but WITHOUT -!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -!* for more details. +!* http://www.apache.org/licenses/LICENSE-2.0 !* -!* You should have received a copy of the GNU Lesser General Public -!* License along with FMS. If not, see . +!* FMS is distributed in the hope that it will be useful, but WITHOUT +!* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +!* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +!* PARTICULAR PURPOSE. See the License for the specific language +!* governing permissions and limitations under the License. !*********************************************************************** #ifdef _FILE_VERSION diff --git a/include/fms_platform.h b/include/fms_platform.h index 265d417477..c5d3b8abca 100644 --- a/include/fms_platform.h +++ b/include/fms_platform.h @@ -1,21 +1,20 @@ ! -*-f90-*-* !*********************************************************************** -!* GNU Lesser General Public License +!* Apache License 2.0 !* !* This file is part of the GFDL Flexible Modeling System (FMS). !* -!* FMS is free software: you can redistribute it and/or modify it under -!* the terms of the GNU Lesser General Public License as published by -!* the Free Software Foundation, either version 3 of the License, or (at -!* your option) any later version. +!* Licensed under the Apache License, Version 2.0 (the "License"); +!* you may not use this file except in compliance with the License. +!* You may obtain a copy of the License at !* -!* FMS is distributed in the hope that it will be useful, but WITHOUT -!* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -!* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -!* for more details. +!* http://www.apache.org/licenses/LICENSE-2.0 !* -!* You should have received a copy of the GNU Lesser General Public -!* License along with FMS. If not, see . +!* FMS is distributed in the hope that it will be useful, but WITHOUT +!* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +!* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +!* PARTICULAR PURPOSE. See the License for the specific language +!* governing permissions and limitations under the License. !*********************************************************************** #ifndef __FMS_PLATFORM_ diff --git a/interpolator/Makefile.am b/interpolator/Makefile.am index c9d7bacc7b..a0b31bb8b9 100644 --- a/interpolator/Makefile.am +++ b/interpolator/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the interpolator directory of the FMS diff --git a/libFMS/Makefile.am b/libFMS/Makefile.am index dc0c112de5..5c1835c958 100644 --- a/libFMS/Makefile.am +++ b/libFMS/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the libFMS directory of the FMS diff --git a/m4/gx_compiler_bug_checks.m4 b/m4/gx_compiler_bug_checks.m4 index 7c046714db..bdd8ee0101 100644 --- a/m4/gx_compiler_bug_checks.m4 +++ b/m4/gx_compiler_bug_checks.m4 @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # =========================================================================== @@ -32,18 +31,17 @@ # # Copyright (c) 2020 Seth Underwood , @uramirez8707 # -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. +# http://www.apache.org/licenses/LICENSE-2.0 # -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # GX_FC_CLASS_CHAR_ARRAY_BUG_CHECK([ACTION-IF-BUG-PRESENT = FAILURE]) # ---------------------------------------------------------------------- diff --git a/m4/gx_f08_support.m4 b/m4/gx_f08_support.m4 index b19b60aeb8..75eb480d42 100644 --- a/m4/gx_f08_support.m4 +++ b/m4/gx_f08_support.m4 @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # =========================================================================== @@ -31,28 +30,19 @@ # # LICENSE # -# Copyright (c) 2020 Seth Underwood +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 3 of the License, or (at your -# option) any later version. +# http://www.apache.org/licenses/LICENSE-2.0 # -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# You should have received a copy of the GNU General Public License along -# with this program. If not, see . -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. +# Copyright (c) 2020 Seth Underwood # GX_FC_08_OPEN_NEWUNIT([ACTION-IF-SUCCESS], [ACTION-IF-FAILURE]) # ---------------------------------------------------------------------- diff --git a/m4/gx_fortran_legacy_options.m4 b/m4/gx_fortran_legacy_options.m4 index cd7ed2e8df..225cca59fa 100644 --- a/m4/gx_fortran_legacy_options.m4 +++ b/m4/gx_fortran_legacy_options.m4 @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # =========================================================================== @@ -30,28 +29,19 @@ # # LICENSE # -# Copyright (c) 2022 Seth Underwood +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 3 of the License, or (at your -# option) any later version. +# http://www.apache.org/licenses/LICENSE-2.0 # -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# You should have received a copy of the GNU General Public License along -# with this program. If not, see . -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. +# Copyright (c) 2022 Seth Underwood # GX_FC_ALLOW_ARG_MISMATCH([ACTION-IF-SUCCESS], [ACTION-IF-FAILURE = FAILURE]) # ---------------------------------------------------------------------- diff --git a/m4/gx_fortran_options.m4 b/m4/gx_fortran_options.m4 index 65fd4e43da..3645ec4de8 100644 --- a/m4/gx_fortran_options.m4 +++ b/m4/gx_fortran_options.m4 @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # =========================================================================== @@ -37,28 +36,19 @@ # # LICENSE # -# Copyright (c) 2019,2020 Seth Underwood +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 3 of the License, or (at your -# option) any later version. +# http://www.apache.org/licenses/LICENSE-2.0 # -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# You should have received a copy of the GNU General Public License along -# with this program. If not, see . -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. +# Copyright (c) 2019,2020 Seth Underwood # GX_FC_DEFAULT_REAL_KIND8_FLAG([ACTION-IF-SUCCESS], [ACTION-IF-FAILURE = FAILURE]) # ---------------------------------------------------------------------- diff --git a/m4/gx_mpi.m4 b/m4/gx_mpi.m4 index 9bff135fe0..f5693b2c0b 100644 --- a/m4/gx_mpi.m4 +++ b/m4/gx_mpi.m4 @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # =========================================================================== @@ -35,28 +34,19 @@ # # LICENSE # -# Copyright (c) 2022 Seth Underwood +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 3 of the License, or (at your -# option) any later version. +# http://www.apache.org/licenses/LICENSE-2.0 # -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # -# You should have received a copy of the GNU General Public License along -# with this program. If not, see . -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. +# Copyright (c) 2022 Seth Underwood # GX_MPI([ACTION-IF-SUCCESS], [ACTION-IF-FAILURE = FAILURE]) # ---------------------------------------------------------------------- diff --git a/memutils/Makefile.am b/memutils/Makefile.am index abc889313d..826cd8b36a 100644 --- a/memutils/Makefile.am +++ b/memutils/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the memutils directory of the FMS package. diff --git a/monin_obukhov/Makefile.am b/monin_obukhov/Makefile.am index a40c96640a..f862983817 100644 --- a/monin_obukhov/Makefile.am +++ b/monin_obukhov/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the monin_obukhov directory of the FMS diff --git a/mosaic2/Makefile.am b/mosaic2/Makefile.am index 8801461b03..151054b1f2 100644 --- a/mosaic2/Makefile.am +++ b/mosaic2/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the mosaic directory of the FMS @@ -23,7 +22,7 @@ # Ed Hartnett 2/22/19 # Include .h and .mod files. -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/mosaic -I$(top_srcdir)/mosaic2/include +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/mosaic2/include AM_FCFLAGS = $(FC_MODINC). $(FC_MODOUT)$(MODDIR) # Build these uninstalled convenience libraries. diff --git a/mpp/Makefile.am b/mpp/Makefile.am index 08a1525b5f..2b935a9781 100644 --- a/mpp/Makefile.am +++ b/mpp/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the mpp directory of the MPP diff --git a/mpp/include/mpp_gather.fh b/mpp/include/mpp_gather.fh index a0eb7d4073..f3f7c6d160 100644 --- a/mpp/include/mpp_gather.fh +++ b/mpp/include/mpp_gather.fh @@ -45,7 +45,7 @@ subroutine MPP_GATHER_1D_(sbuf, rbuf, pelist) op_root = pelist2(1) cnt = size(sbuf(:)) - if(size(rbuf(:)) < cnt*nproc) call mpp_error(FATAL, & + if((mpp_pe().eq.op_root).AND.(size(rbuf(:)) < cnt*nproc)) call mpp_error(FATAL, & "MPP_GATHER_1D_: size(rbuf) must be at least npes*size(sbuf) ") call mpp_gather( sbuf, rbuf, size(sbuf), op_root, pelist2, ierr ) @@ -132,13 +132,13 @@ subroutine MPP_GATHER_PELIST_3D_(is, ie, js, je, nk, pelist, array_seg, gather_d logical, intent(in) :: is_root_pe integer, optional, intent(in) :: ishift, jshift - integer :: i, msgsize, root_pe, root_pe_test + integer :: i, j, k + integer :: root_pe, root_pe_test integer :: i1, i2, j1, j2, ioff, joff - integer :: my_ind(4), gind(4,size(pelist)) - type array3D - MPP_TYPE_, dimension(:,:,:), allocatable :: data3D_type - endtype array3D - type(array3d), dimension(:), allocatable :: temp + integer :: base_idx, send_count, msg_start + integer :: blocksize_i, blocksize_j, blocksize + integer, dimension(:), allocatable :: gind, counts + MPP_TYPE_, dimension(:), allocatable :: rbuf if (.not.ANY(mpp_pe().eq.pelist(:))) return @@ -166,76 +166,51 @@ subroutine MPP_GATHER_PELIST_3D_(is, ie, js, je, nk, pelist, array_seg, gather_d if (present(ishift)) ioff=ishift if (present(jshift)) joff=jshift - my_ind(1) = is - my_ind(2) = ie - my_ind(3) = js - my_ind(4) = je + ! gather indices into global index on root_pe + if (is_root_pe) allocate(gind(4*size(pelist))) + call mpp_gather((/is, ie, js, je/), gind, pelist) -! gather indices into global index on root_pe + ! Compute and allocate counts and 1d recv buffer (rbuf) if (is_root_pe) then - allocate(temp(1:size(pelist))) - do i = 1, size(pelist) -! root_pe data copy - no send to self - if (pelist(i).eq.root_pe) then - gind(:,i) = my_ind(:) - else - call mpp_recv(gind(:,i:i), 4, pelist(i), .FALSE., COMM_TAG_1) - endif - enddo - call mpp_sync_self(check=EVENT_RECV) - gind(1,:)=gind(1,:)+ioff - gind(2,:)=gind(2,:)+ioff - gind(3,:)=gind(3,:)+joff - gind(4,:)=gind(4,:)+joff -! check indices to make sure they are within the range of "data" - if ((minval(gind).lt.1) .OR. (maxval(gind(1:2,:)).gt.size(gather_data,1)) .OR. & - (maxval(gind(3:4,:)).gt.size(gather_data,2))) & - call mpp_error(FATAL,"fms_io(mpp_gather_pelist): specified indices (with shift) are outside of the & - &range of the receiving array") - else -! non root_pe's send indices to root_pe - call mpp_send(my_ind(:), 4, root_pe, COMM_TAG_1) - call mpp_sync_self(check=EVENT_SEND) + allocate(counts(size(pelist))) + + do k = 1, size(pelist) + base_idx = 4*(k-1) + i1 = gind( base_idx + 1 ) ;; i2 = gind( base_idx + 2 ) + j1 = gind( base_idx + 3 ) ;; j2 = gind( base_idx + 4 ) + counts(k) = (i2 - i1 + 1) * (j2 - j1 + 1) * nk + enddo + + allocate(rbuf(sum(counts))) endif -! gather segments into data based on indices + send_count = (ie-is+1)*(je-js+1)*nk + + ! gather data into 1d recv buffer + call mpp_gather(reshape(array_seg(is:ie,js:je,1:nk),[send_count]), send_count, rbuf, counts, pelist) + + ! Unpack recv buffer into return array (gather_data) if (is_root_pe) then - do i = 1, size(pelist) - if (pelist(i).ne.root_pe) then ! no send to self - i1 = gind(1,i) - i2 = gind(2,i) - j1 = gind(3,i) - j2 = gind(4,i) - msgsize = (i2-i1+1)*(j2-j1+1)*nk - allocate(temp(i)%data3D_type(i1:i2,j1:j2,1:nk)) - call mpp_recv(temp(i)%data3D_type(i1:i2,j1:j2,1:nk), msgsize, pelist(i), .FALSE., COMM_TAG_2) - endif - enddo - call mpp_sync_self(check=EVENT_RECV) -! unbuffer/copy the data into the return array - do i = 1, size(pelist) - if (pelist(i).eq.root_pe) then -! data copy - no send to self - gather_data(is+ioff:ie+ioff,js+joff:je+joff,1:nk) = array_seg(is:ie,js:je,1:nk) - else - i1 = gind(1,i) - i2 = gind(2,i) - j1 = gind(3,i) - j2 = gind(4,i) - gather_data(i1:i2,j1:j2,1:nk)=temp(i)%data3D_type(i1:i2,j1:j2,1:nk) - deallocate(temp(i)%data3D_type) - endif - enddo - deallocate(temp) - else -! non root_pe's send data to root_pe - msgsize = (my_ind(2)-my_ind(1)+1) * (my_ind(4)-my_ind(3)+1) * nk - call mpp_send(array_seg, msgsize, root_pe, COMM_TAG_2) - call mpp_sync_self(check=EVENT_SEND) + msg_start = 1 + do k = 1, size(pelist) + base_idx = 4*(k-1) + i1 = gind( base_idx + 1 ) + ioff ;; i2 = gind( base_idx + 2 ) + ioff + j1 = gind( base_idx + 3 ) + joff ;; j2 = gind( base_idx + 4 ) + joff + + blocksize_i = i2 - i1 + 1 + blocksize_j = j2 - j1 + 1 + blocksize = blocksize_i * blocksize_j * nk + + gather_data(i1:i2, j1:j2, 1:nk) = reshape(rbuf(msg_start:msg_start+blocksize-1), & + [blocksize_i, blocksize_j, nk]) + + msg_start = msg_start + blocksize + enddo + + deallocate(gind, rbuf, counts) endif call mpp_sync_self() - return end subroutine MPP_GATHER_PELIST_3D_ !> @} diff --git a/parser/Makefile.am b/parser/Makefile.am index b4b7fa3298..fbc807bdf8 100644 --- a/parser/Makefile.am +++ b/parser/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the constants directory of the FMS diff --git a/platform/Makefile.am b/platform/Makefile.am index 9fd9bfd028..065e0dc971 100644 --- a/platform/Makefile.am +++ b/platform/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the platform directory of the FMS diff --git a/random_numbers/Makefile.am b/random_numbers/Makefile.am index 6961f0daa9..a5e56f5409 100644 --- a/random_numbers/Makefile.am +++ b/random_numbers/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the random_numbers directory of the FMS diff --git a/sat_vapor_pres/Makefile.am b/sat_vapor_pres/Makefile.am index 2511061c62..aed05c21e3 100644 --- a/sat_vapor_pres/Makefile.am +++ b/sat_vapor_pres/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the sat_vapor_pres directory of the FMS diff --git a/string_utils/Makefile.am b/string_utils/Makefile.am index 408c5eea7a..1b45cb9ae6 100644 --- a/string_utils/Makefile.am +++ b/string_utils/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the constants directory of the FMS diff --git a/test_fms/Makefile.am b/test_fms/Makefile.am index 42725cbf85..9203360e5c 100644 --- a/test_fms/Makefile.am +++ b/test_fms/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is the automake file for the test_fms directory. diff --git a/test_fms/affinity/Makefile.am b/test_fms/affinity/Makefile.am index ba54f71d97..21004b4ce3 100644 --- a/test_fms/affinity/Makefile.am +++ b/test_fms/affinity/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/data_override directory of the FMS diff --git a/test_fms/affinity/test_affinity2.sh b/test_fms/affinity/test_affinity2.sh index abff3e7943..bde00c605c 100755 --- a/test_fms/affinity/test_affinity2.sh +++ b/test_fms/affinity/test_affinity2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Copyright (c) 2021 Seth Underwood diff --git a/test_fms/astronomy/Makefile.am b/test_fms/astronomy/Makefile.am index 61fdc8c522..be94f3c8b4 100644 --- a/test_fms/astronomy/Makefile.am +++ b/test_fms/astronomy/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/astronomy directory of the diff --git a/test_fms/astronomy/test_astronomy.sh b/test_fms/astronomy/test_astronomy.sh index 9d108d5fd5..f95aac1ce6 100755 --- a/test_fms/astronomy/test_astronomy.sh +++ b/test_fms/astronomy/test_astronomy.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/axis_utils/Makefile.am b/test_fms/axis_utils/Makefile.am index ed6882e8ee..54a719d790 100644 --- a/test_fms/axis_utils/Makefile.am +++ b/test_fms/axis_utils/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/data_override directory of the FMS diff --git a/test_fms/axis_utils/test_axis_utils2.sh b/test_fms/axis_utils/test_axis_utils2.sh index 8b49c6bdd5..2fa57bdb25 100755 --- a/test_fms/axis_utils/test_axis_utils2.sh +++ b/test_fms/axis_utils/test_axis_utils2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Copyright 2021 Seth Underwood diff --git a/test_fms/block_control/Makefile.am b/test_fms/block_control/Makefile.am index 4fc64f93b0..e8b805cf3a 100644 --- a/test_fms/block_control/Makefile.am +++ b/test_fms/block_control/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/block_control directory of the diff --git a/test_fms/block_control/test_block_control.sh b/test_fms/block_control/test_block_control.sh index a5e76f68c3..0e32256dc8 100755 --- a/test_fms/block_control/test_block_control.sh +++ b/test_fms/block_control/test_block_control.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/column_diagnostics/Makefile.am b/test_fms/column_diagnostics/Makefile.am index 7b3b31724c..34c870b85b 100644 --- a/test_fms/column_diagnostics/Makefile.am +++ b/test_fms/column_diagnostics/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/time_manager directory of the FMS diff --git a/test_fms/column_diagnostics/test_column_diagnostics.sh b/test_fms/column_diagnostics/test_column_diagnostics.sh index 909a539bfb..b4b7d242f2 100755 --- a/test_fms/column_diagnostics/test_column_diagnostics.sh +++ b/test_fms/column_diagnostics/test_column_diagnostics.sh @@ -1,13 +1,19 @@ -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#*********************************************************************** +#* Apache License 2.0 #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/coupler/Makefile.am b/test_fms/coupler/Makefile.am index 2c9ed9f335..a117b597b3 100644 --- a/test_fms/coupler/Makefile.am +++ b/test_fms/coupler/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/data_override directory of the FMS diff --git a/test_fms/coupler/test_coupler.sh b/test_fms/coupler/test_coupler.sh index 027231ddc7..6a9c98d042 100755 --- a/test_fms/coupler/test_coupler.sh +++ b/test_fms/coupler/test_coupler.sh @@ -1,21 +1,20 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to # execute tests in the test_fms/coupler directory. diff --git a/test_fms/coupler/test_gex.sh b/test_fms/coupler/test_gex.sh index 225c73a93b..93a688fac7 100755 --- a/test_fms/coupler/test_gex.sh +++ b/test_fms/coupler/test_gex.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/data_override/Makefile.am b/test_fms/data_override/Makefile.am index c43fb1789d..e00e4807d3 100644 --- a/test_fms/data_override/Makefile.am +++ b/test_fms/data_override/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/data_override directory of the FMS diff --git a/test_fms/data_override/test_data_override2.sh b/test_fms/data_override/test_data_override2.sh index 48940debf7..9b5e702db9 100755 --- a/test_fms/data_override/test_data_override2.sh +++ b/test_fms/data_override/test_data_override2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Copyright (c) 2019-2021 Ed Hartnett, Uriel Ramirez, Seth Underwood diff --git a/test_fms/data_override/test_data_override2_mono.sh b/test_fms/data_override/test_data_override2_mono.sh index 4e12f171e8..91a88c4bc3 100755 --- a/test_fms/data_override/test_data_override2_mono.sh +++ b/test_fms/data_override/test_data_override2_mono.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Copyright (c) 2019-2021 Ed Hartnett, Uriel Ramirez, Seth Underwood diff --git a/test_fms/data_override/test_data_override2_ongrid.sh b/test_fms/data_override/test_data_override2_ongrid.sh index 7c6fc35cc2..624cdb3426 100755 --- a/test_fms/data_override/test_data_override2_ongrid.sh +++ b/test_fms/data_override/test_data_override2_ongrid.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Copyright (c) 2019-2021 Ed Hartnett, Uriel Ramirez, Seth Underwood diff --git a/test_fms/data_override/test_data_override2_scalar.sh b/test_fms/data_override/test_data_override2_scalar.sh index cbb8ed7adb..f9047e0539 100755 --- a/test_fms/data_override/test_data_override2_scalar.sh +++ b/test_fms/data_override/test_data_override2_scalar.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Copyright (c) 2019-2021 Ed Hartnett, Uriel Ramirez, Seth Underwood diff --git a/test_fms/data_override/test_data_override_ensembles.sh b/test_fms/data_override/test_data_override_ensembles.sh index bdde312943..ef6cd77f2a 100755 --- a/test_fms/data_override/test_data_override_ensembles.sh +++ b/test_fms/data_override/test_data_override_ensembles.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Copyright (c) 2019-2021 Ed Hartnett, Uriel Ramirez, Seth Underwood diff --git a/test_fms/data_override/test_data_override_init.sh b/test_fms/data_override/test_data_override_init.sh index 8598cb3039..12a3eed072 100755 --- a/test_fms/data_override/test_data_override_init.sh +++ b/test_fms/data_override/test_data_override_init.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Copyright (c) 2019-2021 Ed Hartnett, Uriel Ramirez, Seth Underwood diff --git a/test_fms/data_override/test_data_override_multi_file.sh b/test_fms/data_override/test_data_override_multi_file.sh index abca2f9159..8029094165 100755 --- a/test_fms/data_override/test_data_override_multi_file.sh +++ b/test_fms/data_override/test_data_override_multi_file.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Copyright (c) 2019-2021 Ed Hartnett, Uriel Ramirez, Seth Underwood diff --git a/test_fms/data_override/test_data_override_weights.sh b/test_fms/data_override/test_data_override_weights.sh index 6cba8c0cc0..f149392fbb 100755 --- a/test_fms/data_override/test_data_override_weights.sh +++ b/test_fms/data_override/test_data_override_weights.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Copyright (c) 2019-2021 Ed Hartnett, Uriel Ramirez, Seth Underwood diff --git a/test_fms/diag_integral/Makefile.am b/test_fms/diag_integral/Makefile.am index 0f0f1181d0..caaf4b3703 100644 --- a/test_fms/diag_integral/Makefile.am +++ b/test_fms/diag_integral/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/diag_integral directory of the FMS diff --git a/test_fms/diag_integral/test_diag_integral2.sh b/test_fms/diag_integral/test_diag_integral2.sh index 53df2327fc..b0a34d02a6 100755 --- a/test_fms/diag_integral/test_diag_integral2.sh +++ b/test_fms/diag_integral/test_diag_integral2.sh @@ -1,13 +1,19 @@ -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#*********************************************************************** +#* Apache License 2.0 #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/diag_manager/Makefile.am b/test_fms/diag_manager/Makefile.am index 80a8b7a984..8dff5dbfe1 100644 --- a/test_fms/diag_manager/Makefile.am +++ b/test_fms/diag_manager/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/diag_manager directory of the FMS diff --git a/test_fms/diag_manager/check_crashes.sh b/test_fms/diag_manager/check_crashes.sh index 0a9a7cfeca..027cd9699d 100755 --- a/test_fms/diag_manager/check_crashes.sh +++ b/test_fms/diag_manager/check_crashes.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/diag_manager/test_cell_measures.sh b/test_fms/diag_manager/test_cell_measures.sh index b47d11b61c..d0b8142274 100755 --- a/test_fms/diag_manager/test_cell_measures.sh +++ b/test_fms/diag_manager/test_cell_measures.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_diag_attribute_add.sh b/test_fms/diag_manager/test_diag_attribute_add.sh index 3767ebcc47..455f3714b3 100755 --- a/test_fms/diag_manager/test_diag_attribute_add.sh +++ b/test_fms/diag_manager/test_diag_attribute_add.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_diag_manager2.sh b/test_fms/diag_manager/test_diag_manager2.sh index 29adb0637c..0f62960a4b 100755 --- a/test_fms/diag_manager/test_diag_manager2.sh +++ b/test_fms/diag_manager/test_diag_manager2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Copyright (c) 2019-2020 Ed Hartnett, Seth Underwood diff --git a/test_fms/diag_manager/test_diag_multi_file.sh b/test_fms/diag_manager/test_diag_multi_file.sh index 05e712289f..d167ae485f 100755 --- a/test_fms/diag_manager/test_diag_multi_file.sh +++ b/test_fms/diag_manager/test_diag_multi_file.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_dm_weights.sh b/test_fms/diag_manager/test_dm_weights.sh index ce38e68eb7..45fa372722 100755 --- a/test_fms/diag_manager/test_dm_weights.sh +++ b/test_fms/diag_manager/test_dm_weights.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_ens_runs.sh b/test_fms/diag_manager/test_ens_runs.sh index 4d7b11e921..da6e5e7da1 100755 --- a/test_fms/diag_manager/test_ens_runs.sh +++ b/test_fms/diag_manager/test_ens_runs.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Copyright (c) 2019-2020 Ed Hartnett, Seth Underwood diff --git a/test_fms/diag_manager/test_flush_nc_file.sh b/test_fms/diag_manager/test_flush_nc_file.sh index 5e9f1041ce..55f8df6b0a 100755 --- a/test_fms/diag_manager/test_flush_nc_file.sh +++ b/test_fms/diag_manager/test_flush_nc_file.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_multiple_send_data.sh b/test_fms/diag_manager/test_multiple_send_data.sh index 5edc21470f..132c5ba1b0 100755 --- a/test_fms/diag_manager/test_multiple_send_data.sh +++ b/test_fms/diag_manager/test_multiple_send_data.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_output_every_freq.sh b/test_fms/diag_manager/test_output_every_freq.sh index cd88e5445f..93dd8cf3e1 100755 --- a/test_fms/diag_manager/test_output_every_freq.sh +++ b/test_fms/diag_manager/test_output_every_freq.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Copyright (c) 2019-2020 Ed Hartnett, Seth Underwood diff --git a/test_fms/diag_manager/test_prepend_date.sh b/test_fms/diag_manager/test_prepend_date.sh index 6857176b8d..76c4f580ab 100755 --- a/test_fms/diag_manager/test_prepend_date.sh +++ b/test_fms/diag_manager/test_prepend_date.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_subregional.sh b/test_fms/diag_manager/test_subregional.sh index 1e4357cece..f0007f30a7 100755 --- a/test_fms/diag_manager/test_subregional.sh +++ b/test_fms/diag_manager/test_subregional.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_time_avg.sh b/test_fms/diag_manager/test_time_avg.sh index a31e0b7ca4..f0123870b7 100755 --- a/test_fms/diag_manager/test_time_avg.sh +++ b/test_fms/diag_manager/test_time_avg.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_time_diurnal.sh b/test_fms/diag_manager/test_time_diurnal.sh index 64df8ff565..5a35da6a42 100755 --- a/test_fms/diag_manager/test_time_diurnal.sh +++ b/test_fms/diag_manager/test_time_diurnal.sh @@ -1,21 +1,20 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # tests the diurnal (daily average) reduction method diff --git a/test_fms/diag_manager/test_time_max.sh b/test_fms/diag_manager/test_time_max.sh index dcb5efcc93..685a36ac38 100755 --- a/test_fms/diag_manager/test_time_max.sh +++ b/test_fms/diag_manager/test_time_max.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Copyright (c) 2019-2020 Ed Hartnett, Seth Underwood diff --git a/test_fms/diag_manager/test_time_min.sh b/test_fms/diag_manager/test_time_min.sh index 9c3f67b8f6..2af0f1847c 100755 --- a/test_fms/diag_manager/test_time_min.sh +++ b/test_fms/diag_manager/test_time_min.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Copyright (c) 2019-2020 Ed Hartnett, Seth Underwood diff --git a/test_fms/diag_manager/test_time_none.sh b/test_fms/diag_manager/test_time_none.sh index b8c8caa31c..baa1c9954c 100755 --- a/test_fms/diag_manager/test_time_none.sh +++ b/test_fms/diag_manager/test_time_none.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Copyright (c) 2019-2020 Ed Hartnett, Seth Underwood diff --git a/test_fms/diag_manager/test_time_none_netcdf4.sh b/test_fms/diag_manager/test_time_none_netcdf4.sh index 8151724aa8..b35fe19109 100755 --- a/test_fms/diag_manager/test_time_none_netcdf4.sh +++ b/test_fms/diag_manager/test_time_none_netcdf4.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Copyright (c) 2019-2020 Ed Hartnett, Seth Underwood diff --git a/test_fms/diag_manager/test_time_pow.sh b/test_fms/diag_manager/test_time_pow.sh index b527acfee8..7dd8f04bbf 100755 --- a/test_fms/diag_manager/test_time_pow.sh +++ b/test_fms/diag_manager/test_time_pow.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_time_rms.sh b/test_fms/diag_manager/test_time_rms.sh index 6634f9951f..39f0055a89 100755 --- a/test_fms/diag_manager/test_time_rms.sh +++ b/test_fms/diag_manager/test_time_rms.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_time_sum.sh b/test_fms/diag_manager/test_time_sum.sh index c72c49ab59..5f85b9625b 100755 --- a/test_fms/diag_manager/test_time_sum.sh +++ b/test_fms/diag_manager/test_time_sum.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/diag_manager/test_var_masks.sh b/test_fms/diag_manager/test_var_masks.sh index 283a5ba73f..ec452f9d90 100755 --- a/test_fms/diag_manager/test_var_masks.sh +++ b/test_fms/diag_manager/test_var_masks.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/drifters/Makefile.am b/test_fms/drifters/Makefile.am index c2a3be84f7..39d355735e 100644 --- a/test_fms/drifters/Makefile.am +++ b/test_fms/drifters/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/drifters directory of the FMS diff --git a/test_fms/drifters/test_drifters2.sh b/test_fms/drifters/test_drifters2.sh index d2bc490763..218fb24fb4 100755 --- a/test_fms/drifters/test_drifters2.sh +++ b/test_fms/drifters/test_drifters2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/exchange/Makefile.am b/test_fms/exchange/Makefile.am index 1157ad3826..8b699f801a 100644 --- a/test_fms/exchange/Makefile.am +++ b/test_fms/exchange/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/exchange directory of the FMS diff --git a/test_fms/exchange/test_xgrid2.sh b/test_fms/exchange/test_xgrid2.sh index 909d66e883..20a3b5149f 100755 --- a/test_fms/exchange/test_xgrid2.sh +++ b/test_fms/exchange/test_xgrid2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/field_manager/Makefile.am b/test_fms/field_manager/Makefile.am index 3ad4cc0aa4..9a01b22867 100644 --- a/test_fms/field_manager/Makefile.am +++ b/test_fms/field_manager/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/field_manager directory of diff --git a/test_fms/field_manager/test_field_manager2.sh b/test_fms/field_manager/test_field_manager2.sh index d83894b76d..090640f2ed 100755 --- a/test_fms/field_manager/test_field_manager2.sh +++ b/test_fms/field_manager/test_field_manager2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/fms/Makefile.am b/test_fms/fms/Makefile.am index 8c2e2fb46b..0a1a2a8729 100644 --- a/test_fms/fms/Makefile.am +++ b/test_fms/fms/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/fms directory of the FMS diff --git a/test_fms/fms/test_fms2.sh b/test_fms/fms/test_fms2.sh index f11d98b278..6e7e2600c5 100755 --- a/test_fms/fms/test_fms2.sh +++ b/test_fms/fms/test_fms2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/fms2_io/Makefile.am b/test_fms/fms2_io/Makefile.am index e3756f13bd..2c8ce709fd 100644 --- a/test_fms/fms2_io/Makefile.am +++ b/test_fms/fms2_io/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/fms2_io directory of the FMS diff --git a/test_fms/fms2_io/test_atmosphere_io.sh b/test_fms/fms2_io/test_atmosphere_io.sh index 22f62b47f6..3a4f8d6a8c 100755 --- a/test_fms/fms2_io/test_atmosphere_io.sh +++ b/test_fms/fms2_io/test_atmosphere_io.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/fms2_io/test_bc_restart.sh b/test_fms/fms2_io/test_bc_restart.sh index faac53e0cb..4c75c1908d 100755 --- a/test_fms/fms2_io/test_bc_restart.sh +++ b/test_fms/fms2_io/test_bc_restart.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/fms2_io/test_collective_io.F90 b/test_fms/fms2_io/test_collective_io.F90 index d58c325695..b80367b7f9 100644 --- a/test_fms/fms2_io/test_collective_io.F90 +++ b/test_fms/fms2_io/test_collective_io.F90 @@ -105,9 +105,8 @@ program test_collective_io endif call mpp_sync() - fileobj%use_collective = .true. - fileobj%tile_comm = mpp_get_domain_tile_commid(Domain_read) - if (open_file(fileobj, "test_collective_io.nc", "read", Domain_read, nc_format=nc_format)) then + if (open_file(fileobj, "test_collective_io.nc", "read", Domain_read, nc_format=nc_format, & + use_netcdf_mpi=.true., use_collective=.true.)) then names(1) = "lon" names(2) = "lat" call register_axis(fileobj, "lon", "x") diff --git a/test_fms/fms2_io/test_collective_io.sh b/test_fms/fms2_io/test_collective_io.sh index 92990b22a4..0c548ddbdb 100755 --- a/test_fms/fms2_io/test_collective_io.sh +++ b/test_fms/fms2_io/test_collective_io.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to @@ -27,7 +26,7 @@ . ../test-lib.sh if [ ! -z $parallel_skip ]; then - SKIP_TESTS="test_collective_io.[1-2]" + SKIP_TESTS="test_collective_io.[1-3]" fi # Create and enter output directory @@ -35,23 +34,22 @@ output_dir touch input.nml -test_expect_success "Test NetCDF-4 parallel writes" ' +test_expect_success "Test NetCDF-4 MPI-IO parallel writes" ' mpirun -n 6 ../test_parallel_writes ' -test_expect_success "Test NetCDF-4 collective reads" ' +test_expect_success "Test NetCDF-4 MPI-IO collective reads" ' mpirun -n 6 ../test_collective_io ' rm -rf *.nc* -# The code should still run if not using netcdf4 files, it just won't use collective io cat <<_EOF > input.nml &test_collective_io_nml nc_format = "64bit" / _EOF -test_expect_success "Test fallback to non-collective reads" ' +test_expect_failure "Attempt to open a 64-bit NetCDF file for MPI-IO collective reads" ' mpirun -n 6 ../test_collective_io ' diff --git a/test_fms/fms2_io/test_fms2_io.sh b/test_fms/fms2_io/test_fms2_io.sh index 4539ab1150..4633dfc494 100755 --- a/test_fms/fms2_io/test_fms2_io.sh +++ b/test_fms/fms2_io/test_fms2_io.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/fms2_io/test_global_att.sh b/test_fms/fms2_io/test_global_att.sh index 94a0f2dd90..13a9f292fd 100755 --- a/test_fms/fms2_io/test_global_att.sh +++ b/test_fms/fms2_io/test_global_att.sh @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/fms2_io/test_io_simple.sh b/test_fms/fms2_io/test_io_simple.sh index 1c934615c6..3a6744e520 100755 --- a/test_fms/fms2_io/test_io_simple.sh +++ b/test_fms/fms2_io/test_io_simple.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/fms2_io/test_io_with_mask.sh b/test_fms/fms2_io/test_io_with_mask.sh index 2fe9c2e2ce..017e7b1bc2 100755 --- a/test_fms/fms2_io/test_io_with_mask.sh +++ b/test_fms/fms2_io/test_io_with_mask.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/fms2_io/test_parallel_writes.F90 b/test_fms/fms2_io/test_parallel_writes.F90 index e9e259416d..9ba8b3296e 100644 --- a/test_fms/fms2_io/test_parallel_writes.F90 +++ b/test_fms/fms2_io/test_parallel_writes.F90 @@ -226,7 +226,8 @@ subroutine write_netcdf type(FmsNetcdfDomainFile_t) :: fileobj integer :: i - if (.not.open_file(fileobj, filename, "overwrite", domain, use_netcdf_mpi=.true.)) then + if (.not.open_file(fileobj, filename, "overwrite", domain, use_netcdf_mpi=.true., & + use_collective=.true.)) then call mpp_error(FATAL, "Unable to open the NetCDF file for writing") endif diff --git a/test_fms/fms2_io/test_read_ascii_file.sh b/test_fms/fms2_io/test_read_ascii_file.sh index 030d36a20e..c03ea36b6b 100755 --- a/test_fms/fms2_io/test_read_ascii_file.sh +++ b/test_fms/fms2_io/test_read_ascii_file.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/horiz_interp/Makefile.am b/test_fms/horiz_interp/Makefile.am index 43061fec48..ab6d69c008 100644 --- a/test_fms/horiz_interp/Makefile.am +++ b/test_fms/horiz_interp/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/horiz_interp directory of diff --git a/test_fms/horiz_interp/test_create_xgrid_order2.sh b/test_fms/horiz_interp/test_create_xgrid_order2.sh index 6076ee3eba..2814564af2 100755 --- a/test_fms/horiz_interp/test_create_xgrid_order2.sh +++ b/test_fms/horiz_interp/test_create_xgrid_order2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/horiz_interp/test_horiz_interp2.sh b/test_fms/horiz_interp/test_horiz_interp2.sh index 87b400d30e..cea7270af8 100755 --- a/test_fms/horiz_interp/test_horiz_interp2.sh +++ b/test_fms/horiz_interp/test_horiz_interp2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/intel_coverage.sh.in b/test_fms/intel_coverage.sh.in index bc452277be..4208266212 100755 --- a/test_fms/intel_coverage.sh.in +++ b/test_fms/intel_coverage.sh.in @@ -1,21 +1,20 @@ #!/usr/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Produces a code coverage report for each subdirectory using intel's codecov tool # runs with `make check-code-coverage` after configuring with `--enable-code-coverage` diff --git a/test_fms/interpolator/Makefile.am b/test_fms/interpolator/Makefile.am index da7da4a7e7..9b39527798 100644 --- a/test_fms/interpolator/Makefile.am +++ b/test_fms/interpolator/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/interpolator directory of the FMS diff --git a/test_fms/interpolator/test_interpolator2.sh b/test_fms/interpolator/test_interpolator2.sh index 7248b92c22..5a3f76a14a 100755 --- a/test_fms/interpolator/test_interpolator2.sh +++ b/test_fms/interpolator/test_interpolator2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/monin_obukhov/Makefile.am b/test_fms/monin_obukhov/Makefile.am index 84e74e2a8d..c77e67e5ca 100644 --- a/test_fms/monin_obukhov/Makefile.am +++ b/test_fms/monin_obukhov/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/monin_obukhov directory of the FMS diff --git a/test_fms/monin_obukhov/test_monin_obukhov2.sh b/test_fms/monin_obukhov/test_monin_obukhov2.sh index c125164c92..a03bf3b1e0 100755 --- a/test_fms/monin_obukhov/test_monin_obukhov2.sh +++ b/test_fms/monin_obukhov/test_monin_obukhov2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mosaic2/Makefile.am b/test_fms/mosaic2/Makefile.am index a7c3115804..606d7f0e3c 100644 --- a/test_fms/mosaic2/Makefile.am +++ b/test_fms/mosaic2/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/mosaic directory of the diff --git a/test_fms/mosaic2/test_mosaic2.sh b/test_fms/mosaic2/test_mosaic2.sh index 74f03e7630..f07bf3f1f6 100755 --- a/test_fms/mosaic2/test_mosaic2.sh +++ b/test_fms/mosaic2/test_mosaic2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/Makefile.am b/test_fms/mpp/Makefile.am index 89717a6450..c55c4356e9 100644 --- a/test_fms/mpp/Makefile.am +++ b/test_fms/mpp/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # @uramirez, Ed Hartnett, @underwoo diff --git a/test_fms/mpp/test_clock_init.sh b/test_fms/mpp/test_clock_init.sh index 7ce49da379..7b0eec3b2b 100755 --- a/test_fms/mpp/test_clock_init.sh +++ b/test_fms/mpp/test_clock_init.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_global_arrays.sh b/test_fms/mpp/test_global_arrays.sh index 18390415e5..9790654936 100755 --- a/test_fms/mpp/test_global_arrays.sh +++ b/test_fms/mpp/test_global_arrays.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_minmax.sh b/test_fms/mpp/test_minmax.sh index 2e1a547b0e..112606e659 100755 --- a/test_fms/mpp/test_minmax.sh +++ b/test_fms/mpp/test_minmax.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp2.sh b/test_fms/mpp/test_mpp2.sh index 1a9a5c030f..fd9c8fb15c 100755 --- a/test_fms/mpp/test_mpp2.sh +++ b/test_fms/mpp/test_mpp2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_alltoall.sh b/test_fms/mpp/test_mpp_alltoall.sh index c186b11efb..13f09fd2bc 100755 --- a/test_fms/mpp/test_mpp_alltoall.sh +++ b/test_fms/mpp/test_mpp_alltoall.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_broadcast.sh b/test_fms/mpp/test_mpp_broadcast.sh index bb3a5db5ff..fbd1eb8c8a 100755 --- a/test_fms/mpp/test_mpp_broadcast.sh +++ b/test_fms/mpp/test_mpp_broadcast.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_chksum.sh b/test_fms/mpp/test_mpp_chksum.sh index bea691aa5f..1d3d6e64bd 100755 --- a/test_fms/mpp/test_mpp_chksum.sh +++ b/test_fms/mpp/test_mpp_chksum.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_clock_begin_end_id.sh b/test_fms/mpp/test_mpp_clock_begin_end_id.sh index beeeb287e1..9e7173a054 100755 --- a/test_fms/mpp/test_mpp_clock_begin_end_id.sh +++ b/test_fms/mpp/test_mpp_clock_begin_end_id.sh @@ -1,21 +1,20 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_domains2.sh b/test_fms/mpp/test_mpp_domains2.sh index fb4de0bf5b..d4ed7aaeec 100755 --- a/test_fms/mpp/test_mpp_domains2.sh +++ b/test_fms/mpp/test_mpp_domains2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_gatscat.sh b/test_fms/mpp/test_mpp_gatscat.sh index 38a4b70619..2a2b6f3871 100755 --- a/test_fms/mpp/test_mpp_gatscat.sh +++ b/test_fms/mpp/test_mpp_gatscat.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_get_ascii_lines2.sh b/test_fms/mpp/test_mpp_get_ascii_lines2.sh index 3e7ad6cb75..60cb6f98c2 100755 --- a/test_fms/mpp/test_mpp_get_ascii_lines2.sh +++ b/test_fms/mpp/test_mpp_get_ascii_lines2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_global_field.sh b/test_fms/mpp/test_mpp_global_field.sh index bf32fd12a3..81f995b2fd 100755 --- a/test_fms/mpp/test_mpp_global_field.sh +++ b/test_fms/mpp/test_mpp_global_field.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_global_field_ug.sh b/test_fms/mpp/test_mpp_global_field_ug.sh index 333a48fc03..70ee6a2b7b 100755 --- a/test_fms/mpp/test_mpp_global_field_ug.sh +++ b/test_fms/mpp/test_mpp_global_field_ug.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_global_sum_ad.sh b/test_fms/mpp/test_mpp_global_sum_ad.sh index 71296789f7..942844bc67 100755 --- a/test_fms/mpp/test_mpp_global_sum_ad.sh +++ b/test_fms/mpp/test_mpp_global_sum_ad.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_init_logfile.sh b/test_fms/mpp/test_mpp_init_logfile.sh index 2258432cb8..2bf0400bc8 100755 --- a/test_fms/mpp/test_mpp_init_logfile.sh +++ b/test_fms/mpp/test_mpp_init_logfile.sh @@ -1,20 +1,19 @@ #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_mem_dump.sh b/test_fms/mpp/test_mpp_mem_dump.sh index e158725d48..e865246515 100755 --- a/test_fms/mpp/test_mpp_mem_dump.sh +++ b/test_fms/mpp/test_mpp_mem_dump.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_memuse.sh b/test_fms/mpp/test_mpp_memuse.sh index dc521d982c..fe9163e010 100755 --- a/test_fms/mpp/test_mpp_memuse.sh +++ b/test_fms/mpp/test_mpp_memuse.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_memutils_mod.sh b/test_fms/mpp/test_mpp_memutils_mod.sh index 72bfd8dc02..1ebf2e8b86 100755 --- a/test_fms/mpp/test_mpp_memutils_mod.sh +++ b/test_fms/mpp/test_mpp_memutils_mod.sh @@ -3,22 +3,21 @@ # author @underwoo # #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Script to test the mpp_memutils_mod Fortran module code. diff --git a/test_fms/mpp/test_mpp_nesting.sh b/test_fms/mpp/test_mpp_nesting.sh index b30f612387..405c2c4bd4 100755 --- a/test_fms/mpp/test_mpp_nesting.sh +++ b/test_fms/mpp/test_mpp_nesting.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_npes.sh b/test_fms/mpp/test_mpp_npes.sh index edc3e4997d..b27e6a26c7 100755 --- a/test_fms/mpp/test_mpp_npes.sh +++ b/test_fms/mpp/test_mpp_npes.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_pe.sh b/test_fms/mpp/test_mpp_pe.sh index 8936de1174..9e054b5e38 100755 --- a/test_fms/mpp/test_mpp_pe.sh +++ b/test_fms/mpp/test_mpp_pe.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_read_ascii_file.sh b/test_fms/mpp/test_mpp_read_ascii_file.sh index afdf868888..6982c2c1fd 100755 --- a/test_fms/mpp/test_mpp_read_ascii_file.sh +++ b/test_fms/mpp/test_mpp_read_ascii_file.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_root_pe.sh b/test_fms/mpp/test_mpp_root_pe.sh index 7970004172..9a390019ba 100755 --- a/test_fms/mpp/test_mpp_root_pe.sh +++ b/test_fms/mpp/test_mpp_root_pe.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_sendrecv.sh b/test_fms/mpp/test_mpp_sendrecv.sh index 5151e998bc..a23020a5f2 100755 --- a/test_fms/mpp/test_mpp_sendrecv.sh +++ b/test_fms/mpp/test_mpp_sendrecv.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_sum.sh b/test_fms/mpp/test_mpp_sum.sh index fa00ea1e23..ad7a795be6 100755 --- a/test_fms/mpp/test_mpp_sum.sh +++ b/test_fms/mpp/test_mpp_sum.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_transmit.sh b/test_fms/mpp/test_mpp_transmit.sh index 77f610f091..362e3639dd 100755 --- a/test_fms/mpp/test_mpp_transmit.sh +++ b/test_fms/mpp/test_mpp_transmit.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_update_domains.sh b/test_fms/mpp/test_mpp_update_domains.sh index 2ae9307994..50debf96e2 100755 --- a/test_fms/mpp/test_mpp_update_domains.sh +++ b/test_fms/mpp/test_mpp_update_domains.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_mpp_update_domains_ad.sh b/test_fms/mpp/test_mpp_update_domains_ad.sh index 54053f1700..104bb79cf5 100755 --- a/test_fms/mpp/test_mpp_update_domains_ad.sh +++ b/test_fms/mpp/test_mpp_update_domains_ad.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_peset.sh b/test_fms/mpp/test_peset.sh index befa8f9860..ad8ef3253e 100755 --- a/test_fms/mpp/test_peset.sh +++ b/test_fms/mpp/test_peset.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_read_input_nml2.sh b/test_fms/mpp/test_read_input_nml2.sh index 5eb411429b..6dbdfd3529 100755 --- a/test_fms/mpp/test_read_input_nml2.sh +++ b/test_fms/mpp/test_read_input_nml2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_redistribute_int.sh b/test_fms/mpp/test_redistribute_int.sh index 1e1b94501a..ce77812c39 100755 --- a/test_fms/mpp/test_redistribute_int.sh +++ b/test_fms/mpp/test_redistribute_int.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_stderr.sh b/test_fms/mpp/test_stderr.sh index 25f8190b65..0e40c8c488 100755 --- a/test_fms/mpp/test_stderr.sh +++ b/test_fms/mpp/test_stderr.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_stdin.sh b/test_fms/mpp/test_stdin.sh index 0a8df299dc..72787d3554 100755 --- a/test_fms/mpp/test_stdin.sh +++ b/test_fms/mpp/test_stdin.sh @@ -1,21 +1,20 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_stdlog.sh b/test_fms/mpp/test_stdlog.sh index 191ff93bcc..05ba421ba8 100755 --- a/test_fms/mpp/test_stdlog.sh +++ b/test_fms/mpp/test_stdlog.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_stdout.sh b/test_fms/mpp/test_stdout.sh index ddce1baf2a..8f47803e25 100755 --- a/test_fms/mpp/test_stdout.sh +++ b/test_fms/mpp/test_stdout.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_super_grid.sh b/test_fms/mpp/test_super_grid.sh index 6660d17023..b196cde83b 100755 --- a/test_fms/mpp/test_super_grid.sh +++ b/test_fms/mpp/test_super_grid.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_system_clock.sh b/test_fms/mpp/test_system_clock.sh index 0cf357e824..6b47d9ad60 100755 --- a/test_fms/mpp/test_system_clock.sh +++ b/test_fms/mpp/test_system_clock.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/mpp/test_update_domains_performance.sh b/test_fms/mpp/test_update_domains_performance.sh index 36303abd53..47c426dbcc 100755 --- a/test_fms/mpp/test_update_domains_performance.sh +++ b/test_fms/mpp/test_update_domains_performance.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/parser/Makefile.am b/test_fms/parser/Makefile.am index 0c6eb992b3..859fbd586a 100644 --- a/test_fms/parser/Makefile.am +++ b/test_fms/parser/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/data_override directory of the FMS diff --git a/test_fms/parser/test_yaml_parser.sh b/test_fms/parser/test_yaml_parser.sh index 69bedff0e3..fb310bae8a 100755 --- a/test_fms/parser/test_yaml_parser.sh +++ b/test_fms/parser/test_yaml_parser.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/random_numbers/Makefile.am b/test_fms/random_numbers/Makefile.am index 6a0e0414c2..a37481df1e 100644 --- a/test_fms/random_numbers/Makefile.am +++ b/test_fms/random_numbers/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/data_override directory of the FMS diff --git a/test_fms/random_numbers/test_random_numbers.sh b/test_fms/random_numbers/test_random_numbers.sh index 7c7d8fc180..22e1772f46 100755 --- a/test_fms/random_numbers/test_random_numbers.sh +++ b/test_fms/random_numbers/test_random_numbers.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Set common test settings. diff --git a/test_fms/sat_vapor_pres/Makefile.am b/test_fms/sat_vapor_pres/Makefile.am index 629301888f..a622fa5649 100644 --- a/test_fms/sat_vapor_pres/Makefile.am +++ b/test_fms/sat_vapor_pres/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/time_manager directory of the FMS diff --git a/test_fms/sat_vapor_pres/test_sat_vapor_pres.sh b/test_fms/sat_vapor_pres/test_sat_vapor_pres.sh index 7a6c2baca0..4f30c726c8 100755 --- a/test_fms/sat_vapor_pres/test_sat_vapor_pres.sh +++ b/test_fms/sat_vapor_pres/test_sat_vapor_pres.sh @@ -1,13 +1,19 @@ -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#*********************************************************************** +#* Apache License 2.0 #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/string_utils/Makefile.am b/test_fms/string_utils/Makefile.am index 425b83fd3c..959e0d07bb 100644 --- a/test_fms/string_utils/Makefile.am +++ b/test_fms/string_utils/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/data_override directory of the FMS diff --git a/test_fms/string_utils/test_string_utils.sh b/test_fms/string_utils/test_string_utils.sh index 631a932a9f..8c039d6608 100755 --- a/test_fms/string_utils/test_string_utils.sh +++ b/test_fms/string_utils/test_string_utils.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/tap-driver.sh b/test_fms/tap-driver.sh index 7b76565002..5fc8b58317 100755 --- a/test_fms/tap-driver.sh +++ b/test_fms/tap-driver.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # Ryan Mulhall 2/2021 diff --git a/test_fms/test-lib.sh.in b/test_fms/test-lib.sh.in index f2e46a98e3..5f92ad7639 100644 --- a/test_fms/test-lib.sh.in +++ b/test_fms/test-lib.sh.in @@ -1,22 +1,21 @@ # Test framework for FMS. # #*********************************************************************** -# GNU Lesser General Public License -# -# This file is part of the GFDL Flexible Modeling System (FMS). -# -# FMS is free software: you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation, either version 3 of the License, or (at -# your option) any later version. -# -# FMS is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with FMS. If not, see . +#* Apache License 2.0 +#* +#* This file is part of the GFDL Flexible Modeling System (FMS). +#* +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at +#* +#* http://www.apache.org/licenses/LICENSE-2.0 +#* +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # # Copyright (c) 2005 Junio C Hamano diff --git a/test_fms/time_interp/Makefile.am b/test_fms/time_interp/Makefile.am index 6cb0d699b7..19ed56c78c 100644 --- a/test_fms/time_interp/Makefile.am +++ b/test_fms/time_interp/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/time_interp directory of the FMS diff --git a/test_fms/time_interp/test_time_interp2.sh b/test_fms/time_interp/test_time_interp2.sh index 89bcd9f628..d7c36c9de2 100755 --- a/test_fms/time_interp/test_time_interp2.sh +++ b/test_fms/time_interp/test_time_interp2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/time_manager/Makefile.am b/test_fms/time_manager/Makefile.am index b002c9064b..2836ec2bdd 100644 --- a/test_fms/time_manager/Makefile.am +++ b/test_fms/time_manager/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/time_manager directory of the FMS diff --git a/test_fms/time_manager/test_time_manager2.sh b/test_fms/time_manager/test_time_manager2.sh index 432c80fcf3..a36f26b91f 100755 --- a/test_fms/time_manager/test_time_manager2.sh +++ b/test_fms/time_manager/test_time_manager2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/topography/Makefile.am b/test_fms/topography/Makefile.am index 867091f378..580bcda558 100644 --- a/test_fms/topography/Makefile.am +++ b/test_fms/topography/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/topography directory of the diff --git a/test_fms/topography/test_topography.sh b/test_fms/topography/test_topography.sh index f9c55afda5..07b5ab5010 100755 --- a/test_fms/topography/test_topography.sh +++ b/test_fms/topography/test_topography.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/tracer_manager/Makefile.am b/test_fms/tracer_manager/Makefile.am index cae90f5a84..11f51c589a 100644 --- a/test_fms/tracer_manager/Makefile.am +++ b/test_fms/tracer_manager/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/tracer_manager directory of diff --git a/test_fms/tracer_manager/test_tracer_manager2.sh b/test_fms/tracer_manager/test_tracer_manager2.sh index 69a931f762..bad0d3ab42 100755 --- a/test_fms/tracer_manager/test_tracer_manager2.sh +++ b/test_fms/tracer_manager/test_tracer_manager2.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/test_fms/tridiagonal/Makefile.am b/test_fms/tridiagonal/Makefile.am index 41e684e65c..c4383bdb9c 100644 --- a/test_fms/tridiagonal/Makefile.am +++ b/test_fms/tridiagonal/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the test_fms/tridiagonal directory of the FMS diff --git a/test_fms/tridiagonal/test_tridiagonal.sh b/test_fms/tridiagonal/test_tridiagonal.sh index 4be1fa80b1..caacc83c58 100755 --- a/test_fms/tridiagonal/test_tridiagonal.sh +++ b/test_fms/tridiagonal/test_tridiagonal.sh @@ -1,22 +1,21 @@ #!/bin/sh #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is part of the GFDL FMS package. This is a shell script to diff --git a/time_interp/Makefile.am b/time_interp/Makefile.am index ac9bd26654..f83eb5d8dc 100644 --- a/time_interp/Makefile.am +++ b/time_interp/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the time_interp directory of the FMS diff --git a/time_manager/Makefile.am b/time_manager/Makefile.am index 32c6885e13..44852aa33e 100644 --- a/time_manager/Makefile.am +++ b/time_manager/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the time_manager directory of the FMS diff --git a/topography/Makefile.am b/topography/Makefile.am index 14a2249b8c..f54ba97041 100644 --- a/topography/Makefile.am +++ b/topography/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the topography directory of the FMS diff --git a/tracer_manager/Makefile.am b/tracer_manager/Makefile.am index 476d86796d..ded77ce0d0 100644 --- a/tracer_manager/Makefile.am +++ b/tracer_manager/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the tracer_manager directory of the FMS diff --git a/tridiagonal/Makefile.am b/tridiagonal/Makefile.am index d8b90c409b..fdf1281306 100644 --- a/tridiagonal/Makefile.am +++ b/tridiagonal/Makefile.am @@ -1,20 +1,19 @@ #*********************************************************************** -#* GNU Lesser General Public License +#* Apache License 2.0 #* #* This file is part of the GFDL Flexible Modeling System (FMS). #* -#* FMS is free software: you can redistribute it and/or modify it under -#* the terms of the GNU Lesser General Public License as published by -#* the Free Software Foundation, either version 3 of the License, or (at -#* your option) any later version. +#* Licensed under the Apache License, Version 2.0 (the "License"); +#* you may not use this file except in compliance with the License. +#* You may obtain a copy of the License at #* -#* FMS is distributed in the hope that it will be useful, but WITHOUT -#* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -#* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -#* for more details. +#* http://www.apache.org/licenses/LICENSE-2.0 #* -#* You should have received a copy of the GNU Lesser General Public -#* License along with FMS. If not, see . +#* FMS is distributed in the hope that it will be useful, but WITHOUT +#* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied; +#* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +#* PARTICULAR PURPOSE. See the License for the specific language +#* governing permissions and limitations under the License. #*********************************************************************** # This is an automake file for the tridiagonal directory of the FMS