Hello everyone,
I'm trying writing several vectors into a RANK=2 h5 file. To avoid copying
the vectors into a 2D array, I made use of C pointers like:
int v1[10000];
int v2[10000];
int *p[2];
p[0]=v1;
p[1]=v2;
p[i][j] works well in C program. Then I transmit p as a 2D data to
H5Dwrite(). There is no compiling or running error. But the .h5 file
doesn't contain v1 and v2.
Can I send such a pointer to H5Dwrite()?
Thanks!