summaryrefslogtreecommitdiff
path: root/xmds2
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2012-12-20 16:29:47 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2012-12-20 16:29:47 -0500
commit91a795b8042742e1a534e28bdd5841ec0cf406c9 (patch)
treef9ec45a028356a1dd84b2028052ecf62a32c29b9 /xmds2
parent44fae7e3e3f0d98d8affb6c13d0a4aafe0278900 (diff)
downloadNresonances-91a795b8042742e1a534e28bdd5841ec0cf406c9.tar.gz
Nresonances-91a795b8042742e1a534e28bdd5841ec0cf406c9.zip
save the number crunching command into the shell file
Diffstat (limited to 'xmds2')
-rw-r--r--xmds2/realistic_Rb_and_fields/Makefile.pp4
1 files changed, 3 insertions, 1 deletions
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) $<