From 1507178a1bfffef916faab8f6d69dd72c3f0ee76 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Mon, 8 Feb 2016 10:51:49 +0000 Subject: [PATCH] RunFunctions::getNumberOfProcessors: Added support for files included in decomposeParDict --- bin/tools/RunFunctions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/tools/RunFunctions b/bin/tools/RunFunctions index 8465acbe07..b9240bb1ac 100644 --- a/bin/tools/RunFunctions +++ b/bin/tools/RunFunctions @@ -30,7 +30,8 @@ getNumberOfProcessors() { - sed -ne 's/^numberOfSubdomains\s*\(.*\);/\1/p' system/decomposeParDict + expandDictionary system/decomposeParDict \ + | sed -ne 's/^numberOfSubdomains\s*\(.*\);/\1/p' } getApplication()