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
2ca85de0
Commit
2ca85de0
authored
Jun 04, 2024
by
iker_martin
Browse files
WIP. Renaming of all files related to malleability to start with MAM. No relevant changes
parent
43dc1240
Changes
33
Hide whitespace changes
Inline
Side-by-side
Codes/malleability/CommDist.h
→
Codes/malleability/
distribution_methods/Distributed_
CommDist.h
View file @
2ca85de0
#ifndef COMMDIST_H
#ifndef
MAM_DISTRIBUTED_
COMMDIST_H
#define COMMDIST_H
#define
MAM_DISTRIBUTED_
COMMDIST_H
#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
#include <mpi.h>
#include <string.h>
#include "malleabilityStates.h"
void
sync_communication
(
void
*
send
,
void
**
recv
,
int
qty
,
MPI_Datatype
datatype
,
int
numP
,
int
numO
,
int
is_children_group
,
MPI_Comm
comm
);
void
sync_communication
(
void
*
send
,
void
**
recv
,
int
qty
,
MPI_Datatype
datatype
,
int
numP
,
int
numO
,
int
is_children_group
,
MPI_Comm
comm
);
...
...
Codes/malleability/distribution_methods/block_distribution.h
View file @
2ca85de0
#ifndef
mall_block_distribution
#ifndef
MAM_BLOCK_DISTRIBUTION_H
#define
mall_block_distribution
#define
MAM_BLOCK_DISTRIBUTION_H
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
Codes/malleability/malleabilityZombies.h
deleted
100644 → 0
View file @
43dc1240
#ifndef MALLEABILITY_ZOMBIES_H
#define MALLEABILITY_ZOMBIES_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <mpi.h>
#include <signal.h>
#include "malleabilityDataStructures.h"
void
MAM_Zombies_service_init
();
int
MAM_Zombies_service_free
();
void
MAM_Zombies_update
();
#endif
Codes/malleability/spawn_methods/Baseline.c
View file @
2ca85de0
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <mpi.h>
#include <mpi.h>
#include "../
malleabilityState
s.h"
#include "../
MAM_Constant
s.h"
#include "../
malleability
DataStructures.h"
#include "../
MAM_
DataStructures.h"
#include "Baseline.h"
#include "Baseline.h"
#include "Spawn_state.h"
#include "Spawn_state.h"
...
...
Codes/malleability/spawn_methods/Baseline.h
View file @
2ca85de0
#ifndef MA
LLEABILITY
_SPAWN_BASELINE_H
#ifndef MA
M
_SPAWN_BASELINE_H
#define MA
LLEABILITY
_SPAWN_BASELINE_H
#define MA
M
_SPAWN_BASELINE_H
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <mpi.h>
#include <mpi.h>
#include <string.h>
#include <string.h>
#include "../malleabilityDataStructures.h"
#include "Spawn_DataStructure.h"
#include "Spawn_DataStructure.h"
int
baseline
(
Spawn_data
spawn_data
,
MPI_Comm
*
child
);
int
baseline
(
Spawn_data
spawn_data
,
MPI_Comm
*
child
);
...
...
Codes/malleability/spawn_methods/GenericSpawn.c
View file @
2ca85de0
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
#include <pthread.h>
#include <pthread.h>
#include <mpi.h>
#include <mpi.h>
#include <string.h>
#include <string.h>
#include "../
malleabilityState
s.h"
#include "../
MAM_Constant
s.h"
#include "../
malleability
DataStructures.h"
#include "../
MAM_
DataStructures.h"
#include "../MAM_Configuration.h"
#include "../MAM_Configuration.h"
#include "ProcessDist.h"
#include "ProcessDist.h"
#include "GenericSpawn.h"
#include "GenericSpawn.h"
...
...
Codes/malleability/spawn_methods/GenericSpawn.h
View file @
2ca85de0
#ifndef MA
LLEABILITY
_GENERIC_SPAWN_H
#ifndef MA
M
_GENERIC_SPAWN_H
#define MA
LLEABILITY
_GENERIC_SPAWN_H
#define MA
M
_GENERIC_SPAWN_H
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
Codes/malleability/spawn_methods/Merge.c
View file @
2ca85de0
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <mpi.h>
#include <mpi.h>
#include "../
malleabilityState
s.h"
#include "../
MAM_Constant
s.h"
#include "../
malleability
DataStructures.h"
#include "../
MAM_
DataStructures.h"
#include "Merge.h"
#include "Merge.h"
#include "Baseline.h"
#include "Baseline.h"
...
...
Codes/malleability/spawn_methods/Merge.h
View file @
2ca85de0
#ifndef MA
LLEABILITY
_SPAWN_MERGE_H
#ifndef MA
M
_SPAWN_MERGE_H
#define MA
LLEABILITY
_SPAWN_MERGE_H
#define MA
M
_SPAWN_MERGE_H
#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
#include <mpi.h>
#include "../malleabilityDataStructures.h"
#include "Spawn_DataStructure.h"
#include "Spawn_DataStructure.h"
int
merge
(
Spawn_data
spawn_data
,
MPI_Comm
*
child
,
int
data_state
);
int
merge
(
Spawn_data
spawn_data
,
MPI_Comm
*
child
,
int
data_state
);
...
...
Codes/malleability/spawn_methods/ProcessDist.c
View file @
2ca85de0
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
#include <string.h>
#include <string.h>
#include <mpi.h>
#include <mpi.h>
#include "ProcessDist.h"
#include "ProcessDist.h"
#include "../MAM_Constants.h"
#include "../MAM_DataStructures.h"
//--------------PRIVATE DECLARATIONS---------------//
//--------------PRIVATE DECLARATIONS---------------//
...
...
Codes/malleability/spawn_methods/ProcessDist.h
View file @
2ca85de0
#ifndef MA
LLEABILITY
_SPAWN_PROCESS_DIST_H
#ifndef MA
M
_SPAWN_PROCESS_DIST_H
#define MA
LLEABILITY
_SPAWN_PROCESS_DIST_H
#define MA
M
_SPAWN_PROCESS_DIST_H
#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
#include <string.h>
#include "../malleabilityStates.h"
#include "../malleabilityDataStructures.h"
#include "Spawn_DataStructure.h"
#include "Spawn_DataStructure.h"
void
processes_dist
(
Spawn_data
*
spawn_data
);
void
processes_dist
(
Spawn_data
*
spawn_data
);
...
...
Codes/malleability/spawn_methods/Spawn_DataStructure.h
View file @
2ca85de0
#ifndef MAM_SPAWN_DATASTRUCTURE_H
#ifndef MAM_SPAWN_DATASTRUCTURE_H
#define MAM_SPAWN_DATASTRUCTURE_H
#define MAM_SPAWN_DATASTRUCTURE_H
...
...
Codes/malleability/spawn_methods/Spawn_state.h
View file @
2ca85de0
#ifndef MA
LLEABILITY
_SPAWN_STATE_H
#ifndef MA
M
_SPAWN_STATE_H
#define MA
LLEABILITY
_SPAWN_STATE_H
#define MA
M
_SPAWN_STATE_H
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
Prev
1
2
Next
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