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
2d27fd66
Commit
2d27fd66
authored
Oct 07, 2024
by
iker_martin
Browse files
Minor bugfix and improvement
parent
afdf5f69
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
2d27fd66
...
@@ -3,3 +3,5 @@
...
@@ -3,3 +3,5 @@
#Ignore build files
#Ignore build files
/Codes/build/
/Codes/build/
/Codes/MaM/build
/Codes/SAM/build
Codes/MaM/MAM_Configuration.c
View file @
2d27fd66
...
@@ -250,6 +250,15 @@ void MAM_Check_configuration() {
...
@@ -250,6 +250,15 @@ void MAM_Check_configuration() {
MAM_I_set_red_strat
(
MAM_STRAT_RED_WAIT_TARGETS
,
&
mall_conf
->
red_strategies
);
MAM_I_set_red_strat
(
MAM_STRAT_RED_WAIT_TARGETS
,
&
mall_conf
->
red_strategies
);
}
}
}
}
#if MAM_DEBUG >= 2
if
(
mall
->
myId
==
mall
->
root
)
{
DEBUG_FUNC
(
"MaM configuration"
,
mall
->
myId
,
mall
->
numP
);
printf
(
"Spawn M=%d S=%d D=%d Redist M=%d S=%d
\n
"
,
mall_conf
->
spawn_method
,
mall_conf
->
spawn_strategies
,
mall_conf
->
spawn_dist
,
mall_conf
->
red_method
,
mall_conf
->
red_strategies
);
fflush
(
stdout
);
}
#endif
}
}
//======================================================||
//======================================================||
...
...
Exec/BashScripts/createInitialNodelist.sh
View file @
2d27fd66
...
@@ -19,7 +19,7 @@ if [[ $nodelist == *"["* ]]; then
...
@@ -19,7 +19,7 @@ if [[ $nodelist == *"["* ]]; then
common_node_name
=
$(
echo
$nodelist
|
cut
-d
'['
-f1
)
common_node_name
=
$(
echo
$nodelist
|
cut
-d
'['
-f1
)
fi
fi
node_array
=(
$(
echo
$nodelist
|
sed
-e
's/[\[
n
]//g'
-e
's/\]/ /g'
-e
's/,/ /g'
)
)
node_array
=(
$(
echo
$nodelist
|
sed
-e
's/[\[
${common_node_name}
]//g'
-e
's/\]/ /g'
-e
's/,/ /g'
)
)
actual_node_qty
=
0
actual_node_qty
=
0
for
((
i
=
0
;
$actual_node_qty
<
$initial_node_qty
;
i++
))
for
((
i
=
0
;
$actual_node_qty
<
$initial_node_qty
;
i++
))
do
do
...
...
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