#575: McLachlan should use the kranc script instead of calling Mathematica ------------------------------------+--------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: Resolution: | Keywords: McLachlan ------------------------------------+---------------------------------------
Comment (by eschnett):
$PIPESTATUS is always 0 for me, even if there is an error.
Here is my screen output if I introduce an error to WaveToy.m:
{{{
$ make rm -rf ML_WaveToy ./runmath.sh WaveToy.m Mathematica 8.0 for Mac OS X x86 (64-bit) Copyright 1988-2011 Wolfram Research, Inc. User set source language to C Processing tensorial arguments Computing reflection symmetries Creating (component-based) Kranc thorn Processing arguments to CreateKrancThorn Verifying arguments Creating startup file Creating configuration file Creating interface file Creating param file Creating schedule file Creating MoL registration file Creating symmetry registration file Creating differencing header file Creating calculation source files Creating calculation function: WT_Gaussian Creating calculation function: WT_RHS
Throw::nocatch: Uncaught Throw[The calculation WT_RHS has both assignments to, and derivatives of, the grid functions {u}. This is not allo<<34>> dependent on the ordering of the loop over grid points.] returned to top level.
In[1]:= PIPESTATUS=[0] for thorn in ML_WaveToy; do \ ./copy-if-changed.sh $thorn ../$thorn; \ done make: *** [WaveToy.out] Error 2 }}}
I added a line to output $PIPESTATUS. No directory ML_WaveToy is generated. There is a file WaveToy.out, and no file WaveToy.err.