<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Martin,
<div class=""><br class="">
</div>
<div class="">It’s possible to `git clone` into a specific folder with the following syntax:</div>
<div class="">
<pre style="margin-top: 0px; margin-bottom: 1em; padding: 5px; border: 0px; font-variant-ligatures: normal; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; width: auto; max-height: 600px; overflow: auto; background-color: rgb(239, 240, 241); word-wrap: normal; color: rgb(36, 39, 41); orphans: 2; widows: 2;" class=""><code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant-ligatures: inherit; font-variant-position: inherit; font-variant-caps: inherit; font-variant-numeric: inherit; font-variant-alternates: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; white-space: inherit;" class="">git clone <a href="https://github.com/MITgcm/MITgcm.git" class="">https://github.com/MITgcm/MITgcm.git</a> destination_folder</code></pre>
<div class="">or you can use the ssh version of the command</div>
<div class=""><br class="">
</div>
<div class="">When you clone it, the code will be up to date, and you will be on the `master` branch by default. As time passes you will need to use `git pull` to keep the code in that folder up to date.</div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class="">Ed</div>
<div class=""><br class="">
</div>
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Palatino; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span class="Apple-style-span" style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-collapse: separate; border-spacing: 0px;"><br class="Apple-interchange-newline">
<hr style="font-family: Tahoma; font-size: 13px;" class="">
<span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px;"><font face="Tahoma" size="2" class=""><span dir="ltr" style="font-size: 10pt;" class=""><font size="1" class=""><span style="font-size: 13px;" class=""><font size="2" class=""><b class="">Edward
Doddridge</b><br class="">
<i class="">Postdoctoral researcher</i></font></span></font></span></font></span></span></div>
<div style="color: rgb(0, 0, 0); font-family: Palatino; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span class="Apple-style-span" style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px;"><font face="Tahoma" size="2" class=""><span dir="ltr" style="font-size: 10pt;" class=""><font size="1" class=""><span style="font-size: 13px;" class=""><font size="2" class=""><i class="">Earth,
Atmospheric and Planetary Sciences</i></font></span></font></span></font></span></span></div>
<div style="color: rgb(0, 0, 0); font-family: Palatino; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span class="Apple-style-span" style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px;"><font face="Tahoma" size="2" class=""><span dir="ltr" style="font-size: 10pt;" class=""><font size="1" class=""><span style="font-size: 13px;" class=""><font size="2" class=""><i class="">Massachusetts
Institute of Technology</i></font></span></font></span></font></span></span></div>
<div style="color: rgb(0, 0, 0); font-family: Palatino; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;" class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; border-spacing: 0px;"><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px;"><font face="Tahoma" size="2" class=""><span dir="ltr" style="font-size: 10pt;" class=""><font size="1" class=""><span style="font-size: 13px;" class=""><font size="2" class=""><i class=""><br class="">
</i></font></span></font></span></font></span></span></div>
<div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal;" class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; border-spacing: 0px;"><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px;"><font face="Tahoma" size="2" class=""><a href="http://www.doddridge.me" class="">www.doddridge.me</a></font></span></span></div>
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 7 Feb 2018, at 10:49, Martin Losch <<a href="mailto:Martin.Losch@awi.de" class="">Martin.Losch@awi.de</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hi Jean-Michel,<br class="">
I am trying to understand your test_baudelaire script.<br class="">
Is it really necessary to manage the git cloning/updating in such complicated way?<br class="">
according to your script I need to have two copies of the MITgcm on my disk for the tests, right?<br class="">
(1) the clone from the repository (MITgcm in your script)<br class="">
(2) a copy of MITgcm (MITgcm_today) which you remove each time for checkOut (along with all testresults)<br class="">
<br class="">
I would like to do this:<br class="">
have a copy for ifort (MITgcm_ifort) and one for the cray compiler (MITgcm_cray), and I would like to update thoes copies before running testresport (but never delete them). That way I can also keep all of my testresport results (tr_-directories) which comes
in handy, when I want to back to an old problem.<br class="">
How do I do that properly with git? Can I rename a clone (i.e. my Clone MITgcm into MITgcm_ifort and then cd MITgcm_ifort; git checkout master or git pull)?<br class="">
<br class="">
Martin<br class="">
<br class="">
<blockquote type="cite" class="">On 7. Feb 2018, at 15:50, Jean-Michel Campin <<a href="mailto:jmc@mit.edu" class="">jmc@mit.edu</a>> wrote:<br class="">
<br class="">
Hi Martin,<br class="">
<br class="">
You could start, but it might take some time for PR to get merge<br class="">
since the priority here is to get back the doc rst files (+Ocean Sciences<br class="">
next week). And we will ask you at some point (but not now) to resubmit your<br class="">
changes in pkg/seaice documentation.<br class="">
<br class="">
Also, right now, the code is not tested on any cluster, only on <br class="">
<a href="http://baudelaire.mit.edu" class="">baudelaire.mit.edu</a> and <a href="http://villon.mit.edu" class="">
villon.mit.edu</a><br class="">
Working to get it tested on engaging and svante.<br class="">
I think the testing on these 2 clusters will be useful example since:<br class="">
- on svante: no ssh to outside world and no https on compute nodes,<br class="">
so code update is on head-node.<br class="">
- on engaging: both ssh to outside and git https are available from<br class="">
compute node, so everything can be done from inside batch job.<br class="">
Now remember that some firewall might not allow: <br class="">
"git clone <a href="https://github.com/MITgcm/MITgcm" class="">https://github.com/MITgcm/MITgcm</a>"<br class="">
but might let you do: "git clone <a href="mailto:git@github.com" class="">git@github.com</a>:MITgcm/MITgcm"<br class="">
<br class="">
Cheers,<br class="">
Jean-Michel<br class="">
<br class="">
On Wed, Feb 07, 2018 at 09:39:13AM +0100, Martin Losch wrote:<br class="">
<blockquote type="cite" class="">Hi Jean-Michel, Oliver, etal,<br class="">
great job! Can we start forking/cloning/branching/gitting now?<br class="">
<br class="">
Martin<br class="">
<br class="">
<blockquote type="cite" class="">On 6. Feb 2018, at 23:24, Jean-Michel Campin <<a href="mailto:jmc@mit.edu" class="">jmc@mit.edu</a>> wrote:<br class="">
<br class="">
Hi,<br class="">
<br class="">
Oliver finished the conversion of MITgcm code to GitHub (last Friday) and<br class="">
MITgcm is now available on GitHub. Some updated informations are there:<br class="">
<a href="http://mitgcm.org/public/source_code.html" class="">http://mitgcm.org/public/source_code.html</a><br class="">
<br class="">
However, the documentation that has been converted from LaTex to Sphinx/ReadTheDocs<br class="">
(on the prototype git repo: altMITgcm) has not been added yet but will be soon.<br class="">
<br class="">
Cheers,<br class="">
Jean-Michel<br class="">
<br class="">
On Fri, Jan 26, 2018 at 05:45:53PM -0500, Jean-Michel Campin wrote:<br class="">
<blockquote type="cite" class="">Hi,<br class="">
<br class="">
The conversion from CVS to GitHub is on a good track, so we are planning <br class="">
to "freeze" the MITgcm part (gcmpack/MITgcm) of the CVS repository <br class="">
next Tuesday (Jan 30) morning and start the final conversion from CVS to git.<br class="">
<br class="">
The "MITgcm_contrib" part is and will still accept commit after this date<br class="">
whereas the "manual" CVS repo has been "frozen" last Tuesday (Jan 23).<br class="">
<br class="">
It would make things easier (and more clean) not to make significant modifications<br class="">
to main MITgcm code before Tuesday (unless it's a minor/small/limited change)<br class="">
but to postpone it to later next week when the GitHub repository is in place.<br class="">
<br class="">
Cheers,<br class="">
Jean-Michel<br class="">
_______________________________________________<br class="">
MITgcm-devel mailing list<br class="">
MITgcm-devel@mitgcm.org<br class="">
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-devel<br class="">
</blockquote>
_______________________________________________<br class="">
MITgcm-devel mailing list<br class="">
MITgcm-devel@mitgcm.org<br class="">
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-devel<br class="">
</blockquote>
<br class="">
_______________________________________________<br class="">
MITgcm-devel mailing list<br class="">
<a href="mailto:MITgcm-devel@mitgcm.org" class="">MITgcm-devel@mitgcm.org</a><br class="">
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-devel<br class="">
</blockquote>
_______________________________________________<br class="">
MITgcm-devel mailing list<br class="">
<a href="mailto:MITgcm-devel@mitgcm.org" class="">MITgcm-devel@mitgcm.org</a><br class="">
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-devel<br class="">
</blockquote>
<br class="">
_______________________________________________<br class="">
MITgcm-devel mailing list<br class="">
<a href="mailto:MITgcm-devel@mitgcm.org" class="">MITgcm-devel@mitgcm.org</a><br class="">
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-devel<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>