forked from plfs/plfs-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.install
40 lines (37 loc) · 2.23 KB
/
README.install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
1) Build the PLFS library and supporting tools.
0) In order to build the tools that work with fuse, you'll need to have fuse
installed and have /dev/libfuse loaded.
1) cmake .
Please see cmake -LAH for all of the options available. If any headers
have been installed in non-standard locations you can set
CMAKE_INCLUDE_PATH to make them discoverable when building.
If you want a release build run cmake with -DCMAKE_BUILD_TYPE=Release
and if you want a debug build run with -DCMAKE_BUILD_TYPE=Debug
To install in a non-default location run cmake with
-DCMAKE_INSTALL_PREFIX=/desired/install/path
Out of tree builds are recommended to keep the source tree clean. To
do an out of tree build create a build directory somewhere then run
cmake as usual but instead of "cmake [cmake flags] ." use
"cmake [cmake flags] /path/to/plfs/src" from within your build dir.
2) make
3) make install
The default installation path is /usr/local.
4) Add the paths to the PLFS binaries to PATH. If using the default install
path, then /usr/local/bin and /usr/local/sbin need to be added to PATH.
PLFS's lib directory can also be added to LD_LIBRARY_PATH. The default
is /usr/local/lib. It may also be useful to add PLFS's man pages to
MANPATH. The default is /usr/local/share/man.
### IMPORTANT ###
5) All PLFS installations need a valid plfsrc file. Please see the plfsrc
man page located by default in /usr/local/share/man/man5. Please note
that the plfsrc file format has changed as of version 2.4. Any old plfsrc
files not in the new YAML format need to be edited to conform to the new
standard before upgrading to PLFS 2.4 or above. By default PLFS will look
for a plfsrc file in $HOME/.plfsrc and /etc/plfsrc. You can also set
the PLFSRC environment variable to point to a plfsrc file.
6) Check your plfsrc file with plfs_check_config (located in the bin
directory in the PLFS source tree after running make or in the
installation directory's bin directory).
2) To install PLFS as a ROMIO ADIO layer for MPI-IO.
Please see mpi_adio/README.patching for instructions on getting PLFS
to work as a ROMIO ADIO layer.