Skip to content

Instantly share code, notes, and snippets.

View antoine-morvan's full-sized avatar

Antoine Morvan antoine-morvan

View GitHub Profile
@antoine-morvan
antoine-morvan / reproduce.sh
Created October 12, 2023 12:15
OpenBLAS build steps reproducer
#!/usr/bin/env bash
###############################################################################
#### Header
###############################################################################
set -e -u -o pipefail
TEST_SCRIPT_DIR=$(dirname $(readlink -f $BASH_SOURCE))
###############################################################################
#### Fetch & extract openblas
@antoine-morvan
antoine-morvan / children_of_pid.log
Last active July 26, 2023 08:23
output of hwloc-ps --children-of-pid $PID
+/home_nfs/bmorvana/Downloads/hwloc-pid-children-20230725.1406.gitba9e6582c/utils/hwloc/hwloc-ps --short-name --threads --children-of-pid 1562218 --name pi.exe
1562276 PU:0 PU:2 PU:4 PU:6 PU:8 PU:10 PU:12 PU:14 PU:16 PU:18 PU:20 PU:22 PU:24 PU:26 PU:28 PU:30 pi.exe
1562276 PU:0 pi.exe
1562533 PU:2 pi.exe
1562534 PU:4 pi.exe
1562535 PU:6 pi.exe
1562536 PU:8 pi.exe
1562537 PU:10 pi.exe
1562538 PU:12 pi.exe
1562539 PU:14 pi.exe
@antoine-morvan
antoine-morvan / pid.log
Last active July 26, 2023 08:23
output of hwloc-ps --pid $PID
+/home_nfs/bmorvana/Downloads/hwloc-pid-children-20230725.1406.gitba9e6582c/utils/hwloc/hwloc-ps --short-name --threads --pid 1562218 --name pi.exe
1562218 PU:0 PU:2 PU:4 PU:6 PU:8 PU:10 PU:12 PU:14 PU:16 PU:18 PU:20 PU:22 PU:24 PU:26 PU:28 PU:30 maqao
@antoine-morvan
antoine-morvan / reproduce.sh
Created July 19, 2023 14:26
Reprocude ecTrans + ACFL + mcpu=native crash
#!/usr/bin/env bash
#SBATCH -t 0:10:00
#SBATCH -N 1
#SBATCH --exclusive
#SBATCH --job-name="_ECTrans"
#SBATCH -o %x_%j_%N.slurm.out
# reload env
[ -f ~/.bashrc ] && . ~/.bashrc
@antoine-morvan
antoine-morvan / quadstore.js
Created December 4, 2019 09:07
Run a RDF store with SPARQL engine and HTTP endpoint server frolm Nodejs
import * as axios from "axios";
import memdown from "memdown";
const quadstore = require("quadstore");
const SparqlEngine = require("quadstore-sparql");
const HttpServer = require("quadstore-http");
(async function() {
const db = memdown();
const listenURL = "http://127.0.0.1:8080";