mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-08 03:07:03 +00:00
Zoltan is added as thirdParty package
This commit is contained in:
17
thirdParty/Zoltan/siMPI/pyMPI/siMPI/tests/aaa.c
vendored
Normal file
17
thirdParty/Zoltan/siMPI/pyMPI/siMPI/tests/aaa.c
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
/*TEST
|
||||
CCFLAGS=""
|
||||
OUTPUT="""siMPI running on rank 0
|
||||
"""
|
||||
STATUS=0
|
||||
TEST*/
|
||||
|
||||
#include "mpi.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
int rank;
|
||||
MPI_Init(&argc,&argv);
|
||||
MPI_Comm_rank(MPI_COMM_WORLD,&rank);
|
||||
printf("siMPI running on rank %d\n",rank);
|
||||
MPI_Finalize();
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user