QDPIO::cout << "Initialize done\n";
initProfile(__FILE__, __func__, __LINE__);  QDPIO::cout << "Initialize done" << std::endl;
void QDP_initialize(int *argc, char ***argv){  if (isInit)    QDP_error_exit("QDP already inited");  //  // Process command line  //  // Look for help  bool help_flag = false;  for (int i=0; i<*argc; i++)   {    if (strcmp((*argv)[i], "-h")==0)      help_flag = true;  }  int rtiP = 0;  int QMP_verboseP = 0;  const int maxlen = 256;  char rtinode[maxlen];  strncpy(rtinode, "your_local_food_store", maxlen);  // Usage  if (Layout::primaryNode())     if (help_flag)     {      fprintf(stderr,"Usage:    %s options\n",(*argv)[0]);      fprintf(stderr,"options:\n");      fprintf(stderr,"    -h                 help\n");      fprintf(stderr,"    -V        %%d [%d] verbose mode for QMP\n", 	      QMP_verboseP);#ifdef USE_REMOTE_QIO      fprintf(stderr,"    -cd       %%s [.] set working dir for QIO interface\n");      fprintf(stderr,"    -rti      %%d [%d] use run-time interface\n", 	      rtiP);      fprintf(stderr,"    -rtinode  %%s [%s] run-time interface fileserver node\n", 	      rtinode);#endif            exit(1);    }  for (int i=1; i<*argc; i++)   {    if (strcmp((*argv)[i], "-V")==0)     {      QMP_verboseP = 1;    }#ifdef USE_REMOTE_QIO    else if (strcmp((*argv)[i], "-cd")==0)     {      /* push the dir into the environment vars so qio.c can pick it up */      setenv("QHOSTDIR", (*argv)[++i], 0);    }    else if (strcmp((*argv)[i], "-rti")==0)     {      sscanf((*argv)[++i], "%d", &rtiP);    }    else if (strcmp((*argv)[i], "-rtinode")==0)     {      int n = strlen((*argv)[++i]);      if (n >= maxlen)	QDP_error_exit("rtinode name too long");      sscanf((*argv)[i], "%s", rtinode);    }#endif#if 0    else     {      QDP_error_exit("Unknown argument %s\n", (*argv)[i]);    }#endif     if (i >= *argc)     {      QDP_error_exit("missing argument at the end");    }  }  QMP_verbose (QMP_verboseP);  QDPIO::cout << "Now initialize QMP\n";  if (QMP_init_msg_passing(argc, argv, QMP_SMP_ONE_ADDRESS) != QMP_SUCCESS)    QDP_error_exit("QDP_initialize failed");  QDPIO::cout << "Some layout init\n";  Layout::init();   // setup extremely basic functionality in Layout  isInit = true;  // initialize remote file service (QIO)  bool use_qio = (rtiP != 0) ? true : false;  QDPUtil::RemoteFileInit(rtinode, use_qio);  // initialize the global streams  QDPIO::cin.init(&std::cin);  QDPIO::cout.init(&std::cout);  QDPIO::cerr.init(&std::cerr);  QDPIO::cout << "Initialize done\n";}