fixed list
This commit is contained in:
parent
63bab3d667
commit
374725d02d
@ -12,30 +12,24 @@ If you have experienced these issues you have either:
|
||||
|
||||
Follow the below steps **before** you activate the old virtual environment (or deactivate it if it is activated). The fix basically involves rebuilding the virtual environments. But the whole process is now much simpler due to the fact `OpenBLAS` is now a default numerical library on DICE.
|
||||
|
||||
1. Comment out (or remove) the `export=$LD_LIBRARY_PATH...` line in your ~/.bashrc file. Then type
|
||||
|
||||
1. Comment out (or remove) the `export=$LD_LIBRARY_PATH...` line in your ~/.bashrc file. Then type
|
||||
```
|
||||
unset LD_LIBRARY_PATH
|
||||
```
|
||||
|
||||
in the terminal. To make sure this variable is not
|
||||
set, type `export` and check visually in the printed list of variables
|
||||
|
||||
2. Go to `~/mlpractical/repos-3rd/virtualenv` and install the new virtual
|
||||
2. Go to `~/mlpractical/repos-3rd/virtualenv` and install the new virtual
|
||||
environment (`venv2`) by typing:
|
||||
|
||||
```
|
||||
./virtualenv.py --python /usr/bin/python2.7 --no-site-packages $MLP_WDIR/venv2
|
||||
```
|
||||
|
||||
3. Activate your new virtual environment by typing:
|
||||
|
||||
3. Activate your new virtual environment by typing:
|
||||
```
|
||||
source $MLP_WDIR/venv2/bin/activate
|
||||
```
|
||||
|
||||
and install the usual packages required by MLP using pip:
|
||||
|
||||
```
|
||||
pip install pip --upgrade
|
||||
pip install numpy
|
||||
@ -44,14 +38,12 @@ pip install notebook
|
||||
pip install matplotlib
|
||||
```
|
||||
|
||||
4. Change directory to `~/mlpractical/repo-mlp` and check that `numpy` is linked to the DICE-standard `OpenBLAS` (and works) by starting ipython notebook:
|
||||
|
||||
4. Change directory to `~/mlpractical/repo-mlp` and check that `numpy` is linked to the DICE-standard `OpenBLAS` (and works) by starting ipython notebook:
|
||||
```
|
||||
ipython notebook
|
||||
```
|
||||
then run the first two interactive examples from `00_Introduction.py.` If they run, then you can simply modify the `activate_mlp` alias in `./bashrc` to point to `venv2` instead of `venv`.
|
||||
|
||||
then run the first two interactive examples from `00_Introduction.py.` If they run, then you can simply modify the `activate_mlp` alias in `./bashrc` to point to `venv2` instead of `venv`
|
||||
|
||||
5. You can also remove both the old `venv` and the other unrequired directories that contain `numpy` and `OpenBLAS` sources in the `~/mlpractical/repos-3rd` directory.
|
||||
5. You can also remove both the old `venv` and the other unrequired directories that contain `numpy` and `OpenBLAS` sources in the `~/mlpractical/repos-3rd` directory.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user