/** @file Exemple pour TP7 SSECPD */ #include int main(int argc, char**argv) { p_mad_adapter_set_t adapter_set = mad_adapter_set_init(1, mad_TCP, NULL); p_mad_madeleine_t madeleine = mad_init(&argc, argv, NULL, adapter_set); p_mad_channel_t channel = mad_open_channel(madeleine, 0); int num_nodes = /**< nombre total de noeuds */ madeleine->configuration->size; int myrank = /**< numéro du processus (de 0 à num_nodes-1)*/ madeleine->configuration->local_host_id; /* insérez votre code ici */ mad_exit(madeleine); return 0; }