Skip to content

Commit

Permalink
Moving everything from commit ad57fdd
Browse files Browse the repository at this point in the history
  • Loading branch information
phamkh committed Oct 6, 2023
1 parent d193e9d commit 47a1079
Show file tree
Hide file tree
Showing 177 changed files with 13,709 additions and 161,537 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Changes of the current version compared to public TIEGCM v2\.0 \(2016\):

- The job script is modified to support arbitrary combination of horizontal and vertical resolutions, change of magnetic grids is also supported\.
- The job script, defs\.h and initialization of some altitude\-dependent variables \(xfac/ar\_glbm/aureff/bdriz\) are rewritten to support the extension of the upper boundary\.
- The modeltime of input/output is set to 4 digits \(day/hour/minute/second\) instead of the old 3\-digit format \(day/hour/minute\) to allow a higher cadence\.
- The calculation of N2 mixing ratio, mean molecular mass and scale height is unified in the model to avoid recalculation\. Some artificial caps of N2 mixing ratio are removed\.
- Rewrite the Helium module and it is now included with in all resolutions \(default on\)\.
- The old Fourier filter is replaced with the new ring filter\.
- An additional input parameter NSTEP\_SUB is introduced to control the number of O\+ sub\-cyling\.
- NetCDF4 parallel IO is turned on to reduce the memory usage on root task\.
- ESMF calls are modified to ensure bit\-for\-bit reproducibility\.
- IGRF is updated to the newest version\.
- Magnetospheric coupling module is rewritten to support in-memory MPI data transfer\.
- Simplify the code by removing unused parameters/argmuments/variables in some functions\.
- Some MPI subroutines are rewritten to allow a speed boost\.
- dipmin is set to sin\(dlat\*2\*dtr\) instead of manual setup in different resolutions\.
- Some minor bug fixes\.

Change of physics:
- Modified the coefficients of solar heating \(Astrid Maute\)\.
- Add a scaling factor in accounting for the height variation of equatorward electric field \(elam\) \(Astrid Maute\)\.
- Include the field\-aligned ion drag in the momentum equation \(Jiuhou Lei\)\.
- Change the parameterization scheme of electron heat flux \(fed\) near the equator in settei \(Tong Dang\)\.
- Use a sixth\-order polynomial for thermal electron heating efficiency \(Yihui Cai\)\.
- Electrojet turbulent heating, default off \(Jing Liu\)\.
- Empirical SAPS, default off \(Cheng Sheng\)\.
2 changes: 1 addition & 1 deletion benchmarks/archive_hpss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set mycwd = `pwd` # probably not necessary
set model = tiegcm2.0
set hpss_home = /home/tgcm/$model
set data_home = /glade/p/hao/tgcm/data
set bench_home = /glade/p/hao/tgcm/tiegcm_benchmarks
set bench_home = /glade/p/hao/tgcm/tiegcm2.0/benchmarks
#
# Save model source that generated the benchmarks:
#
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/postproc/runproc_climatology
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Make runs of post-processor to generate plots from one-year climatology benchmark runs:
#
set mycwd = `pwd`
set home = /glade/p/hao/tgcm/tiegcm_benchmarks # base working directory
set home = /glade/p/hao/tgcm/tiegcm2.0/benchmarks # base working directory
set proc = $home/postproc/tgcmproc_f90/tgcmproc/tgcmproc # python app to make multiple proc runs

set singleut = no # generally do not make instantaneous plots for climatology
Expand Down
16 changes: 8 additions & 8 deletions benchmarks/postproc/runproc_seasons
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# (instantaneous and time-dependent)
#
set mycwd = `pwd`
set home = /glade/p/hao/tgcm/tiegcm_benchmarks # base working directory
set home = /glade/p/hao/tgcm/tiegcm2.0/benchmarks # base working directory
set proc = $home/postproc/tgcmproc_f90/tgcmproc/tgcmproc # python app to make multiple proc runs

set singleut = yes # make instantaneous plots
Expand All @@ -30,14 +30,14 @@ foreach res ($resolutions)
endif

set runs = ( \
tiegcm_res${res}_decsol_smax \
tiegcm_res${res}_decsol_smin \
# tiegcm_res${res}_decsol_smax \
# tiegcm_res${res}_decsol_smin \
tiegcm_res${res}_junsol_smax \
tiegcm_res${res}_junsol_smin \
tiegcm_res${res}_mareqx_smax \
tiegcm_res${res}_mareqx_smin \
tiegcm_res${res}_sepeqx_smax \
tiegcm_res${res}_sepeqx_smin \
# tiegcm_res${res}_junsol_smin \
# tiegcm_res${res}_mareqx_smax \
# tiegcm_res${res}_mareqx_smin \
# tiegcm_res${res}_sepeqx_smax \
# tiegcm_res${res}_sepeqx_smin \
)

set case = tiegcm_res${res}_seasons
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/postproc/runproc_storms
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# (instantaneous and time-dependent)
#
set mycwd = `pwd`
set home = /glade/p/hao/tgcm/tiegcm_benchmarks # base working directory
set home = /glade/p/hao/tgcm/tiegcm2.0/benchmarks # base working directory
set proc = $home/postproc/tgcmproc_f90/tgcmproc/tgcmproc # python app to make multiple proc runs

set singleut = yes # make instantaneous plots
Expand Down
5 changes: 3 additions & 2 deletions benchmarks/run_climatology
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
# $modelroot: Model root directory (with src, scripts, etc)
# $tgcmrun: Path to tgcmrun executable (python)
#
set home = /glade/p/hao/tgcm/tiegcm_benchmarks
set modelroot = $home/tiegcm_trunk
set home = /glade/p/hao/tgcm/tiegcm2.0/benchmarks
set modelroot = /glade/p/hao/tgcm/tiegcm2.0/tiegcm2.0
set tgcmdata = /glade/p/hao/tgcm/data/tiegcm2.0
set tgcmdata = /glade/p/hao/tgcm/data/tiegcm2.0
set tgcmrun = $modelroot/tgcmrun/tgcmrun
set queue = regular # for LSF jobs
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/run_seasons
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# $modelroot: Model root directory (with src, scripts, etc)
# $tgcmrun: Path to tgcmrun executable (python)
#
set home = /glade/p/hao/tgcm/tiegcm_benchmarks
set modelroot = $home/tiegcm_trunk
set home = /glade/p/hao/tgcm/tiegcm2.0/benchmarks
set modelroot = /glade/p/hao/tgcm/tiegcm2.0/tiegcm2.0
set tgcmdata = /glade/p/hao/tgcm/data/tiegcm2.0
set tgcmrun = $modelroot/tgcmrun/tgcmrun
set queue = regular # for LSF jobs
Expand Down
5 changes: 3 additions & 2 deletions benchmarks/run_storms
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
# $modelroot: Model root directory (with src, scripts, etc)
# $tgcmrun: Path to tgcmrun executable (python)
#
set home = /glade/p/hao/tgcm/tiegcm_benchmarks
set modelroot = $home/tiegcm_trunk
set home = /glade/p/hao/tgcm/tiegcm2.0/benchmarks
set modelroot = /glade/p/hao/tgcm/tiegcm2.0/tiegcm2.0
set tgcmdata = /glade/p/hao/tgcm/data/tiegcm2.0
set tgcmdata = /glade/p/hao/tgcm/data/tiegcm2.0
set tgcmrun = $modelroot/tgcmrun/tgcmrun
set queue = regular # for LSF jobs
Expand Down
Loading

0 comments on commit 47a1079

Please sign in to comment.