NF_GLOBAL and nfmpi_put_var_real

Yu-Heng Tseng yhtseng at lbl.gov
Fri May 6 20:36:58 CDT 2005


Hi,

I got some problems in the testing.
1. It seems  NF_GLOBAL causes some errors in  nfmpi_put_att_text().
Same thing  happens to NF_UNLIMITED
Is that right?

2. nfmpi_put_var_real() seems not giving me right answer.
I added a couple of lines within the test program (/fandc/pnf_test.F).
real*4 pt
pt=5.0
ierr=nfmpi_def_var(ncid,"P0",NF_REAL,0,0,t_id)
ierr=nfmpi_put_var_real(ncid,t_id,pt)

It goes wrong in the output. Same for nfmpi_put_var_double() etc
Any idea how to fix this?
Thanks!

Cheers

Yu-heng




More information about the parallel-netcdf mailing list