The default steps for building and installing PVFS2 are as follows:
[root@testhost /usr/src]# cd pvfs2
[root@testhost /usr/src/pvfs2-XXX]# ./configure
[root@testhost /usr/src/pvfs2-XXX]# make
[root@testhost /usr/src/pvfs2-XXX]# make install
Here are some optional configure arguments which may be of interest:
- –prefix=<path>: installs all files in the specified
directory (/usr/local/ is the default if –prefix is not specified)
- –with-kernel=<path to 2.6.x kernel source>: this enables
compilation of the PVFS2 Linux kernel driver [ Requires Linux Kernel
2.6.0 or later ]
- –with-kernel24=<path to 2.4.x kernel source>: this enables
compilation of the PVFS2 Linux kernel driver [ Requires Linux Kernel
2.4.19 or later ]
- –with-mpi=<path to mpi installation>: this enables
compilation of MPI based test programs
- –with-efence: automatically links in Electric Fence for
debugging assistance
Also note that the pvfs2 2.6.x kernel source supports out of tree
builds if you prefer to use that technique.