[EMAIL PROTECTED] wrote on Mon, 28 Aug 2006 19:02 +0200:
> What happens on each iteration?  Does the code at some point delete a 
> file with a particular name and then create a new one with the same name?

Each iter (of which there are 200, but it fails on #2 or 3) does:

    task0
        rm file
    task0 and task1
        fd = creat(file, 0644);
        close(fd)
    barrier

So yeah, the file gets deleted by just one task.  Then they all
simultaneously try to create it again.

Source is here

    ftp://ftp.llnl.gov/pub/siop/simul/simul-1.12.tar.gz

grep for simul_creat in the one source file in there.

                -- Pete
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to