Ignore:
Timestamp:
04/02/18 11:22:11 (7 years ago)
Author:
seroussi
Message:

CHG: cleaning up ocean information exchange

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/main/issm_ocean.cpp

    r22490 r22656  
    3131        icecommsize=(int) strtol(argv[2], (char **)NULL, 10);
    3232
    33         printf("Ice: My global rank: %i My world size: %i \n",my_rank,my_size);
    34 
    3533        /*Split world into sub-communicators for each and every model:*/
    3634        ISSM_MPI_Comm_split(worldcomm,0, my_rank, &modelcomm);
     
    3836        ISSM_MPI_Comm_size(modelcomm,&my_local_size);
    3937
    40         printf("Ice: My global rank: %i My local rank: %i My world size: %i My local size: %i\n",my_rank,my_local_rank,my_size,my_local_size);
    41 
    4238        ISSM_MPI_Intercomm_create( modelcomm, 0, worldcomm, my_local_size, 0, &tomitgcmcomm);
    4339
    44 //      /*send an integer:*/
    45 //      int dummy1,dummy2;
    46 //      dummy1=3; dummy2=0;
    47 //      if(my_local_rank==0){
    48 //              MPI_Send(&dummy1,1,MPI_INT,0,1,tomitgcmcomm);
    49 //              MPI_Recv(&dummy2,1,MPI_INT,0,1,tomitgcmcomm,&status);
    50 //      }
    51 //      MPI_Bcast(&dummy2,1,MPI_INT,0,modelcomm);
    52 //      printf("Ice: dummy received: %i\n",dummy2);
    53 
    54         /*Initialize femmodel from arguments provided command line: */
    5540        FemModel *femmodel = new FemModel(argc,argv,modelcomm);
    5641       
Note: See TracChangeset for help on using the changeset viewer.