GlobalArrays / ga

Partitioned Global Address Space (PGAS) library for distributed arrays
http://hpc.pnl.gov/globalarrays/
Other
97 stars 38 forks source link

silence message "nga_wait_internal: GA NB handle inactive" #232

Closed edoapra closed 2 years ago

edoapra commented 2 years ago

When I run certain NWChem modules, I do get a large number of nga_wait_internal: GA NB handle inactive being printed out. Would it be possible to put and #ifdef DEBUG to silence this messages, since this does not seem to prevent the GA calls to complete?

https://github.com/GlobalArrays/ga/blob/135ef2c0c467008a0e600ed49b1ab8b7c3935f43/global/src/nbutil.c#L228

  if (tag == ga_ihdl_array[index].ga_nbtag) {
    if (ga_ihdl_array[index].active == 0) {
      printf("p[%ld] nga_wait_internal: GA NB handle inactive\n",GAme);
    }
    ga_armcihdl_t* next = ga_ihdl_array[index].ahandle;

I have created a pull request with the code change described above https://github.com/GlobalArrays/ga/issues/232