Changeset 2883

Show
Ignore:
Timestamp:
06/09/10 10:07:59 (20 months ago)
Author:
farhi
Message:

Monitor_nD: added warning regarding use of 'auto' within MPI

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/nlib/monitors/Monitor_nD.comp

    r2873 r2883  
    160160* monitor neutron parameters cross-correlations. 
    161161* 
     162* %BUGS 
     163* The 'auto' option for guessing optimal variable bounds should NOT be used with MPI 
     164* as each process may use different limits. 
     165* 
    162166* %Parameters 
    163167* INPUT PARAMETERS: 
     
    267271  if (restore_neutron) Vars.Flag_parallel=1; 
    268272  detector.m = 0; 
     273   
     274#ifdef USE_MPI 
     275  if (strstr(Vars.option, "auto") && mpi_node_count > 1) 
     276    printf("Monitor_nD: %s is using automatic limits option 'auto' together with MPI.\n" 
     277           "WARNING     this will probably create incorrect output\n", NAME_CURRENT_COMP); 
     278#endif 
    269279%} 
    270280