dear,
i have a little confused about MPI i/o, because iam new for this programming. i have some question.
if i want make some program with this code
1)
int get_size(char *filename)
{
struct stat buf;
stat(filename,&buf);
int j =buf.st_size;
return j;
}
2)
key = fopen(key_file, "rb");
fread(Kunci, pk, 1, key);
for(i=0;i<Nk*4;i++)
Key[i]=Kunci[i];
3) hasil = fopen (file_akhir, "wb");
for (k=0;k<(((block-1)*16)+pad);k++)
{
fputc(output[k], hasil);
}
fclose (hasil);
how to translate that code into MPI i / o ?
thanks a lot for your attention
Regards
Handana