Skip to content

Instantly share code, notes, and snippets.

View bishtgautam's full-sized avatar

Gautam Bisht bishtgautam

View GitHub Profile
@bishtgautam
bishtgautam / ERS.f45_g37.B1850C5.pe-layout-env_mach_pes.xml
Created July 24, 2015 19:30
ERS.f45_g37.B1850C5.pe-layout-env_mach_pes.xml
<?xml version="1.0"?>
<config_definition>
<!-- ========================================================================== -->
<!-- -->
<!-- These variables CANNOT be modified once cesm_setup has been -->
<!-- invoked without first invoking cesm_setup -clean. -->
<!-- -->
<!-- component task/thread settings -->
>ncdump -h cpl/cpl6/map_r05_to_oEC60to30_nn.160113.nc
netcdf map_r05_to_oEC60to30_nn.160113 {
dimensions:
n_a = 259200 ;
ni_a = 720 ;
nj_a = 360 ;
nv_a = 4 ;
src_grid_rank = 2 ;
n_b = 234988 ;
ni_b = 234988 ;
@bishtgautam
bishtgautam / baseline-generation-and-comparison
Last active April 18, 2017 20:37
baseline-generation-and-comparison
#
>git checkout bishtgautam/lnd/lateral-vsfm-infrastructure
# Let's look at the graph
>git log --oneline --decorate --graph
* c425c1a (HEAD, origin/thorntonpe/lnd/implement-architecture-v2, origin/bishtgautam/lnd/lateral-vsfm-infrastructure, bishtgautam/lnd/lateral-vsfm-infrastructure) Updates VSFM solver tolerance after an unacceptable solution
* ff07479 Adds options to include lateral flows in VSFM
* 46115a8 Updates VSFM solver in ALM to saves internal/boundary mass flux
* da638f5 Turns on lateral subsurface flow in ALM
* 99c6fe6 Adds seepage face BC in ALM VSFM solver
# Switch to my branch
>git checkout bishtgautam/lnd/lateral-vsfm-infrastructure
# Get recent changes for this branch
>git pull --ff-only
# Switch to your branch and rebase
>git checkout thorntonpe/lnd/implement-architecture-v2
# Rebase branch
>git rebase bishtgautam/lnd/lateral-vsfm-infrastructure
# Check the graph
>git log --oneline --decorate --graph -n 10
```
Update the support for ORNL cades cluster
The change has been tested with Single point ALM run for UQ.
[BFB]
A single-site case can be tested via:
cd ACME/components/clm/tools/clm4_5/pointclm
>diff SMS_D_Ln5.ne4_ne4.FC5AV1C-04P2.melvin_gnu_2017-04-25.txt SMS_D_Ln5.ne4_ne4.FC5AV1C-04P2.melvin_gnu_2017-04-26.txt
1,2c1,2
< 2017-04-24 20:31:29: CREATE_NEWCASE PASSED for test 'SMS_D_Ln5.ne4_ne4.FC5AV1C-04P2.melvin_gnu'.
< Command: /home/jenkins/slave/workspace/ACME_Basic_next/ACME_Climate/cime/scripts/create_newcase --case /home/jenkins/acme/scratch/jenkins/SMS_D_Ln5.ne4_ne4.FC5AV1C-04P2.melvin_gnu.C.jenkins_next_20170424_203124 --res ne4_ne4 --mach melvin --compiler gnu --compset FC5AV1C-04P2 --test --walltime 0:45:00
---
> 2017-04-25 20:31:31: CREATE_NEWCASE PASSED for test 'SMS_D_Ln5.ne4_ne4.FC5AV1C-04P2.melvin_gnu'.
> Command: /home/jenkins/slave/workspace/ACME_Basic_next/ACME_Climate/cime/scripts/create_newcase --case /home/jenkins/acme/scratch/jenkins/SMS_D_Ln5.ne4_ne4.FC5AV1C-04P2.melvin_gnu.C.jenkins_next_20170425_203126 --res ne4_ne4 --mach melvin --compiler gnu --compset FC5AV1C-04P2 --test --walltime 0:45:00
14,15c14,15
< acme model version found: 04d21cb
>module list
Currently Loaded Modulefiles:
1) eswrap/1.3.3-1.020200.1278.0 5) udreg/2.3.2-1.0502.10518.2.17.gem 9) gni-headers/4.0-1.0502.10859.7.8.gem 13) rca/1.0.0-2.0502.60530.1.63.gem 17) craype-interlagos 21) modulator/1.2.0
2) craype-network-gemini 6) ugni/6.0-1.0502.10863.8.28.gem 10) xpmem/0.1-2.0502.64982.5.3.gem 14) atp/2.0.5 18) lustredu/1.4 22) hsi/5.0.2.p1
3) pgi/16.10.0 7) pmi/5.0.11 11) dvs/2.5_0.9.0-1.0502.2188.1.113.gem 15) PrgEnv-pgi/5.2.82 19) xalt/0.7.5 23) DefApps
4) craype/2.5.9 8) dmapp/7.0.1-1.0502.11080.8.74.gem 12) alps/5.2.4-2.0502.9774.31.12.gem 16) cray-mpich/7.5.2 20) module_msg/0.1 24) python/2.7.9
>./scripts_regression_tests.py -v -b
Testing commit 0d320ec57666eb139
git log --oneline --decorate --graph 6845b38a811bffb79785acd5a8cc48fbf382c617..775b2ab34cad17d1a9446a4a12675cd791478f0d
* 775b2ab Merge 'singhbalwinder/atm/change-cosp-testmods-dir' into master (PR #1497)
|\
| * 884955a Moves cosplite testmods directory under cam folder
* | 8071c9a Merge branch 'azamat/cetus/fix-test-timeouts' (PR #1414)
|\ \
| * | b197302 (origin/azamat/cetus/fix-test-timeouts) Reduce debug messages from RTM
| * | 47ac074 Adjust to match PEs for MPAS tests
| * | 6002bc7 Update Cetus test PEs
| /
git pull --ff-only
# Checkout the branch and look at the graph
git daliwang/lnd/shared_after_rebase
git log --oneline --decorate --graph
# Checkout the master as of April 7, at commit b6af438
git checkout b6af438
# Create a new branch
>git log --oneline --decorate --graph -n 10
* 11216be (HEAD -> jenn/gas-generation-reg-tests, origin/jenn/gas-generation-reg-tests) Added two regression tests for the WIPP_SOURCE_SINK gas/brine generation process model, one in serial and one in parallel.
* 873dcd9 Added an output regression test for the WIPP_SOURCE_SINK .pnl file.
* fc98c96 Added OUTPUT_START_TIME so that the start time of printing out the .pnl file can be controlled. I mostly added this so the output comparison regression test can have a clipped .pnl file.
* e10a477 Error message did not work in parallel for the check on rock density. Fix involved only checking where the region was local and also had to use printErrMsgByRank.
* 239339c Needed two rate_string variables, one for energy rates and one for mass or volumetric rates, because the internal unit string was remembering only the last rate, which is a problem in TH mode.
* f85d6a9 Fixed incorrect indexing of pressure array for eos gas testing.
* 7b4a89d Updated module dependencies.
* c