BATCH_EPETE - (MACRO) Prints error and maybe terminates execution if argument is ERROR.
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
When running interactively, this macro behaves identically to EPETE.
Otherwise, this macro behaves like EPE.
We might wrap a function call with BATCH_EPETE so that the program will
terminate right away if someone is likely to be watching the console for
error messages; the program says, "Since you're right here, could you help me
resolve this?" But if no one is interacting, then the program does not give
up; rather it prints the error and tries to carry on. This might be
appropriate, for example, when processing a string of commands such that even
if one command fails, still we want the remaining commands to be processed as
EPETE, EPE, is_interactive
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.