File: test_script_for_oar_gpu_python3.sh

package info (click to toggle)
pyhst2 2020c-7
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm, sid
  • size: 13,540 kB
  • sloc: ansic: 11,807; python: 9,708; cpp: 6,786; makefile: 152; sh: 31
file content (17 lines) | stat: -rwxr-xr-x 490 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
echo 'current dir is '
pwd
unset PYTHONPATH
export PATH=/usr/local/bin:/usr/bin:/bin:/opt/oar/utilities:/sbin:/usr/bin/X11:.::.
unset LDFLAGS
unset CPPFLAGS
unset LD_LIBRARY_PATH

rm -rf /tmp/software/chst_python3
virtualenv --python=python3 /tmp/software/chst_python3
source /tmp/software/chst_python3/bin/activate
pip install setuptools --upgrade
pip install pip --upgrade
pip install numpy
pip install -r requirements.txt
python setup.py install
python run_tests.py -v --testcase oargpu