Hello.
I am looking for small parallel program if antlr can understand -
-----
#include <stdio.h>
#include ,mpi.h>
int main(int argc, char *argv[] )
{
int numprocs, namelength, rank;
char processor_name[MPI_MAX_PROCESSOR_NAME];
MPI_Init(&argc, &argv);
MPI_Comm_size (MPI_COMMON_WORLD, &numprocs);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Get_processor_name(processor_name, &namelength);
printf("Process %d, on %s out of %d\n", rank, processor_name, numprocs):
MPI_Finalize();
}
----
I am very new to antlr and as an assignment, I hav to work with antlr for
above mpi code.
±Smiley
>
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.