Skip to content
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

mkmf submodule broken for ESM4 / OMIP tag #233

Open
jkrasting opened this issue May 27, 2018 · 5 comments
Open

mkmf submodule broken for ESM4 / OMIP tag #233

jkrasting opened this issue May 27, 2018 · 5 comments

Comments

@jkrasting
Copy link
Contributor

The mkmf submodule no longer checks out using the tag dev/gfdl/2018.04.11. The error message is:

error: Server does not allow request for unadvertised object 309d50df87a455337ec3c9bd6d0f43ede348e0c6
Fetched in submodule path 'src/mkmf', but it did not contain 309d50df87a455337ec3c9bd6d0f43ede348e0c6. Direct fetching of that commit failed.

Here are the checkout commands:

git clone https://github.com/NOAA-GFDL/MOM6-examples.git
cd MOM6-examples/
git checkout dev/gfdl/2018.04.11
git submodule init
git submodule update --recursive

And the output:

Cloning into 'MOM6-examples'...
remote: Counting objects: 41819, done.
remote: Compressing objects: 100% (86/86), done.
remote: Total 41819 (delta 87), reused 75 (delta 57), pack-reused 41675
Receiving objects: 100% (41819/41819), 45.25 MiB | 26.24 MiB/s, done.
Resolving deltas: 100% (35160/35160), done.

Note: checking out 'dev/gfdl/2018.04.11'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 192fb89b... Merge branch 'jkrasting-user/jpk/OM4_05_remap_overrides' into dev/gfdl

Submodule 'src/FMS' (https://github.com/NOAA-GFDL/FMS.git) registered for path 'src/FMS'
Submodule 'src/MOM6' (https://github.com/NOAA-GFDL/MOM6.git) registered for path 'src/MOM6'
Submodule 'src/SIS2' (https://github.com/NOAA-GFDL/SIS2.git) registered for path 'src/SIS2'
Submodule 'src/atmos_null' (https://github.com/NOAA-GFDL/atmos_null.git) registered for path 'src/atmos_null'
Submodule 'src/coupler' (https://github.com/NOAA-GFDL/coupler.git) registered for path 'src/coupler'
Submodule 'src/icebergs' (https://github.com/NOAA-GFDL/icebergs.git) registered for path 'src/icebergs'
Submodule 'src/land_null' (https://github.com/NOAA-GFDL/land_null.git) registered for path 'src/land_null'
Submodule 'src/mkmf' (https://github.com/NOAA-GFDL/mkmf.git) registered for path 'src/mkmf'
Submodule 'tools/analysis/mpl-cmocean' (https://github.com/matplotlib/cmocean.git) registered for path 'tools/analysis/mpl-cmocean'
Submodule 'tools/matlab/gtools' (https://github.com/Adcroft/gtools.git) registered for path 'tools/matlab/gtools'
Submodule 'tools/python/MIDAS' (https://github.com/mjharriso/MIDAS.git) registered for path 'tools/python/MIDAS'

Cloning into '/lustre/f1/unswept/John.Krasting/MOM6-examples/src/FMS'...
Cloning into '/lustre/f1/unswept/John.Krasting/MOM6-examples/src/MOM6'...
Cloning into '/lustre/f1/unswept/John.Krasting/MOM6-examples/src/SIS2'...
Cloning into '/lustre/f1/unswept/John.Krasting/MOM6-examples/src/atmos_null'...
Cloning into '/lustre/f1/unswept/John.Krasting/MOM6-examples/src/coupler'...
Cloning into '/lustre/f1/unswept/John.Krasting/MOM6-examples/src/icebergs'...
Cloning into '/lustre/f1/unswept/John.Krasting/MOM6-examples/src/land_null'...
Cloning into '/lustre/f1/unswept/John.Krasting/MOM6-examples/src/mkmf'...
Cloning into '/lustre/f1/unswept/John.Krasting/MOM6-examples/tools/analysis/mpl-cmocean'...
Cloning into '/lustre/f1/unswept/John.Krasting/MOM6-examples/tools/matlab/gtools'...
Cloning into '/lustre/f1/unswept/John.Krasting/MOM6-examples/tools/python/MIDAS'...
Submodule path 'src/FMS': checked out '34097d072ca2913668350ebd1a04957516c8fb67'
Submodule path 'src/MOM6': checked out 'b190a305031dbb6c277b8af674643e867709478a'
Submodule path 'src/SIS2': checked out 'a3be158607ac4c2cf56610c55b5f7254c76db821'
Submodule path 'src/atmos_null': checked out 'a149b0b6d2375c2221d108c44283a14dbdaaf404'
Submodule path 'src/coupler': checked out '530e9a184fd47600b0f0a2a87060466cbe13a862'
Submodule path 'src/icebergs': checked out '33603c93e5807969476bcb4a9cdc37ec2e360089'
Submodule path 'src/land_null': checked out 'b7a8d92ade6125ae7281dd1ca84078ce226440b4'
error: Server does not allow request for unadvertised object 309d50df87a455337ec3c9bd6d0f43ede348e0c6
Fetched in submodule path 'src/mkmf', but it did not contain 309d50df87a455337ec3c9bd6d0f43ede348e0c6. Direct fetching of that commit failed.

@adcroft and @underwoo - I see the mkmf repo was updated a few days ago. Did something go awry with the repo?

@underwoo
Copy link
Member

underwoo commented May 27, 2018 via email

@jkrasting
Copy link
Contributor Author

jkrasting commented May 27, 2018 via email

@adcroft
Copy link
Member

adcroft commented May 28, 2018

I can reproduce your problem.

Commit NOAA-GFDL/mkmf@309d50d does still exist (click the link).

However, that commit used to be on a branch "find.symlinks" which has been deleted. From an older clone:

git log --oneline ..origin/find.symlinks
309d50d Better fix for symlinks
8895cac list_paths now finds symlinks as well

That branch was clearly not merged because the commit is not in the history for the sole remaining branch "master":

$ git log --oneline
e22242f New template for Travis-CI (#16)
e746b66 Version 19.3.0 (#15)
44bce48 Add ability to use CPP to preprocess Fortran files (#14)
f6e28ed Updated mkmf version to 19.2.0
fc38690 Add -l option for link options
27b7a82 Update ncrc templates for latest ncrc/c3 settings
725a382 Fixed FFLAGS_REPRO options for ncrc-pgi
1848160 Clean up documentation duplication
932dd47 Merge branch 'git_version_tag'
421d030 Merge in github changes
8400755 Bring in changes in upstream repository
2af5b15 Add git file hash as cpp macro to compile command
fa104ce COPYING file now in markdown
6b10024 Merge pull request #8 from nicjhan/gnu-fpe-trap
544e7e3 Trap FPEs in GNU debug build.
1bfb7ca Merge branch 'linux.intel.fix'
c41505f Remove deprecated options in linux-intel.mk
fd35f5d Update LICENSE.md
a5647dc More POSIX conformance, ref hash in no repo
3ffb5ff Corrected the install steps
e84eae3 Add Install section to README.module
c2f56f7 Add documents and templates
02c4534 Moved mkmf to bin dir
f92fdc9 Doc and other stuff added.
6e7a1fb Import of bronx-7 mkmf

I suspect that only commits on branches are being downloaded during the clone.

@underwoo For the interim, I think we need you to restore the branch since tagged models point to it. I'll make a list of any commits you asked us to use that are not on "master". Somehow we need to find a way to get that commit into the history, perhaps by reverting it on the find.symlinks branch and then merging the branch as a no-op?

@underwoo
Copy link
Member

Commit/branch restored.

@jkrasting
Copy link
Contributor Author

jkrasting commented May 28, 2018 via email

marshallward added a commit that referenced this issue Apr 6, 2023
- NOAA-GFDL/MOM6@fc823f5d7 Merge branch 'main' into merge_main_20230405
- NOAA-GFDL/MOM6@a6f813e05 (*)Fix MOM_calc_grad_Coriolis GLOBAL_INDEXING bug
- NOAA-GFDL/MOM6@1e54bed6a Merge pull request #1594 from NCAR/dev-ncar-main-candidate-2023-03-02
- NOAA-GFDL/MOM6@d1d53bcb4 remove inadvertent reassignment of layer_frac
- NOAA-GFDL/MOM6@ed93a232a  add SMOOTH_RI to MOM_obsolete_params.F90
- NOAA-GFDL/MOM6@774074ff9 minor styling fixes to address PR #1594 reviews.
- NOAA-GFDL/MOM6@9786710c3 Merge pull request #235 from mom-ocean/main
- NOAA-GFDL/MOM6@c142e4c39 Merge pull request #231 from jedwards4b/cesm_logging_improvements
- NOAA-GFDL/MOM6@4959ee12f update more write units to stdout in mom6 nuopc cap and let only rootpe write logs.
- NOAA-GFDL/MOM6@b693dd2d8 remove more direct calls to FMS in mom_cap.F90
- NOAA-GFDL/MOM6@1dce6df13 merge latest dev/ncar and resolve conflicts
- NOAA-GFDL/MOM6@5b274bbde Merge pull request #234 from alperaltuntas/fix_gnu_restart
- NOAA-GFDL/MOM6@0f1fc0386 fix gnu restart issue by removing leading spaces in restartfiles list
- NOAA-GFDL/MOM6@9d5d9bb40 Merge pull request #233 from marshallward/siglongjmp_name_fix
- NOAA-GFDL/MOM6@de8023d10 POSIX: siglongjmp and sigsetjmp_missing fixes
- NOAA-GFDL/MOM6@7f024685f Merge pull request #229 from gustavo-marques/merge_main_08Dec22
- NOAA-GFDL/MOM6@a789254e0 get the variable name correct
- NOAA-GFDL/MOM6@8bc69f67e further improvement to logunit setting
- NOAA-GFDL/MOM6@cac67d1e7 revert change to github action
- NOAA-GFDL/MOM6@12238ae21 remove whitespace
- NOAA-GFDL/MOM6@7824dcec7 switch to openmpi for github tests
- NOAA-GFDL/MOM6@a80b91ded use more cesm style logging
- NOAA-GFDL/MOM6@380864138 Switch from mpich to openmpi
- NOAA-GFDL/MOM6@ed252790d Merge branch 'dev/ncar' into main_08Dec22
- NOAA-GFDL/MOM6@1eb6be9c8 Merge pull request #222 from NCAR/willy_tracer
- NOAA-GFDL/MOM6@4840c6fdb Merge pull request #226 from gustavo-marques/fix_diags_docs
- NOAA-GFDL/MOM6@d5bd437b7 Merge pull request #225 from gustavo-marques/multiple_ri_smooth
- NOAA-GFDL/MOM6@0cf34d352 Fix string order in regional_section
- NOAA-GFDL/MOM6@b4440417c Adds option to smooth gradient Ri multiple times
- NOAA-GFDL/MOM6@09278521c Modify gradient Richarson number diagnostics
- NOAA-GFDL/MOM6@cfd7c0bde Rename parameter SMOOTH_RI to N_SMOOTH_RI
- NOAA-GFDL/MOM6@fe3cb4d69 Merge pull request #224 from gustavo-marques/merge-dev-gfdl-candidate-main-2022-08-10
- NOAA-GFDL/MOM6@36487d828 Merge branch 'main' into merge-dev-gfdl-candidate-main-2022-08-10
- NOAA-GFDL/MOM6@0b5cd6ff7 Merge pull request #223 from mom-ocean/main
- NOAA-GFDL/MOM6@dfb37154a Changed parameter reference for ideal_age_physics to Hbl=Hml
- NOAA-GFDL/MOM6@e300296ac Changed GV%nkbl back to GV%nkml
- NOAA-GFDL/MOM6@5ac624241 All references to "mixed layer" in the ideal age module now refer to "boundary layer" instead.
- NOAA-GFDL/MOM6@0d86acd52 Shortened line length to make dOxygen happy
- NOAA-GFDL/MOM6@2428684ac !! ---->  !<
- NOAA-GFDL/MOM6@f415a7f5c Shortens a line and removes whitespace
- NOAA-GFDL/MOM6@bb02a51be A new tracer that keeps track of "mixed layer age" has been added to the ideal age module. This PR also adds the ability to use the actual BL depth that is diagnosed by the active BL scheme inside the ideal age module (for all ideal age tracers).
- NOAA-GFDL/MOM6@d9ec82e4d Merge branch 'mom-ocean:main' into dev/ncar
- NOAA-GFDL/MOM6@605771423 Follow MOM6 code style guide
- NOAA-GFDL/MOM6@8e833d4d9 Add missing units
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants