From 91a795b8042742e1a534e28bdd5841ec0cf406c9 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Thu, 20 Dec 2012 16:29:47 -0500 Subject: save the number crunching command into the shell file --- xmds2/realistic_Rb_and_fields/Makefile.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xmds2/realistic_Rb_and_fields/Makefile.pp b/xmds2/realistic_Rb_and_fields/Makefile.pp index e24107e..9996ca9 100644 --- a/xmds2/realistic_Rb_and_fields/Makefile.pp +++ b/xmds2/realistic_Rb_and_fields/Makefile.pp @@ -16,7 +16,9 @@ include $(PARAMS_FILE) all: $(XSIL_FILES) $(M_FILES) plot fig $(XSIL_FILES): ../$(RUN_FILES) $(PARAMS_FILE) - $< $(PARAMS) | grep "Time elapsed for simulation is:" > exact_analysis_execution_time.txt + echo $< $(PARAMS) > calc.sh + sh ./calc.sh > report.txt + cat report.txt | grep "Time elapsed for simulation is:" > exact_analysis_execution_time.txt %.m: %.xsil $(XSIL2GRAPHICS) $< -- cgit v1.2.3