Microlibrary for inter-process mutexes on Linux.
#include "shared_mutex.h"
#include <stdio.h>| #include <iostream> | |
| #include <vector> | |
| #include <mkl.h> | |
| #include <mkl_df.h> | |
| using namespace std; | |
| int main () { | |
| const int nx = 11; // #rows in x | |
| const int ny = 1; // #cols in y | 
I initially had some problems installing on my laptop, so decided to boot Ubuntu 12.04.5 LTS, 3.13.0-32-generic from USB and work from there.
Download the linux-gpib package, unpack and build. Get python-setuptools first for later Python bindings support.
wget --content-disposition --no-check-certificate https://sourceforge.net/projects/linux-gpib/files/linux-gpib%20for%203.x.x%20and%202.6.x%20kernels/3.2.20/linux-gpib-3.2.20.tar.gz/download
| #! /usr/bin/env bash | |
| # Install any build dependencies needed for curl | |
| sudo apt-get build-dep curl | |
| # Get latest (as of Feb 25, 2016) libcurl | |
| mkdir ~/curl | |
| cd ~/curl | |
| wget http://curl.haxx.se/download/curl-7.50.2.tar.bz2 | |
| tar -xvjf curl-7.50.2.tar.bz2 |