Revision 785 branches/pthreads-737/src/nh99/model7.cpp

model7.cpp (revision 785)
229 229
      (*ad_printf)( " -hbf            set the hybrid bounded flag for bounded parameters\n");
230 230
      (*ad_printf)( " -hyeps          mean step size for hybrid Monte Carlo\n");
231 231
      (*ad_printf)( " -hynstep        number of steps for hybrid Monte Carlo\n");
232
      //ad_printf)( " -noreders       turn off re's for derivative calcs for std devs\n");
232 233
      (*ad_printf)( " -noinit         do not initialize RE before inner optimization\n");
233 234
      (*ad_printf)( " -ndi N          set maximum number of separable calls\n");
234 235
      (*ad_printf)( " -ndb N          set number of blocks for RE derivatives (reduce temp file size)\n");
......
582 583
  }
583 584
}
584 585

  
585
/*
586 586
#else if defined(USE_PTHREADS)
587 587

  
588 588
void add_slave_suffix(const adstring& _tmpstring)
589 589
{
590 590
  ADUNCONST(adstring,tmpstring)
591
  if (ad_comm::pthreads_manager)
591
  if (ad_comm::pthread_manager)
592 592
  {
593
    if (ad_comm::pthreads_manager->is_slave())
593
    if (ad_comm::pthread_manager->is_slave())
594 594
    {
595
       tmpstring += "_";
596
       tmpstring += str(ad_comm::pthread_manager->get_slave_number());
597
       cout << "In slave " << tmpstring << endl;
598
    }
599
    else
600
    {
601
       tmpstring += "_master";
602
       cout << "In master " << tmpstring << endl;
603
    }
604
  }
605
  cout << "ad_comm::pthread_manager " << endl;
606
  cout << ad_comm::pthread_manager << endl;
607
  if (ad_comm::pthread_manager)
608
  {
609
    if (ad_comm::pthread_manager->is_slave())
610
    {
595 611
      tmpstring += "_";
596
      tmpstring += str(ad_comm::pthreads_manager->get_slave_number());
612
      tmpstring += str(ad_comm::pthread_manager->get_slave_number());
597 613
       cout << "In slave " << tmpstring << endl;
598 614
    }
599 615
    else
......
603 619
    }
604 620
  }
605 621
}
606
*/
607 622
#endif

Also available in: Unified diff