-
Notifications
You must be signed in to change notification settings - Fork 209
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
Group fortran code directory within src directory #1178
Comments
As discussed in issues #1178 and #1150, the four model source directories are moved to a CIME/src directory. This is intended to help people navigate cime more easily. The changes are mainly in xml config: $CIMEROOT/externals -> $CIMEROOT/src/externals repeated for driver_cpl, share, components. Also, many changes in python to add src to the relative directory path. scripts_regression_tests all pass
Jim and I would like to propose the following strawman for today's meeting.
~/CIME/src
==========================================
~/CIME/src/externals
~/CIME/src/share
~/CIME/src/share/include
~/CIME/src/share/shr
~/CIME/src/share/test
~/CIME/src/share/unit_test_stubs
~/CIME/src/share/esmf_wrf_timemgr
~/CIME/src/share/shr_RandNum
~/CIME/src/share/timing
~/CIME/src/components
~/CIME/src/components/data_comps
~/CIME/src/components/data_comps/datm/cime_config
~/CIME/src/components/stub_comps
~/CIME/src/components/xcpl_comps
~/CIME/src/drivers
~/CIME/src/drivers/mct
~/CIME/src/drivers/mct/driver
~/CIME/src/drivers/mct/shr -> this code could be in share/ - but its
driver specific share code
~/CIME/src/drivers/mct/unit_test
~/CIME/src/drivers/mct/cime_config
~/CIME/src/drivers/nuopc
~/CIME/src/drivers/nuopc/driver
~/CIME/src/drivers/nuopc/shr -> this code could be in share/ - but its
driver specific share code
~/CIME/src/drivers/nuopc/unit_test
~/CIME/src/drivers/nuopc/cime_config
~/CIME/config (replace ~/CIME/cime_config)
==========================================
~/CIME/config/cesm
~/CIME/config/acme
~/CIME/scripts
==========================================
~/CIME/scripts/Tools <===== this needs to stay (needed by CESM active
comps)
~/CIME/utils -> ~/CIME/case_control
==========================================
Anything that is not perl can be moved - what do we want to call this?
~/CIME/tools
==========================================
~/CIME/utils/perl5lib <==== this needs to stay (needed by CESM active
comps)
==========================================
…On Wed, Feb 22, 2017 at 12:52 PM, Andy Salinger ***@***.***> wrote:
Breaking out discussion from #1150
<#1150>
I propose a small clean-up of the top-level CIME dir by moving
*externals, share, driver_cp, components*
within a directory called *src*. Also, the *buildlib.** files for
compiling these libraries will be moved from cime_config to src.
Regarding comments from #1150 <#1150>
- I like the name "src" over "source" because it is commonly used for
source code, such as in virtually all ACME (and presumably CESM) components
like cam, clm, cice, mosart.
- I don't think that CIME infrastructure source (i.e. python) belongs
here. To me, there is a distinction between infrastructure source code and
model source. common_model_source_code
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1178>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHlxEyHMoVNkLFqCa3fSyRb-poT_CkLkks5rfJH4gaJpZM4MJG2M>
.
|
From discussion on telecon. Changes to above: Other proposals (copied over from meeting notes): |
Per discussion on #1178 I used "git mv cime_config config" so history will be intact. I ran 2 tests to confirm. Need to really test in acme and cesm since many changes in allactive.
Moved all 4 subdirs from share/csm_share into share/ itself. Per discussion on issue #1178. Note: retained "csm_share" library name. At some point this should be renamed "cime_share," but this might be a requore changing component build systems.
Per discussion around #1178 and 2/22/17 meeting notes.
Breaking out discussion from #1150
I propose a small clean-up of the top-level CIME dir by moving
externals, share, driver_cp, components
within a directory called src. Also, the buildlib.* files for compiling these libraries will be moved from cime_config to src.
Regarding comments from #1150
The text was updated successfully, but these errors were encountered: