Skip to content

Commit c4b843d

Browse files
committed
Relicense code to Apache License, Version 2.0
This PR re-licenses the MOM6 source code from the Lesser GNU Public License, version 3 to Apache License, Version 2.0. This is done with the consent of all contributors to the source code. All source files are now tagged with the following disclaimer. ``` This file is part of MOM6, the Modular Ocean Model version 6. See the LICENSE file for licensing information. SPDX-License-Identifier: Apache-2.0 ``` All relevent source code, scripts, and macros are now explicitly identified as part of MOM6. Configuration files containing scripts, such as GitHub Actions, have also been tagged. Any other configurations, such as model inputs, have been excluded.
1 parent 4803936 commit c4b843d

364 files changed

Lines changed: 1620 additions & 717 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/macos-setup/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is part of MOM6, the Modular Ocean Model version 6.
2+
# See the LICENSE file for licensing information.
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
name: 'install-macos-prerequisites'
26

37
description: 'Install prerequisites for Mac OS compilation'

.github/actions/ubuntu-setup/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is part of MOM6, the Modular Ocean Model version 6.
2+
# See the LICENSE file for licensing information.
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
name: 'install-ubuntu-prerequisites'
26

37
description: 'Install prerequisites for Ubuntu Linux compilation'

.github/workflows/verify-linux.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is part of MOM6, the Modular Ocean Model version 6.
2+
# See the LICENSE file for licensing information.
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
name: Linux verification
26

37
on: [push, pull_request]

.github/workflows/verify-macos.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is part of MOM6, the Modular Ocean Model version 6.
2+
# See the LICENSE file for licensing information.
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
name: MacOS verification
26

37
on: [push, pull_request]

.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is part of MOM6, the Modular Ocean Model version 6.
2+
# See the LICENSE file for licensing information.
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
stages:
26
- setup
37
- builds

.gitlab/mom6-ci-run-gnu-restarts-script.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
# This file is part of MOM6, the Modular Ocean Model version 6.
3+
# See the LICENSE file for licensing information.
4+
# SPDX-License-Identifier: Apache-2.0
25

36
sect=none
47
clean_stats () { # fn to clean up stats files

.gitlab/mom6-ci-run-gnu-script.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
# This file is part of MOM6, the Modular Ocean Model version 6.
3+
# See the LICENSE file for licensing information.
4+
# SPDX-License-Identifier: Apache-2.0
25

36
sect=none
47
clean_stats () { # fn to clean up stats files

.gitlab/mom6-ci-run-intel-script.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
# This file is part of MOM6, the Modular Ocean Model version 6.
3+
# See the LICENSE file for licensing information.
4+
# SPDX-License-Identifier: Apache-2.0
25

36
sect=none
47
clean_stats () { # fn to clean up stats files

.gitlab/mom6-ci-run-pgi-script.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
# This file is part of MOM6, the Modular Ocean Model version 6.
3+
# See the LICENSE file for licensing information.
4+
# SPDX-License-Identifier: Apache-2.0
25

36
sect=none
47
clean_stats () { # fn to clean up stats files

.gitlab/pipeline-ci-tool.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
2+
# This file is part of MOM6, the Modular Ocean Model version 6.
3+
# See the LICENSE file for licensing information.
4+
# SPDX-License-Identifier: Apache-2.0
25

36
# Environment variables set by gitlab (the CI environment)
47
if [ -z $JOB_DIR ]; then

0 commit comments

Comments
 (0)