...
- ncurses library
yum install ncurses-devel
- readline library
yum install readline-devel
- python 2.7.5
https://www.python.org/download/releases/2.7.5/
./configure --prefix=<> --enable-shared # it is recommended to install in standard system path
make; make install
- setuptools
- https://pypi.python.org/pypi/setuptools
- The way it worked for me:
- Download package and untar
python2.7 setup.py install
- https://pypi.python.org/pypi/setuptools
- psutils
- https://pypi.python.org/pypi?:action=display&name=psutil
- untar
- cd to untared directory
python2.7 setup.py install
- https://pypi.python.org/pypi?:action=display&name=psutil
- netifaces
- Install PyYAML
- pip isntall pyyaml
The LUTF will also require that passwordless ssh is setup for all the nodes which run the LUTF. This task is already done when the AT sets up the test cluster.
Building the LUTF
The LUTF shall be integrated with the Lustre tests under lustre/tests/lutf
. The LUTF will be built and packaged with the standard
Code Block |
---|
sh ./autogen.sh
./configure --with-linux=<kernel path>
make
# optionally
make rpms
# optionally
make install |
The make system will build the following items:
- 3.6+
yum install python3
- paramiko
pip3 install paramiko
- netifaces
pip3 install netifaces
- Install PyYAML
pip3 install pyyaml
The LUTF will also require that passwordless ssh is setup for all the nodes which run the LUTF. This task is already done when the AT sets up the test cluster.
Building the LUTF
The LUTF shall be integrated with the Lustre tests under lustre/tests/lutf
. The LUTF will be built and packaged with the standard
Code Block |
---|
sh ./autogen.sh
./configure --with-linux=<kernel path>
make
# optionally
make rpms
# optionally
make install |
The make system will build the following items:
lutf
binaryliblutf_agent.so
- shared library to communicate with the LUTF backend.clutf_agent.py
and _clutf_agent.so
: glue code that allows python to call functions in liblutf_agent.soclutf_global.py
and_clutf_global
lutf
binaryliblutf_agent.so
- shared library to communicate with the LUTF backend.clutf_agen.py
and _clutf_agent.so
: glue code that allows python to call functions in liblutf_agentglobal.solnetconfig.py and
_lnetconfig.so
- glue code to allow python test scripts to utilize the DLC interface.
The build process will check if python 2.7.5
and SWIG 23.6
and SWIG 3.0
or higher is installed before building. If these requirements are not met the LUTF will not be built
...
Task | Description |
---|---|
C infrastructure |
|
SWIG |
|
lutf.sh |
|
lutf Python Library |
|
lutf Provisioning Library |
|
lutf logging infrastructure |
|
OLD INFORMATION
| |
lutf logging infrastructure |
|
OLD INFORMATION
TODO: Below is old information still being cleaned up
Test Environment Set-Up
Each node which will run the LUTF will need to have the following installed
- ncurses library
yum install ncurses-devel
- readline library
yum install readline-devel
- python 2.7.5
https://www.python.org/download/releases/2.7.5/
./configure --prefix=<> --enable-shared # it is recommended to install in standard system path
make; make install
- setuptools
- https://pypi.python.org/pypi/setuptools
- The way it worked for me:
- Download package and untar
python2.7 setup.py install
- https://pypi.python.org/pypi/setuptools
- psutils
- https://pypi.python.org/pypi?:action=display&name=psutil
- untar
- cd to untared directory
python2.7 setup.py install
- https://pypi.python.org/pypi?:action=display&name=psutil
- netifaces
- Install PyYAML
- pip isntall pyyaml
The LUTF will also require that passwordless ssh is setup for all the nodes which run the LUTF. This task is already done when the AT sets up the test cluster.TODO: Below is old information still being cleaned up
LUTF Configuration Files
Setup YAML Configuration File
...