Index: trunk/ppStack/src/ppStackLoop.c
===================================================================
--- trunk/ppStack/src/ppStackLoop.c	(revision 36855)
+++ trunk/ppStack/src/ppStackLoop.c	(revision 41529)
@@ -3,4 +3,5 @@
 // static functions are defined below
 static int stackSummary(const ppStackOptions *options, const char *place);
+bool pmConfigDumpRecipe (pmConfig *config, char *filename);
 
 bool ppStackLoop(pmConfig *config, ppStackOptions *options)
@@ -282,2 +283,14 @@
     return numGood;
 }
+
+// Test function if needed:
+bool pmConfigDumpRecipe (pmConfig *config, char *filename) {
+
+    psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // Recipe for ppSim
+    psAssert (recipe, "oops");
+
+    psMetadataConfigWrite (recipe, filename, NULL);
+
+    return true;
+}
+
