From a6a7f6ceca5bc8f8e5ee7b4ff8aa14862ffdfab6 Mon Sep 17 00:00:00 2001
From: Pawel Swietojanski
Date: Fri, 9 Oct 2015 17:52:25 +0100
Subject: [PATCH] Update kernel_issue_fix.md
---
kernel_issue_fix.md | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/kernel_issue_fix.md b/kernel_issue_fix.md
index f32d0af..8734cba 100644
--- a/kernel_issue_fix.md
+++ b/kernel_issue_fix.md
@@ -2,19 +2,17 @@
# How to fix notebook's "kernel issues" on DICE
Some of the people in mlpractical have been affected by a recent update to the numpy and numercial
-library pushed to DICE last week. The symptom was restarting notebook kernel when someone
-tried to run the exercise involving numpy usage.
+library pushed to DICE last week. It concerns you when you get the message about the kernel was restarted when running code involving numpy usage.
-The reason of this most likely affected people who either 1) ended up with
-default atlas libraries (which has been updated in the meantime) or 2) re-compiled
-numpy with new DICE OpenBLAS already available, but LD_LIBRARY_PATH pointed to the
-version compiled last time - which could introduce some unexepcted behaviours.
+In case you experience those issues you either 1) ended up with
+default atlas libraries (which have been updated in the meantime) or 2) re-compiled
+numpy with the new DICE OpenBLAS already available, but LD_LIBRARY_PATH you set last week put
+priority to load OpenBLAS libraries compiled last time - which could introduce some unexepcted behaviour at runtime.
-## Fix
+## The Fix
-Follow the below setps **before** you activate the old virtual environment. The fix
-basically involves rebuilding the virtual environments. But the whole process is now
-much simpler (due to the fact OpenBLAS is now a deafult numerical library on DICE).
+Follow the below stdps **before** you activate the old virtual environment (or deactivate it once 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 deafult numerical library on DICE.
1) Comment out (or remove) `export=$LD_LIBRARY_PATH...` line in your ~/.bashrc script. Then type
`unset LD_LIBRARY_PATH` in the terminal. To make sure this variable is not
@@ -45,4 +43,4 @@ If they run, you can simply modify `activate_mlp` alias in `./bashrc`to point to
`venv2` instead of `venv`
5) You can also remove both the old `venv` and other not needed anymore
-directories with numpy and OpenBLAS sources in `~/mlpractical/repos-3rd` directory.
\ No newline at end of file
+directories with numpy and OpenBLAS sources in `~/mlpractical/repos-3rd` directory.