Skip to content
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
153835e
Fix missing comma #1497
alcoat Oct 3, 2025
a36d228
Merge branch 'NOAA-EMC:develop' into develop
alcoat Oct 10, 2025
3048113
allow to compile with switches S and T
alcoat Oct 16, 2025
3b6a61a
enable gnu CI
alcoat Oct 17, 2025
16fe73c
Merge branch 'NOAA-EMC:develop' into develop
alcoat Oct 17, 2025
28ace2d
replace abort by extcde or extopn
alcoat Oct 17, 2025
a2fdb2d
change type mpicomm
alcoat Oct 17, 2025
dad78b8
fix mpicomm init
alcoat Oct 17, 2025
92d2b40
just try cast
alcoat Oct 17, 2025
f29212d
back
alcoat Oct 17, 2025
9a0e492
Cancel MULTI_ESMF
alcoat Oct 19, 2025
7ebf783
cancel MULTI_ESMF and ite_pdlib
alcoat Oct 19, 2025
aa866b4
comment external abort
alcoat Oct 19, 2025
50514e8
fix call to ESMF_VMGet
alcoat Oct 19, 2025
47d7a68
Merge branch 'develop' into develop
alcoat Oct 21, 2025
04f1d4a
upgrade netcdf
alcoat Oct 21, 2025
b771654
activate Intel build with ubuntu 22.04: new glibc not compatible with…
alcoat Oct 21, 2025
20579f5
Merge branch 'develop' of https://github.com/alcoat/WW3 into develop
alcoat Oct 21, 2025
87b74d0
Merge branch 'NOAA-EMC:develop' into develop
alcoat Oct 24, 2025
00b817d
replace tempdisable files
alcoat Oct 27, 2025
ca1402c
Merge branch 'develop' of https://github.com/alcoat/WW3 into develop
alcoat Oct 27, 2025
7764cb4
rename workflow files
alcoat Oct 27, 2025
3c704f5
Merge branch 'NOAA-EMC:develop' into develop
alcoat Nov 2, 2025
5b4eb3f
fix trace for switch NL1
alcoat Nov 2, 2025
ef38091
Merge branch 'develop' of https://github.com/alcoat/WW3 into develop
alcoat Nov 2, 2025
962ac0b
Merge branch 'NOAA-EMC:develop' into develop
alcoat Nov 5, 2025
5a2aeab
remove not needed EXTCDE
alcoat Nov 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ concurrency:

env:
cache_key: gnu11
CC: gcc-10
FC: gfortran-10
CXX: g++-10
CC: gcc-14
FC: gfortran-14
CXX: g++-14


# Split into a steup step, and a WW3 build step which
Expand Down Expand Up @@ -45,7 +45,8 @@ jobs:
run: |
# Install NetCDF, ESMF, g2, etc using Spack
sudo apt install cmake
git clone -c feature.manyFiles=true https://github.com/JCSDA/spack.git
#git clone -c feature.manyFiles=true https://github.com/JCSDA/spack.git
git clone -c feature.manyFiles=true --depth=2 --branch=spack-stack-1.9.3 https://github.com/JCSDA/spack.git
source spack/share/spack/setup-env.sh
spack env create ww3-gnu ww3/model/ci/spack_gnu.yaml
spack env activate ww3-gnu
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ env:

jobs:
setup:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ concurrency:

env:
cache_key: gnu11-1
CC: gcc-10
FC: gfortran-10
CXX: g++-10
CC: gcc-14
FC: gfortran-14
CXX: g++-14


# Split into a steup step, and a WW3 build step which
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
run: |
# Install NetCDF, ESMF, g2, etc using Spack
sudo apt install cmake
git clone -c feature.manyFiles=true https://github.com/JCSDA/spack.git
git clone -c feature.manyFiles=true --depth=2 --branch=spack-stack-1.9.3 https://github.com/JCSDA/spack.git
source spack/share/spack/setup-env.sh
spack env create ww3-gnu ww3/model/ci/spack_gnu.yaml
spack env activate ww3-gnu
Expand Down
6 changes: 3 additions & 3 deletions model/ci/spack_gnu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ spack:
- metis@5.1.0~shared
- parmetis@4.0.3~shared
- scotch@7.0.1+mpi+metis~shared
- netcdf-c@4.7.4~dap
- netcdf-fortran@4.5.3
- netcdf-c@4.9.2~dap
- netcdf-fortran@4.6.1
- jasper@2.0.32
- g2@3.4.5
- bacio@2.4.1
- w3emc@2.9.2
- w3emc@2.12.0
- parallelio@2.5.9+fortran~pnetcdf
- esmf@8.4.2~debug~xerces+external-parallelio
view: true
Expand Down
4 changes: 2 additions & 2 deletions model/ci/spack_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ spack:
providers:
mpi: [intel-oneapi-mpi]
specs:
- netcdf-c@4.7.4~dap
- netcdf-fortran@4.5.3
- netcdf-c@4.9.2~dap
- netcdf-fortran@4.6.1
- bacio@2.4.1
- g2@3.4.5
- metis@5.1.0~shared
Expand Down
4 changes: 2 additions & 2 deletions model/src/w3adatmd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -948,11 +948,11 @@ SUBROUTINE W3DIMA ( IMOD, NDSE, NDST, D_ONLY )
!/ Local parameters
!/
INTEGER :: JGRID, NXXX, NSEAL_tmp
integer :: memunit
#ifdef W3_S
INTEGER, SAVE :: IENT = 0
CALL STRACE (IENT, 'W3DIMA')
#endif
integer :: memunit
!
! -------------------------------------------------------------------- /
! 1. Test input and module status
Expand Down Expand Up @@ -1565,11 +1565,11 @@ SUBROUTINE W3XDMA ( IMOD, NDSE, NDST, OUTFLAGS )
!/ Local parameters
!/
INTEGER :: JGRID, NXXX, I
integer :: memunit
#ifdef W3_S
INTEGER, SAVE :: IENT = 0
CALL STRACE (IENT, 'W3XDMA')
#endif
integer :: memunit
!
! -------------------------------------------------------------------- /
! 1. Test input and module status
Expand Down
11 changes: 7 additions & 4 deletions model/src/w3iogrmd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1646,10 +1646,13 @@ SUBROUTINE W3IOGR ( INXOUT, NDSM, IMOD, FEXT &
GQNQ_OM2, GQTHRSAT, GQTHRCOU, GQAMP
IF (IERR.NE.0) CALL EXTIOF(NDSE,IERR,'W3IOGR','mod_def.'//FILEXT(:IEXT),51)
END IF
IF ( FLTEST ) WRITE (NDST,9051) SNLC1, LAM, &
KDCON, KDMN, SNLS1, SNLS2, SNLS3, &
IQTPE, NLTAIL, GQNF1, GQNT1, GQNQ_OM2, &
GQTHRSAT, GQTHRCOU, GQAMP
IF ( FLTEST ) WRITE (NDST,*) &
'SNLC1, LAM, KDCON, KDMN, SNLS1, SNLS2, SNLS3, &
IQTPE, NLTAIL, GQNF1, GQNT1, &
GQNQ_OM2, GQTHRSAT, GQTHRCOU, GQAMP:', &
SNLC1, LAM, KDCON, KDMN, SNLS1, SNLS2, SNLS3, &
IQTPE, NLTAIL, GQNF1, GQNT1, &
GQNQ_OM2, GQTHRSAT, GQTHRCOU, GQAMP
#endif
!
#ifdef W3_NL2
Expand Down
8 changes: 6 additions & 2 deletions model/src/w3snl1md.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1555,10 +1555,10 @@ SUBROUTINE INSNLGQM
!/ ------------------------------------------------------------------- /
USE CONSTANTS, ONLY: GRAV
USE W3GDATMD, ONLY: NK , NTH , XFR , FR1, GQNF1, GQNT1, GQNQ_OM2, NLTAIL, GQTHRCOU

#ifdef W3_S
CALL STRACE (IENT, 'INSNLGQM')
USE W3SERVMD, ONLY: STRACE
#endif

IMPLICIT NONE
!.....LOCAL VARIABLES
INTEGER JF , JT , JF1 , JT1 , NF1P1 , IAUX , NT , NF , IK
Expand All @@ -1582,6 +1582,10 @@ SUBROUTINE INSNLGQM
DOUBLE PRECISION :: FREQ(NK)
DOUBLE PRECISION, ALLOCATABLE :: F1SF(:) , X_CHE_TE1(:) , X_CHE_OM2(:) , X_LEG_OM2(:) , W_LEG_OM2(:) &
, MAXCLA(:)
#ifdef W3_S
INTEGER, SAVE :: IENT = 0
CALL STRACE (IENT, 'INSNLGQM')
#endif

PI = Acos(-1.)
LBUF = 500
Expand Down
2 changes: 1 addition & 1 deletion model/src/w3strkmd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ SUBROUTINE waveTracking_NWS_V2 (intype ,tmax , &
!/ reserved. WAVEWATCH III is a trademark of the NWS.
!/ No unauthorized use without permission.
!/
USE W3SERVMD, ONLY: EXTIOF
USE W3SERVMD, ONLY: EXTIOF, EXTCDE
Comment thread
alcoat marked this conversation as resolved.
Outdated
#ifdef W3_MPI
use mpi_f08
#endif
Expand Down
8 changes: 5 additions & 3 deletions model/src/wmesmfmd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ module WMESMFMD
!/
! --- ESMF Module
use ESMF

! --- NUOPC modules
use NUOPC
use NUOPC_Model, parent_SetServices => SetServices
Expand Down Expand Up @@ -203,6 +202,7 @@ module WMESMFMD
!/
#ifdef W3_MPI
use mpi_f08
use, intrinsic :: iso_c_binding, only: C_INT
#endif
!/
implicit none
Expand Down Expand Up @@ -757,7 +757,8 @@ subroutine InitializeP1 ( gcomp, impState, expState, extClock, rc )
integer, parameter :: iwt=2
real(8) :: wstime, wftime
integer :: idsi, idso, idss, idst, idse
integer :: mpiComm = -99
type(MPI_COMM) :: mpicomm = MPI_COMM_WORLD
integer(C_INT) :: c_int_mpicomm
logical :: configIsPresent
type(ESMF_Config) :: config
character(ESMF_MAXSTR) :: wrkdir = '.'
Expand Down Expand Up @@ -887,7 +888,8 @@ subroutine InitializeP1 ( gcomp, impState, expState, extClock, rc )
call ESMF_GridCompGet(gcomp, vm=vm, rc=rc)
if (ESMF_LogFoundError(rc, PASSTHRU)) return
call ESMF_VMGet(vm, petCount=npet, localPet=lpet, &
mpiCommunicator=mpiComm, rc=rc)
mpiCommunicator=c_int_mpicomm, rc=rc)
mpicomm = MPI_Comm(c_int_mpicomm)
if (ESMF_LogFoundError(rc, PASSTHRU)) return
nmproc = npet
improc = lpet + 1
Expand Down
3 changes: 3 additions & 0 deletions model/src/ww3_prtide.F90
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ PROGRAM W3PRTIDE
!
LOGICAL :: TIDEFILL
!
#ifdef W3_S
INTEGER, SAVE :: IENT = 0
#endif
!/
!/ ------------------------------------------------------------------- /
!/
Expand Down