Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Iker Martín Álvarez
Proteo
Commits
880a6260
Commit
880a6260
authored
Feb 21, 2022
by
iker_martin
Browse files
Hotfix en Checkrun - Variable mal escrita
parent
e1b825e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Exec/CheckRun.sh
View file @
880a6260
...
...
@@ -98,10 +98,11 @@ then
for
((
i
=
0
;
i<qty
;
i++
))
do
fin
=
$(
grep
-n
- R
*
|
grep
Tex |
cut
-d
':'
-f2
|
head
-n1
)
init
=
$((
$fin
-
6
))
init
=
$((
$fin
-
7
))
sed
-i
''
$init
','
$fin
'd'
R
${
realRun
}
_Global.out
aux
=
$((
$fin
/
7
))
#Utilizado para saber de entre las ejecuciones del fichero, cual es la erronea
#Se borran las lineas de los ficheros locales asociados
aux
=
$((
$fin
/
8
))
#Utilizado para saber de entre las ejecuciones del fichero, cual es la erronea
fin
=
$((
$aux
*
5
))
init
=
$((
$fin
-
4
))
for
((
j
=
0
;
j<cantidadGrupos
;
j++
))
;
do
...
...
@@ -114,11 +115,11 @@ then
proc_parents
=
$(
echo
$proc_list
|
cut
-d
' '
-f1
)
proc_children
=
$(
echo
$proc_list
|
cut
-d
' '
-f2
)
nodes
=
8
# Maximo actual
if
[
$proc
s
_parents
-gt
$proc
s
_children
]
if
[
$proc_parents
-gt
$proc_children
]
then
nodes
=
$((
$proc
s
_parents
/
20
))
nodes
=
$((
$proc_parents
/
20
))
else
nodes
=
$((
$proc
s
_children
/
20
))
nodes
=
$((
$proc_children
/
20
))
fi
sbatch
-N
$nodes
$dir$execDir
./singleRun.sh config
$realRun
.ini
$index
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment