int info_flag;
char* value = (char *) ADIOI_Malloc((MPI_MAX_INFO_VAL+1)*sizeof(char));
ADIOI_Info_get(fd->info, "xyz", MPI_MAX_INFO_VAL, value,&info_flag);
if(info_flag) fprintf(stderr,"xyz = %d\n",atoi(value));
ADIOI_Info_get(fd->info, "cb_buffer_size", MPI_MAX_INFO_VAL, value,&info_flag);
if(info_flag) fprintf(stderr,"cb_buffer_size = %d\n",atoi(value));
I can get the 64 associated to the cb_buffer_size key (which is a reserved hint), but I don't get the second value.
Where does the problem come from?
I tried everything: re-ordering the calls, changing the name of the key, calling MPI_Info_get in the application to check that the values are properly set (they are)...
Thanks