Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ddcdfad
Added first try at archer2 compilation and running files
Mar 26, 2021
d0faebb
Adrian Hill archer2 hang fix
Mar 26, 2021
7690a80
Added submission and running files from MOSRS head
Mar 26, 2021
0a14885
Added explicit module loading
Mar 31, 2021
d66db57
Changed slurm header
Mar 31, 2021
dd62572
added flags for short queue
Mar 31, 2021
597727d
removed ulimit
Mar 31, 2021
c74d111
removed double execution
Apr 1, 2021
c3c0709
Changes to asubmonc modules and set for straka test
Apr 1, 2021
57b118b
Modified compile script to use same module list
Apr 1, 2021
a75ea26
Fixed path to submission script
Apr 1, 2021
12b1b33
Modified compilation script to allow easy switching and fcm keywords
Apr 14, 2021
2360341
Made fcm make commands live
Apr 14, 2021
2d1a573
Tried expanding number of processors
Apr 14, 2021
b3d2f73
reverted changes to increase number of processors
Apr 14, 2021
dc974f7
Added account temporarily to asubmonc
Apr 14, 2021
a0399d4
revert changes from archer2 fix
Apr 14, 2021
3551b84
brought back in archer2 fixes and added halo fix 1 of 2
Apr 14, 2021
9a9359f
Added halo fix 2 of 2 for gnu compiler compatibility
Apr 14, 2021
aa6a798
First stage prep for running bomex tests
Apr 14, 2021
d4ec85d
changed grid size to 64x54 to be consistant with adrian hill changes …
Apr 14, 2021
1af0d10
changes in prep for bomex casim/socrates test
Apr 15, 2021
5b0df4d
Added two dummy modules for casim compilation - consistent with AH co…
Apr 15, 2021
c951f4e
revert back to older casim and socrates temporarily
Apr 15, 2021
9a8ea80
added gnu/cray switch
Apr 21, 2021
bb01968
Update monc_compile_arc.sh
cemac-ccs Apr 23, 2021
7442b86
Second change for #45
cemac-ccs Apr 23, 2021
9080fdd
changed revision for socrates to 358 rather than um10.8 tag
Apr 29, 2021
75be1a9
Merge branch 'archer2_compatibility' of https://github.com/cemac-ccs/…
Apr 29, 2021
262695c
Small changes to make diff between continuation scripts easier
Apr 29, 2021
caf4634
Rolling back changes that appear in other PRs and are unrelated to ar…
Apr 30, 2021
1d62b31
Whitespace changes in slurm continuation script
Apr 30, 2021
f978d1a
Added compiler switch to asubmonc.sb
Apr 30, 2021
fc95fcf
Added the spectral k files from socrates revision 358 to repo
Apr 30, 2021
874e0b9
Change n02 code
May 5, 2021
5d74ab5
Merge branch 'master' of https://github.com/Leeds-MONC/monc into arch…
Jun 11, 2021
aaecdbd
Added info about archer2 compatability to changelog
Jun 11, 2021
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ monc_stdout/

submonc.sge.[oe]*
.*.sw*
*.nc
*.autogen
__pycache__/
.pytest_cache/
15 changes: 10 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@

### New features

- ARC4 compilation modifications and instructions (#28) by [Chris
Symonds](https://github.com/cemac-css)
- Archer2 compatibility changes (#45) by [Chris Symonds](https://github.com/cemac-css), based on changes by Adrian Hines. Includes changes to the following:
- Casim core - adds dummy modules for compatibility with newer versions of casim
- IO bridge adds a new field to configuration data structure which replaces `command_to_send` variable in mpi comms
- Added socrates locations to keyword fcm conf file
- Added job handling and compilation scripts for archer2
- halo_swap_neighbors process modified
- modified bomex mcf file to use 64x64 grids and l_constant_forcing_theta_height variable

- Continuous integration testing with Travis (using simplified version of
Straka test case) (#9 and #10) by [Leif
Denby](https://github.com/leifdenby)
- ARC4 compilation modifications and instructions (#28) by [Chris Symonds](https://github.com/cemac-css)

- Continuous integration testing with Travis (using simplified version of Straka test case) (#9 and #10) by [Leif Denby](https://github.com/leifdenby)


### Bug fixes
Expand Down
96 changes: 96 additions & 0 deletions components/casim/src/um_modules_core/lsp_sedim_eulexp.F90
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
! *****************************COPYRIGHT*******************************
! (C) Crown copyright Met Office. All rights reserved.
! For further details please refer to the file COPYRIGHT.txt
! which you should have received as part of this distribution.
! *****************************COPYRIGHT*******************************
! Microphysics hydrometeor Eulerian sedimentation scheme
MODULE lsp_sedim_eulexp_mod

IMPLICIT NONE

CHARACTER(LEN=*), PARAMETER, PRIVATE :: ModuleName='LSP_SEDIM_EULEXP_MOD'

CONTAINS

SUBROUTINE lsp_sedim_eulexp( &
points,m0,dhi,dhir,rho,rhor, &
flux_fromabove, fallspeed_thislayer, &
mixratio_thislayer, fallspeed_fromabove, &
total_flux_out)

!USE lsprec_mod, ONLY: zero, one

! Use in KIND for large scale precip, used for compressed variables passed down
! from here
!USE um_types, ONLY: real_lsprec

use variable_precision, only: wp, iwp, defp

USE yomhook, ONLY: lhook, dr_hook
USE parkind1, ONLY: jprb, jpim
IMPLICIT NONE

! Description:
! Dummy replacement for lsp_sedim_eulexp, to permit compile of
! CASIM sedimentation in MONC.

! Method:
! Based on method described in Rotstayn (1997)(QJRMS, 123, 1227-1282)
!
! Code Owner: Please refer to the UM file CodeOwners.txt

! Subroutine arguments

! Intent (In)
INTEGER :: points ! number of points to process

REAL (KIND=wp) :: &
m0, &
! Small mass (kg/kg) defined in c_lspmic
dhi(points), &
! CFL limit (s m-1)
dhir(points), &
! 1.0/DHI (m s-1)
rho(points), &
! Air density (kg m-3)
rhor(points), &
! 1.0/Rho
flux_fromabove(points), &
fallspeed_thislayer(points)

! Intent (InOut)
REAL (KIND=wp) :: &
mixratio_thislayer(points), &
fallspeed_fromabove(points)

! Intent (Out)
REAL (KIND=wp) :: &
total_flux_out(points)

! Local variables

REAL (KIND=wp) :: &
mixratio_fromabove, &
! Mixing Ratio from above
flux_out, &
! Temporary flux out of layer
expfactor ! Exponential Factor

INTEGER :: i ! Loop counter

INTEGER(KIND=jpim), PARAMETER :: zhook_in = 0
INTEGER(KIND=jpim), PARAMETER :: zhook_out = 1
REAL(KIND=jprb) :: zhook_handle

CHARACTER(LEN=*), PARAMETER :: RoutineName='LSP_SEDIM_EULEXP'


!-----------------------------------------------------------------------

IF (lhook) CALL dr_hook(ModuleName//':'//RoutineName,zhook_in,zhook_handle)


IF (lhook) CALL dr_hook(ModuleName//':'//RoutineName,zhook_out,zhook_handle)
RETURN
END SUBROUTINE lsp_sedim_eulexp
END MODULE lsp_sedim_eulexp_mod
24 changes: 24 additions & 0 deletions components/casim/src/um_modules_core/um_types.F90
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
! *****************************COPYRIGHT*******************************
! (C) Crown copyright Met Office. All rights reserved.
! For further details please refer to the file COPYRIGHT.txt
! which you should have received as part of this distribution.
! *****************************COPYRIGHT*******************************

! Dummy version of um_types so CASIM will build in both MONC and UM
! lsp_sed_eulexp (from the UM) requires the precision to be set using
! real_lsprec. In the UM and rose-stem, this can be either single
! or double. The following code ensures CASIM will build in MONC with
! lsp_sed_eulexp call and single precision microphysics
!

MODULE um_types

use variable_precision, only: wp

IMPLICIT NONE

!Large scale precipitation scheme
INTEGER, PARAMETER :: real_lsprec = wp


END MODULE um_types
Loading