Skip to content

Instantly share code, notes, and snippets.

View iamc's full-sized avatar

Iñigo Aldazabal iamc

  • Materials Physics Center (CFM) - CSIC
  • Donostia - San Sebastian (Spain)
  • 16:17 (UTC +01:00)
View GitHub Profile
@iamc
iamc / Instructions.md
Created February 16, 2022 07:33 — forked from kalebo/Instructions.md
Instructions on setting up a FlexLM daemon for SystemD

Setting up a FlexLM service for SystemD

Create directory structure

  1. Create the directory for the flexlm user to use, e.g., /opt/flexlm
  2. Place all the binaries for the licence manager and the licence in a vendor specific subdirectory

At this point you should have something similar to following directory structure:

/opt/flexlm/
└── VENDOR
@iamc
iamc / mic-loopback.sh
Created May 18, 2017 08:46
script to enable/disable pulseaudio loopback module in order to get eg. mic feedback
#!/bin/bash
#
# Loads / unloads pulseaudio loopback module in order to eg. be redirect
# mic input to headphones.
#
# Usage: mic-loopback [on|off]
#
if [ $# -ne 1 ]; then
echo "Usage: $0 [on|off]"
@iamc
iamc / easybuild-13.eb
Last active August 29, 2015 14:02
Error while trying to eb easybuid in a rocks 6.1 (CentOS6.3) machine using Lmod-5.6
#easybuild-13.eb
easyblock = 'EB_EasyBuildMeta'
name = 'EasyBuild'
version = '1.13.0'
homepage = 'http://hpcugent.github.com/easybuild/'
description = """EasyBuild is a software build and installation framework
written in Python that allows you to install software in a structured,
repeatable and robust way."""
== 2014-05-30 01:53:35,837 bootstrap_eb.EB_EasyBuildMeta INFO This is EasyBuild 1.13.0 (framework: 1.13.0, easyblocks: 1.13.0) on host localhost.localdomain.
== 2014-05-30 01:53:35,838 bootstrap_eb.EB_EasyBuildMeta INFO Init completed for application name EasyBuild version 1.13.0
== 2014-05-30 01:53:35,838 bootstrap_eb.easyblock.<module> INFO Obtained application instance of for EasyBuild (easyblock: EB_EasyBuildMeta)
== 2014-05-30 01:53:35,840 bootstrap_eb.EB_EasyBuildMeta INFO building and installing EasyBuild/1.13.0...
== 2014-05-30 01:53:35,841 bootstrap_eb.EB_EasyBuildMeta INFO fetching files...
== 2014-05-30 01:53:35,841 bootstrap_eb.EB_EasyBuildMeta INFO Starting fetch step
== 2014-05-30 01:53:35,843 bootstrap_eb.EB_EasyBuildMeta INFO Running method fetch_step part of step fetch
== 2014-05-30 01:53:35,843 bootstrap_eb.EB_EasyBuildMeta WARNING Easyconfig does not specify an EasyBuild-version (key 'easybuild_version')! Assuming the latest version
== 2014-05-30 01:53:35,855 bootstrap_eb.filetools INFO Cre
# python bootstrap_eb.py $HOME/.local/easybuild[[INFO]] Found module command 'lmod' (Lmod), so using it.
[[INFO]]
+++ STAGE 0: installing distribute via included (patched) distribute_setup.py...
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.34.tar.gz
Extracting in /tmp/tmpdXj10b
Now working in /tmp/tmpdXj10b/distribute-0.6.34
Installing Distribute