forked from E3SM-Project/E3SM
-
Notifications
You must be signed in to change notification settings - Fork 0
owens changes #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
oksanaguba
wants to merge
7
commits into
og/copy-owen/baseline
Choose a base branch
from
og/copy-owen/deep_atm_10_15_23
base: og/copy-owen/baseline
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
owens changes #14
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7aa0ccf
First commit with shallow/deep flag.
291d2aa
Fix segfault issues and *actually* commit it.
d15b621
Make atm_is_deep and gravity_is_const namelist parameters.
8dd0525
Alter treatment of hybrid coordinates to use consistent definition of…
OkayHughes a4a1ef9
Add greatlakes.cmake to the repository
OkayHughes 74c2469
Return vertical remap code to default, no r_hat correction
OkayHughes f2e7e04
Create code for initializing baroclinic wave, demonstrating that DA H…
OkayHughes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # CMake initial cache file for Linux 64bit RHEL7/CENTOS7 | ||
| # tested with stock gcc/gfortran and packages from EPEL: | ||
| # openmpi-devel | ||
| # blas-devel | ||
| # lapack-devel | ||
| # netcdf-fortran-devel | ||
| # | ||
| # | ||
| SET (CMAKE_Fortran_COMPILER mpif90 CACHE FILEPATH "") | ||
| SET (CMAKE_C_COMPILER mpicc CACHE FILEPATH "") | ||
| SET (CMAKE_CXX_COMPILER mpicc CACHE FILEPATH "") | ||
| SET (NetCDF_C $ENV{NETCDF_C_PATH} CACHE FILEPATH "") | ||
| SET (NetCDF_C_LIBRARY $ENV{NETCDF_C_PATH}/lib/libnetcdf.so CACHE FILEPATH "") | ||
| SET (NetCDF_C_INCLUDE_DIR $ENV{NETCDF_C_PATH}/include CACHE FILEPATH "") | ||
| SET (NetCDF_Fortran $ENV{NETCDF_F_PATH} CACHE FILEPATH "") | ||
|
|
||
| SET (NetCDF_Fortran_PATH $ENV{NETCDF_F_PATH} CACHE FILEPATH "") | ||
| SET (NetCDF_Fortran_LIBRARY $ENV{NETCDF_F_PATH}/lib/libnetcdff.so CACHE FILEPATH "") | ||
| SET (NetCDF_Fortran_INCLUDE_DIR $ENV{NETCDF_F_PATH}/include CACHE FILEPATH "") | ||
| SET (HDF5_C_LIBRARY $ENV{HDF5_PATH}/lib/libhdf5.so CACHE FILEPATH "") | ||
| SET (HDF5_C_INCLUDE_DIR $ENV{HDF5_PATH}/include CACHE FILEPATH "") | ||
| SET (HDF5_HL_LIBRARY $ENV{HDF5_PATH}/lib/libhdf5_hl.so CACHE FILEPATH "") | ||
| SET (HDF5_HL_INCLUDE_DIR $ENV{HDF5_PATH}/include CACHE FILEPATH "") | ||
| SET (PNETCDF_DIR $ENV{PNETCDF_PATH} CACHE FILEPATH "") | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| SET (WITH_PNETCDF TRUE CACHE FILEPATH "") | ||
|
|
||
| # hack until findnetcdf is updated to look for netcdf.mod | ||
| #SET (ADD_Fortran_FLAGS $ENV{NETCDF_F_PATH}/include CACHE STRING "") | ||
|
|
||
| SET (USE_QUEUING FALSE CACHE BOOL "") | ||
| SET (HOMME_FIND_BLASLAPACK ON CACHE BOOL "") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -774,6 +774,7 @@ end subroutine dmap_elementlocal | |
| subroutine coriolis_init_atomic(elem) | ||
| use element_mod, only : element_t | ||
| use physical_constants, only : omega | ||
| use control_mod, only: atm_is_deep | ||
|
|
||
| type (element_t) :: elem | ||
|
|
||
|
|
@@ -785,7 +786,10 @@ subroutine coriolis_init_atomic(elem) | |
| rangle = rotate_grid*DD_PI/180 | ||
| do j=1,np | ||
| do i=1,np | ||
| if ( rotate_grid /= 0) then | ||
| if ( rotate_grid /= 0 ) then | ||
| if (atm_is_deep) then | ||
| call abortmp('Rotated grid not yet supported in deep atmosphere') | ||
| end if | ||
| lat = elem%spherep(i,j)%lat | ||
| lon = elem%spherep(i,j)%lon | ||
| elem%fcor(i,j)= 2*omega* & | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. where is cosine part? |
||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use this abort in OG branch