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
6d368caa
Commit
6d368caa
authored
Jul 02, 2024
by
iker_martin
Browse files
Minor fixes for includes. Added an updated test.ini
parent
ff887126
Changes
4
Show whitespace changes
Inline
Side-by-side
Codes/SAM/Main/Main_datatypes.h
View file @
6d368caa
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#include <mpi.h>
#include <mpi.h>
#include "../
malleability
/distribution_methods/block_distribution.h"
#include "../
MaM
/distribution_methods/block_distribution.h"
#define ROOT 0
#define ROOT 0
...
...
Codes/SAM/Main/configuration.c
View file @
6d368caa
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#include <mpi.h>
#include <mpi.h>
#include "../IOcodes/read_ini.h"
#include "../IOcodes/read_ini.h"
#include "configuration.h"
#include "configuration.h"
#include "../
malleability
/distribution_methods/block_distribution.h"
#include "../
MaM
/distribution_methods/block_distribution.h"
void
malloc_config_resizes
(
configuration
*
user_config
);
void
malloc_config_resizes
(
configuration
*
user_config
);
void
malloc_config_stages
(
configuration
*
user_config
);
void
malloc_config_stages
(
configuration
*
user_config
);
...
...
Codes/SAM/Main/process_stage.c
View file @
6d368caa
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
#include "comunication_func.h"
#include "comunication_func.h"
#include "Main_datatypes.h"
#include "Main_datatypes.h"
#include "process_stage.h"
#include "process_stage.h"
#include "../
malleability
/distribution_methods/block_distribution.h"
#include "../
MaM
/distribution_methods/block_distribution.h"
double
init_emulation_comm_time
(
group_data
group
,
configuration
*
config_file
,
iter_stage_t
*
stage
,
MPI_Comm
comm
);
double
init_emulation_comm_time
(
group_data
group
,
configuration
*
config_file
,
iter_stage_t
*
stage
,
MPI_Comm
comm
);
double
init_emulation_icomm_time
(
group_data
group
,
configuration
*
config_file
,
iter_stage_t
*
stage
,
MPI_Comm
comm
);
double
init_emulation_icomm_time
(
group_data
group
,
configuration
*
config_file
,
iter_stage_t
*
stage
,
MPI_Comm
comm
);
...
...
Codes/test.ini
View file @
6d368caa
[general]
[general]
Total_Resizes
=
0
Total_Resizes
=
1
Total_Stages
=
4
Total_Stages
=
4
Granularity
=
100000
Granularity
=
600
SDR
=
1000.0
SDR
=
500000.0
ADR
=
0.0
ADR
=
500000.0
Rigid
=
1
Rigid
=
0
; end [general]
Capture_Method
=
0
;end [general]
[stage0]
[stage0]
Stage_Type
=
0
Stage_Type
=
1
Stage_Bytes
=
0
Stage_Bytes
=
0
Stage_Time
=
0.
01235
Stage_Time
=
0.
6085314
;end [stage0]
;end [stage0]
[stage1]
[stage1]
Stage_Type
=
3
Stage_Type
=
8
Stage_Bytes
=
0
Stage_Bytes
=
8
Stage_Time
=
0
.03
Stage_Time
=
0
;end [stage1]
;end [stage1]
[stage2]
[stage2]
Stage_Type
=
3
Stage_Type
=
8
Stage_Bytes
=
10000000
Stage_Bytes
=
8
Stage_Time
=
0
Stage_Time
=
0
;end [stage2]
;end [stage2]
[stage3]
[stage3]
Stage_Type
=
4
Stage_Type
=
6
Stage_Bytes
=
33176880
Stage_Bytes
=
33176880
Stage_Time
=
0
.040449
Stage_Time
=
0
;end [stage3]
;end [stage3]
[resize0]
[resize0]
Iters
=
20
Iters
=
5
Procs
=
2
Procs
=
2
0
FactorS
=
1
FactorS
=
0.2
Dist
=
compact
Dist
=
compact
Asynch_Redistribution_Type
=
3
Redistribution_Method
=
0
Redistribution_Strategy
=
1
Spawn_Method
=
0
Spawn_Method
=
0
Spawn_Strategy
=
1
Spawn_Strategy
=
1
;end [resize0]
;end [resize0]
[resize1]
[resize1]
Iters
=
3
0
Iters
=
5
0
Procs
=
2
Procs
=
2
FactorS
=
0.
1
FactorS
=
1
Dist
=
compact
Dist
=
compact
Asynch_Redistribution_Type
=
3
Redistribution_Method
=
0
Redistribution_Strategy
=
0
Spawn_Method
=
0
Spawn_Method
=
0
Spawn_Strategy
=
1
Spawn_Strategy
=
0
;end [resize1]
;end [resize1]
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