Changeset 23360 for issm/trunk


Ignore:
Timestamp:
09/29/18 20:15:33 (6 years ago)
Author:
Mathieu Morlighem
Message:

CHG: do not print anything in multithreaded code to avoid crash (See email from Seth Olinger)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/InterpFromGridToMeshx/InterpFromGridToMeshx.cpp

    r23189 r23360  
    8080        /*launch the thread manager with InterpFromGridToMeshxt as a core: */
    8181        LaunchThread(InterpFromGridToMeshxt,(void*)&gate,_NUMTHREADS_);
    82         _printf_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%  \n");
     82        //_printf_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%  \n");
    8383
    8484        /*Assign output pointers:*/
     
    133133
    134134                if(debug && my_thread==0)
    135                  _printf_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(i-i0)/double(i1-i0)*100<<"%   ");
     135                 //_printf_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(i-i0)/double(i1-i0)*100<<"%   ");
    136136                x_grid=*(x_mesh+i);
    137137                y_grid=*(y_mesh+i);
Note: See TracChangeset for help on using the changeset viewer.