cli.c 572 B

1234567891011121314151617181920212223242526272829303132
  1. #include "tangle.h"
  2. #include <stdio.h>
  3. // #include "mpi.h"
  4. int main()
  5. {
  6. // MPI_Init(NULL, NULL);
  7. printf("Welcome\n");
  8. count_to(10);
  9. // MPI_Finalize();
  10. return 0;
  11. }
  12. // #include <stdio.h>
  13. // #include <omp.h>
  14. // int main()
  15. // {
  16. // #pragma omp parallel num_threads(3)
  17. // {
  18. // int id = omp_get_thread_num();
  19. // int data = id;
  20. // int total = omp_get_num_threads();
  21. // printf("Greetings from process %d out of %d with Data %d\n", id, total, data);
  22. // }
  23. // printf("parallel for ends.\n");
  24. // return 0;
  25. // }