Ben Chuanlong Du's Blog

It is never too late to learn.

No BLAS or LAPACK Found When Installing Scipy

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

To build Scipy from sources, BLAS & LAPACK libraries need to be installed. See site.cfg.example in the Scipy source directory and

sudo apt-get install gfortran libopenblas-dev liblapack-dev

The dependency requires …

PCIe BUS Error: Severity=Corrected, Type=Physical Layer

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Note: You might have to do this every time you upgrade your Linux kernel!!

Symptoms

Below are step-by-step symptoms from superficial to root causes.

  1. Your Linux system becomes very slow even …

Spark Issue: UriSyntaxException

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Symptoms

java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hdfs::/cluster-name/user/dclong/feature_example/features/train/2022-03-11

Possible Causes

As the error message points out, there's a syntax …

Spark Issue: SIGBUS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Symptoms

CalledProcessError: Command './pine' died with .

Possible Causes

SIGBUS (bus error) is a signal that happens when you try to access memory that has not been physically mapped . There are several …