<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 25, 2016 at 11:14 AM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">This is hopeless..<br>
<br>
Did you reset your 'mark/snes-ex56c' again to the old stuff?<br>
<br>
I don't get any merge conflicts - If I start from Jed's rebased/branch commit f2cb8422898d35ef96e146caa3a95b2f879b25f1<br></blockquote><div><br></div><div>I did this from the non-jed version.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
balay@asterix /home/balay/petsc (master=)<br>
$ git co -b test f2cb8422898d35ef96e146caa3a95b2f879b25f1<br>
Switched to a new branch 'test'<br>
balay@asterix /home/balay/petsc (test)<br>
$ git rebase -i master<br>
Successfully rebased and updated refs/heads/test.<br>
<br></blockquote><div><br></div><div>Maybe I corrupted jed's branch. I now get a different error.  This rebase pulled up a vi window and I replaced "pick" with "s" for commits that I want to squash.</div><div><br></div><div><div>11:15 jed/mark/snes-ex56c= ~/Codes/petsc/src/snes/examples/tutorials$ git rebase -i master</div><div>The previous cherry-pick is now empty, possibly due to conflict resolution.</div><div>If you wish to commit it anyway, use:</div><div><br></div><div>    git commit --allow-empty</div><div><br></div><div>Otherwise, please use 'git reset'</div><div>interactive rebase in progress; onto 9c9a9c5</div><div>Last commands done (93 commands done):</div><div>   pick 5a3406a added ex56 in snes, 3D linear elasticity using Plex on a cube</div><div>   pick 95a678b DMP4est: fix coarseEdge calculation in transfer_Point</div><div>Next commands to do (102 remaining commands):</div><div>   pick 013797a Need to declare TSSSPList as PETSC_EXTERN so users can add to the list</div><div>   pick f92a85d Latest boost release seems to handle shared libraries on Mac properly so remove error message</div><div>You are currently rebasing branch 'jed/mark/snes-ex56c' on '9c9a9c5'.</div><div><br></div><div>Untracked files:</div><div>        ShockTube_Dx_converg.png</div><div>        mhdforest.aux</div><div>        mhdforest.pdf</div><div>        mhdforest.tex</div><div>        out</div><div>        out_alltest_ex56</div><div>        out_alltest_next</div><div>        src/dm/examples/tutorials/dmda-mpiio.pbvec</div><div>        src/dm/examples/tutorials/dmda.pbvec</div><div>        src/dm/examples/tutorials/gauss.h5</div><div>        src/dm/examples/tutorials/hdf5output.h5</div><div>        src/dm/impls/picell/</div><div>        src/ksp/ksp/examples/tutorials/.petscrc</div><div>        src/ksp/ksp/examples/tutorials/ex34_1.tmp</div><div>        src/ksp/ksp/examples/tutorials/ex34_2.tmp</div><div>        src/mat/examples/tests/ex191matrix</div><div>        src/mat/examples/tests/fort.7</div><div>        src/snes/examples/tests/base_module.mod</div><div>        src/snes/examples/tests/ex1f_2.tmp</div><div>        src/snes/examples/tests/extended_module.mod</div><div>        src/snes/examples/tests/function_module.mod</div><div>        src/snes/examples/tutorials/.petscrc</div><div>        src/snes/examples/tutorials/f90module.mod</div><div>        src/snes/examples/tutorials/f90moduleinterfaces.mod</div><div>        src/snes/examples/tutorials/petsc_kkt_solver.mod</div><div>        src/snes/examples/tutorials/petsc_kkt_solver_interfaces.mod</div><div>        src/sys/examples/tutorials/bag_data_module.mod</div><div>        src/sys/examples/tutorials/bag_interface_module.mod</div><div>        src/sys/examples/tutorials/binaryoutput</div><div>        src/sys/logging/examples/tutorials/filename.xml</div><div>        src/ts/examples/tutorials/SA-data/</div><div>        src/ts/examples/tutorials/advection-diffusion-reaction/SA-data/</div><div>        src/ts/examples/tutorials/petscshiftmod.mod</div><div>        src/ts/examples/tutorials/power_grid/SA-data/</div><div>        src/ts/examples/tutorials/power_grid/stability_9bus/SA-data/</div><div>        src/ts/examples/tutorials/power_grid/stability_9bus/out.bin</div><div>        src/vec/is/examples/tests/testfile</div><div>        src/vec/vec/examples/tests/ex29_bts_2_subset.tmp</div><div>        src/vec/vec/examples/tests/x.h5</div><div>        src/vec/vec/examples/tests/xH.pbvec</div><div>        src/vec/vec/examples/tests/xHmpi.pbvec</div><div>        src/vec/vec/examples/tutorials/mymodule.mod</div><div><br></div><div>nothing added to commit but untracked files present</div><div>Could not apply 95a678b879f0666d009cbaa65ec66f87451d4d65... DMP4est: fix coarseEdge calculation in transfer_Point</div><div>11:19 1 jed/mark/snes-ex56c|REBASE-i 93/195 ~/Codes/petsc/src/snes/examples/tutorials$ </div></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<after a editor prompt with the following commits - for interactive rebase><br>
pick 849c9e8 changed Cheby random to noisy<br>
pick ee4626e added snes ex56, Plex with 3D linear elasticity<br>
pick b79c9a7 added ex56 in snes, 3D linear elasticity using Plex on a cube<br>
pick a64eebe clean up cheby fix<br>
pick 23c3567 small cleanup of noisy cheby<br>
pick cc7a30b fix ex56 init/fin error<br>
pick c34fc5a remove spaces<br>
pick 0008a30 fix complex build<br>
pick e78b637 updated test for new cheby<br>
pick 4acf97d fixed test for new cheby<br>
pick fdcaa90 merge makefile changed for ex56 and parmetis<br>
pick f2cb842 fixed bug in makefile<br>
<span class=""><font color="#888888"><br>
Satish<br>
</font></span><div class=""><div class="h5"><br>
<br>
On Wed, 25 May 2016, Mark Adams wrote:<br>
<br>
> I do git rebase -i master, and I get a lot of these:<br>
><br>
> 10:53 mark/snes-ex56c= ~/Codes/petsc/src/snes/examples/tutorials$ git<br>
> rebase -i master<br>
> error: could not apply 121daff... I am sick of finding examples that have<br>
> no test cases!<br>
><br>
> When you have resolved this problem, run "git rebase --continue".<br>
> If you prefer to skip this patch, run "git rebase --skip" instead.<br>
> To check out the original branch and stop rebasing, run "git rebase<br>
> --abort".<br>
> Could not apply 121daff3befe8860e39d0d85f21fecb925e5e5cd... I am sick of<br>
> finding examples that have no test cases!<br>
><br>
> I did this this morning and there were about 8 of these conflicts that I<br>
> had to fix manually. I wanted to check before I proceed. They were<br>
> straightforward fixes.<br>
><br>
> Mark<br>
><br>
><br>
> On Wed, May 25, 2016 at 10:40 AM, Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</a>> wrote:<br>
><br>
> ><br>
> ><br>
> > On Wed, May 25, 2016 at 10:18 AM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
> ><br>
> >> On Wed, 25 May 2016, Mark Adams wrote:<br>
> >><br>
> >> ><br>
> >> > 10:09 mark/snes-ex56c= ~/Codes/petsc/src/snes/examples/tutorials$ git<br>
> >> reset<br>
> >> > --hard f2cb8422898d35ef96e146caa3a95b2f879b25f1<br>
> >> > HEAD is now at f2cb842 fixed bug in makefile<br>
> >> ><br>
> >> > OK, now what?<br>
> >><br>
> >> 1. Verify that its feature complete as you expect [and not missing any<br>
> >> commits]?<br>
> >><br>
> >> gitk master..mark/snes-ex56c<br>
> >><br>
> ><br>
> > I got this error:<br>
> ><br>
> > 10:37 mark/snes-ex56c= ~/Codes/petsc/src/snes/examples/tutorials$ gitk<br>
> > master..mark/snes-ex56c<br>
> > Error in startup script: unknown color name "lime"<br>
> >     (processing "-fore" option)<br>
> >     invoked from within<br>
> > "$ctext tag conf m2 -fore [lindex $mergecolors 2]"<br>
> >     (procedure "makewindow" line 347)<br>
> >     invoked from within<br>
> > "makewindow"<br>
> >     (file "/Users/markadams/homebrew/bin/gitk" line 12434)<br>
> ><br>
> ><br>
> ><br>
> >><br>
> >> 2. Update branch as needed [perhaps you were wanting to squash<br>
> >> commits? since you've mentioned 'rebase -i' previously?]<br>
> >><br>
> >><br>
> > git rebase -i<br>
> ><br>
> > or<br>
> ><br>
> > git rebase -i master<br>
> ><br>
> > ?<br>
> ><br>
> ><br>
> >> 3. verify and test locally?<br>
> >><br>
> >> 4. update 'mark/snes-ex56c' on server.<br>
> >><br>
> >> git push -f<br>
> >><br>
> >> 5. If feature complete - update pull request?<br>
> >><br>
> >> Satish<br>
> >><br>
> ><br>
> ><br>
><br>
<br>
</div></div></blockquote></div><br></div></div>