Commit 2ca85de0 authored by iker_martin's avatar iker_martin
Browse files

WIP. Renaming of all files related to malleability to start with MAM. No relevant changes

parent 43dc1240
#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);
......
#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>
......
#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
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <mpi.h> #include <mpi.h>
#include "../malleabilityStates.h" #include "../MAM_Constants.h"
#include "../malleabilityDataStructures.h" #include "../MAM_DataStructures.h"
#include "Baseline.h" #include "Baseline.h"
#include "Spawn_state.h" #include "Spawn_state.h"
......
#ifndef MALLEABILITY_SPAWN_BASELINE_H #ifndef MAM_SPAWN_BASELINE_H
#define MALLEABILITY_SPAWN_BASELINE_H #define MAM_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);
......
...@@ -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 "../malleabilityStates.h" #include "../MAM_Constants.h"
#include "../malleabilityDataStructures.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"
......
#ifndef MALLEABILITY_GENERIC_SPAWN_H #ifndef MAM_GENERIC_SPAWN_H
#define MALLEABILITY_GENERIC_SPAWN_H #define MAM_GENERIC_SPAWN_H
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <mpi.h> #include <mpi.h>
#include "../malleabilityStates.h" #include "../MAM_Constants.h"
#include "../malleabilityDataStructures.h" #include "../MAM_DataStructures.h"
#include "Merge.h" #include "Merge.h"
#include "Baseline.h" #include "Baseline.h"
......
#ifndef MALLEABILITY_SPAWN_MERGE_H #ifndef MAM_SPAWN_MERGE_H
#define MALLEABILITY_SPAWN_MERGE_H #define MAM_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);
......
...@@ -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---------------//
......
#ifndef MALLEABILITY_SPAWN_PROCESS_DIST_H #ifndef MAM_SPAWN_PROCESS_DIST_H
#define MALLEABILITY_SPAWN_PROCESS_DIST_H #define MAM_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);
......
#ifndef MAM_SPAWN_DATASTRUCTURE_H #ifndef MAM_SPAWN_DATASTRUCTURE_H
#define MAM_SPAWN_DATASTRUCTURE_H #define MAM_SPAWN_DATASTRUCTURE_H
......
#ifndef MALLEABILITY_SPAWN_STATE_H #ifndef MAM_SPAWN_STATE_H
#define MALLEABILITY_SPAWN_STATE_H #define MAM_SPAWN_STATE_H
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment