From dd3d516cb14d0b8766ea271fbb926af479e07fe9 Mon Sep 17 00:00:00 2001
From: ygutier2 <yair.fosado@ed.ac.uk>
Date: Wed, 11 Aug 2021 15:35:23 +0100
Subject: [PATCH] Update bash.run.restart.sh

---
 1.Static/bash.run.restart.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/1.Static/bash.run.restart.sh b/1.Static/bash.run.restart.sh
index 9f460c0..b74b7cc 100644
--- a/1.Static/bash.run.restart.sh
+++ b/1.Static/bash.run.restart.sh
@@ -11,7 +11,7 @@ cd ${mf}
 
 
 
-for i in {1..64}
+for i in $( seq 1 ${ncpu} )
 do 
   mkdir -p REP${i}
   cd    REP${i}
@@ -56,4 +56,4 @@ do
   fi
 done
 
-wait
+wait
\ No newline at end of file
-- 
GitLab