Skip to content

Instantly share code, notes, and snippets.

View jose-d's full-sized avatar

jose_d jose-d

  • Institute of Physics | Czech Academy of Sciences
  • Prague | EU
View GitHub Profile
@jose-d
jose-d / easybuild_test_report_23628_easybuilders_preasybuild-easyconfigs_20251811-UTC-11-18-27.md
Created August 11, 2025 11:18
EasyBuild test report for easybuilders/easybuild-easyconfigs PR(s) #23628

Test report for PR(s) easybuilders/easybuild-easyconfigs#23628

Test result

Build succeeded for 1 out of 1 (1 easyconfigs in total)

Overview of tested easyconfigs (in order)

  • SUCCESS xxHash-0.8.3-GCCcore-13.3.0.eb

Time info

  • start: Mon, 11 Aug 2025 11:18:20 +0000 (UTC)

Test result

Build succeeded for 1 out of 1 (1 easyconfigs in total)

Overview of tested easyconfigs (in order)

  • SUCCESS xxHash-0.8.3-GCCcore-13.3.0.eb

Time info

  • start: Mon, 11 Aug 2025 11:13:18 +0000 (UTC)
  • end: Mon, 11 Aug 2025 11:13:22 +0000 (UTC)
@jose-d
jose-d / install_ompi.sh
Last active August 7, 2025 16:12
Install openmpi in current conda environment
#!/bin/bash
# this script installs openmpi from source into current conda/microconda/condaforge environment
export CC=${CONDA_PREFIX}/bin/clang
export CXX=${CONDA_PREFIX}/bin/clang++
rm -rf libevent-2.1.12-stable
wget https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
tar -xvf ./libevent-2.1.12-stable.tar.gz
@jose-d
jose-d / environment.yml
Created August 7, 2025 09:03
environment.yml for pyoperon with openMPI built with clang
name: pyoperon_mpi
channels:
- conda-forge
- nodefaults
dependencies:
- conda
- cxx-compiler
- clangxx==19.1.7
- cmake
- eigen
@jose-d
jose-d / dependencies.sh
Last active August 6, 2025 16:45
patched installation script for pyoperon
#!/usr/bin/env bash
if [[ -n "${VIRTUAL_ENV}" ]]; then
INSTALL_PREFIX="${VIRTUAL_ENV}"
elif [[ -n "${CONDA_PREFIX}" ]]; then
INSTALL_PREFIX="${CONDA_PREFIX}"
else
INSTALL_PREFIX=$(python -c "import sysconfig; print(sysconfig.get_config_var('prefix'))")
fi
@jose-d
jose-d / telegraf_meshtastic.conf
Created January 31, 2025 11:26
meshtastic grok patterns for syslog
# note the %{NOTSPACE} template. There is one unprintable character, not sure if coming from rsyslog, or from Meshtastic device.
# %{NOTSPACE} will match it.
[[inputs.tail]]
files = ["/dev/shm/syslog"]
data_format = "grok"
grok_patterns = [
"%{TIMESTAMP_ISO8601} %{WORD:device} %{WORD:module} %{NOTSPACE}\\[%{INT}\\]: txGood=%{NUMBER:txGood:int},txRelay=%{NUMBER:txRelay:int},rxGood=%{NUMBER:rxGood:int},rxBad=%{NUMBER:rxBad:int}",
@jose-d
jose-d / torch a spol. v miniforge na vypocetnim prostredi
Created October 24, 2024 12:55
torch a spol. v miniforge na vypocetnim prostredi
# nalogujeme se na vp:
$ ssh sup200 -l josef.dvoracek
Last login: Thu Oct 24 11:54:13 2024
josef.dvoracek@sup200:~$
# stahneme miniforge:
josef.dvoracek@sup200:~$ cd Downloads/
josef.dvoracek@sup200:~/Downloads$ wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
@jose-d
jose-d / clik_example_C.out
Created April 5, 2024 16:19
Output of bundled test app
[jose@koios1 bin]$ ./clik_example_C /mnt/.beegfs/proj/plc-data/PR3-2018/COM_Likelihood_Data-baseline_R3.00/baseline/plc_3.0/hi_l/plik/plik_rd12_HM_v22b_TTTEEE.clik
----
clik version plc_3.1
smica
Checking likelihood '/mnt/.beegfs/proj/plc-data/PR3-2018/COM_Likelihood_Data-baseline_R3.00/baseline/plc_3.0/hi_l/plik/plik_rd12_HM_v22b_TTTEEE.clik' on test data. got -1172.47 expected -1172.47 (diff -4.34054e-07)
----
Likelihood use Cl
TT from l=0 to l=2508 (incl.)
EE from l=0 to l=2508 (incl.)
TE from l=0 to l=2508 (incl.)
nmcli connection modify hotspot_name 802-11-wireless-security.key-mgmt wpa-psk 802-11-wireless-security.psk hotspot_password
nmcli connection up hotspot_name
module(load="omprog")
template(name="script_template" type="string" string="%msg%\n")
if $msg contains "Error received in UDP connection under DTLS" then
{
action(type="omprog"
name="restart_hass"
binary="/bin/bash -c '/mnt/1g/hass/restart.sh'"
action.resumeInterval="5"
killUnresponsive="on"
template="script_template"