[Pvfs2-users] How to use pvfs2_open_
robl at mcs.anl.gov
Mon Jun 1 10:16:31 EDT 2009
On Sat, May 30, 2009 at 12:04:30PM -0500, Ariel Briceño wrote:
> in each machine (both machines are IO servers),
> when i try to use pvfs2_open in my code like this:
I see over on the irc channel that you do not want to use MPI. I just
wanted to point out that you could use the MPI_FILE routines even if
your application is serial.
> Another issue is, although i copied
> to /etc/rc.d/init.d/pvfs2-server i can't do /etc/rc.d/init.d/pvfs2-server
> start or
> /etc/rc.d/init.d/pvfs2-server stop. Why is this?
I think pvfs2-server.rc might only work out-of-the-box on redhat-like
systems? I'm not sure: it probably requires some site-specific
modifications. You might be better off starting and stopping by hand
if you aren't familiar with your distributions init scripts.
> In the machine that i want to mount the pvfs2 volume i did
> cd /usr/src/pvfs-2.8.1/src/apps/kernel/linux/
> ./pvfs2-client -f -p ./pvfs2-client-core
> and the result was
> pvfs2-client starting
> Spawning new child process
> Waiting on child with pid 5544
> About to exec: ./pvfs2-client-core, with args: pvfs2-client-core --child -a
> 5 -n 5 --logtype file -L /tmp/pvfs2-client.log
> but nothing more happened. Whatn is wrong?
Looks like it's behaving exactly as it should: you passed the -f flag,
which keeps it in the foreground.
You should be able to, in another terminal, mount PVFS now.
Mathematics and Computer Science Division
Argonne National Lab, IL USA
More information about the Pvfs2-users