hi antonio,
you want something like this i think:
PVFS_request_hvector(2, 2*N, 3*N, PVFS_BYTE, &blk);
count = 2
block length (how many contiguous elements in a block) = 2 * size
stride (skip from one start to next) = 3 * size
also, you should upgrade if possible.
regards,
rob
Sam Lang wrote:
Antonio,
Can you send the complete program listing that you're having trouble
with? Also, the exact errors you get that cause the trouble you're
having would be helpful.
-sam
On Mar 28, 2006, at 7:52 AM, Antonio Strano wrote:
Hi,
I am using PVFS2(V . 1.2.0) on a small cluster.
I have of the problems with PVFS_Request_xxx.
I have PVFS2 file(3 I/O server) with following layout:
a b g
c d m
I would want to carry out one reading obtaining :
a b c d
but I have of the problems !!!
this is code that I have tried :
N = size("a");
PVFS_Request_contiguous(2*N, PVFS_BYTE, &blk);
PVFS_Request_hvector(2, 1, N, blk, &mem_req);
PVFS_Request_contiguous(6*N, PVFS_BYTE, &file_req);
or
PVFS_Request_contiguous(2*N, PVFS_BYTE, &blk);
PVFS_Request_hvector(2, 1, N, blk, &mem_req);
PVFS_Request_hvector(2, 2, N, blk, &file_req);
or
PVFS_Request_contiguous(2*N, PVFS_BYTE, &blk);
PVFS_Request_contiguous(2,blk, &mem_req);
PVFS_Request_hvector(2, 2, N, blk, &file_req);
you help me?
Antonio
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers