I am trying to do<br><br>rocde = nfmpi_redef(file) <br>rcode = nfmpi_put_att(cpl_io_file,pio_global,"file_version",version)<br>rcode = nfmpi_enddef(cpl_io_file)<br><br>But this results in<br><br> Memory allocation (malloc) failure<br>
<br>Same code works fine in netcdf. Any ideas?<br><br>