[Carpet] CCTK_{ORIGIN, DELTA}_SPACE() not set when entering local mode

Jonathan Thornburg jthorn at aei.mpg.de
Wed May 24 07:58:32 CEST 2006


Hi, Erik,

On Tue, 23 May 2006, Erik Schnetter wrote:
> In order to make sure that we speak about the same problem, can you try a
> fresh CVS checkout plus the attached patch?  [[...]]

I tried this, but the patch doesn't seem to apply (the patch program
contains that each hunk fails).  I tried all 3 of
   572  7:52    patch < ~/spool/CartGrid3D-multipatch.diff
   573  7:53    patch -p0 < ~/spool/CartGrid3D-multipatch.diff
   574  7:54    patch -p3 < ~/spool/CartGrid3D-multipatch.diff
with failures like
% patch -p3 < ~/spool/CartGrid3D-multipatch.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|cvs diff: Diffing .
|Index: schedule.ccl
|===================================================================
|RCS file: /cactusdevcvs/CactusBase/CartGrid3D/schedule.ccl,v
|retrieving revision 1.17
|diff -u -r1.17 schedule.ccl
|--- schedule.ccl       11 May 2006 21:43:27 -0000      1.17
|+++ schedule.ccl       23 May 2006 23:52:49 -0000
--------------------------
Patching file schedule.ccl using Plan A...
Hunk #1 failed at 28.
1 out of 1 hunks failed--saving rejects to schedule.ccl.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|cvs diff: Diffing doc
|cvs diff: Diffing doc/fig
|cvs diff: Diffing par
|cvs diff: Diffing src
|Index: src/CartGrid3D.c
|===================================================================
|RCS file: /cactusdevcvs/CactusBase/CartGrid3D/src/CartGrid3D.c,v
|retrieving revision 1.55
|diff -u -r1.55 CartGrid3D.c
|--- src/CartGrid3D.c   15 May 2006 20:04:56 -0000      1.55
|+++ src/CartGrid3D.c   23 May 2006 23:52:49 -0000
--------------------------
File to patch: src/CartGrid3D.c
Patching file src/CartGrid3D.c using Plan A...
Hunk #1 failed at 71.
Hunk #2 failed at 82.
2 out of 2 hunks failed--saving rejects to src/CartGrid3D.c.rej
done
%

Maybe I'm doing something silly with the patch program.   But in the
meantime, could you send me a .tar.gz of your patched CartGrid3D instead?

thanks, ciao,

-- 
-- Jonathan Thornburg <jthorn at aei.mpg.de>      
   Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut),
   Golm, Germany, "Old Europe"     http://www.aei.mpg.de/~jthorn/home.html      
   "Washing one's hands of the conflict between the powerful and the
    powerless means to side with the powerful, not to be neutral."
                                      -- quote by Freire / poster by Oxfam




More information about the developers mailing list