-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
I wanted to document my testing of the new pip-based install (alternative to Anaconda) developed by @timcera . Install seems fine, but testing is now a challenge. I would love any pointers that can be given specifically on managing my expectations about what I should be seeing.
- Install pip and package dependencies
- Install runnable hsp2 command line tool via pip
- Run a test UCI
- Examine UCI test run output in hd5 file
- Compare output to previous (maybe in ./tests/test10/HSPFresults/ ?)
Installation of pip and package
- Get test branch: This branch made by @timcera -- Will replace with master after it is merged
git clone https://github.com/timcera/HSPsquared/tree/develop
- install hdf5
- The necessity of this step on Ubuntu is uncertain. There are
aptpackages for hdf5-tools, and there are existing executables named h5cc in the system prior to unpacking and installing this package, however, this did not seem sufficient to run test10, so I added these. - download hdf5-1.12.1.tar.gz (need to go through their web sign-up, so no direct download link to use with
wget) tar -xvf hdf5-1.12.1.tar.gzcd hdf5-1.12.1make allsudo make installsudo apt install hdf5
- The necessity of this step on Ubuntu is uncertain. There are
- Install pip:
sudo apt-get install pip
- Install Python Dependencies (I had a brand new Ubtuntu 20.04/python and had to install some dependencies via pip first)
pip install pandapip install tables==3.6.1- Needed the previous version of tables because the newest tables breaks numba
pip install numba
- Create hsp2 executable
pip install .
- Log out and log back in to get the python/pip path updated tp be able to run hsp2
- Test
hsp2executable (see Testing below)
Testing
- I used
/opt/model/HSPsquared/HSP2notebooks/Data, though the run did not appear to complete to completion.mkdir test; cd testcp /HSPsquared/HSP2notebooks/Data/* ./hsp2 import_uci test10.uci test10.h5hsp2 run test10.h5
- Comments below will be used to debug and/or verify the steps above
Metadata
Metadata
Assignees
Labels
No labels