Ignore:
Timestamp:
06/01/18 15:24:53 (3 years ago)
Author:
yushan
Message:

save dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/ep_dev/main.cpp

    r1515 r1517  
    1919  srand (time(NULL)); 
    2020 
    21   printf("Testing ep_lib\n"); 
     21  //printf("Testing ep_lib\n"); 
    2222  int required=3, provided; 
    2323 
     
    3232  MPI_Comm_size(MPI_COMM_WORLD, &mpi_size); 
    3333  
     34   
     35 
    3436  #pragma omp parallel default(shared) 
    3537  { 
     
    858860      MPI_Comm_free(&split_comm); 
    859861 
    860       MPI_Barrier(comm); 
    861       MPI_Barrier(comm); 
    862  
     862 
     863      MPI_Barrier(comm); 
     864      MPI_Barrier(comm); 
     865 
     866      MPI_Comm inter_comm_dup; 
     867      MPI_Comm_dup(inter_comm, &inter_comm_dup); 
     868 
     869      MPI_Barrier(comm); 
     870      MPI_Barrier(comm); 
     871 
     872 
     873      MPI_Comm_free(&inter_comm_dup); 
     874 
     875 
     876      MPI_Barrier(comm); 
     877      MPI_Barrier(comm); 
     878 
     879      MPI_Barrier(inter_comm); 
    863880      MPI_Comm_free(&inter_comm); 
    864881       
Note: See TracChangeset for help on using the changeset viewer.