logo

Crowdly

Soit monProg l'exécutable du programme suivant, et on l'exécute avec la comman...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Soit monProg l'exécutable du programme suivant, et on l'exécute avec la commande mpirun -np 5  ./monProg. Donner l'espace mémoire occupé en nombre d'octets par Vect dans cette exécution en supposant qu'un int occupe 4 octets.

#include "mpi.h"

int main(int argc, char **argv) {

    int rang = -1, Vect[12]={0};

    MPI_Init( &argc, &argv );

    MPI_Comm_rank(MPI_COMM_WORLD, &rang);

    MPI_Finalize();

    return 0;

}

More questions like this

Want instant access to all verified answers on moodle2024.uca.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!