Skip to content

Instantly share code, notes, and snippets.

View andreas-h's full-sized avatar

Andreas Hilboll andreas-h

  • Universität Bremen
View GitHub Profile
@andreas-h
andreas-h / test_gridded_array.py
Created September 26, 2012 13:49
Design of a n-dimensional array-like object with dimension variables
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
*****************************************************************************
Design document for a ``gridded_array`` class
*****************************************************************************
:Author: Andreas Hilboll <[email protected]>
:Date: Wed Sep 26 14:48:57 2012
@andreas-h
andreas-h / gist:5419916
Created April 19, 2013 12:03
example ASCII file for read_table bug demonstration
Aden 12.6 45 x 0 40
AlKuwait 29 48 x 0 40
Amman 31.9 35.9 x 0 40
Ankara 40 33 x 0 40
Baghdad 33.2 44.2 x 0 40
Bangkok 13.2 100.5 x 0 40
Beijing 39.9 116 x 0 40
Beirut 33.9 35.5 x 0 40
Colombo 7 79.9 x 0 40
Dacca 23.3 90.5 x 0 40
@andreas-h
andreas-h / grid.svg
Created July 10, 2013 20:40
The SVG graphic source of the grid depiction at http://math.stackexchange.com/q/402330/79457
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@andreas-h
andreas-h / r_stl.py
Created December 5, 2013 16:30
Python-wrapper for R's STL
# -*- coding: utf-8 -*-
import datetime
from numpy import asarray, ceil
import pandas
import rpy2.robjects as robjects
def stl(data, ns, np=None, nt=None, nl=None, isdeg=0, itdeg=1, ildeg=1,
nsjump=None, ntjump=None, nljump=None, ni=2, no=0, fulloutput=False):
@andreas-h
andreas-h / update-emacs-ppa.sh
Created August 20, 2015 20:09
Script to build Ubuntu packages for Emacs 24.X
#! /usr/bin/env bash
# Author: Andreas Hilboll
#
# based on original by Damien Cassou
#
# This is the script I use to build Emacs packages for Ubuntu. These
# packages are based on Debian packages, and uploaded to
# https://launchpad.net/~andreas-h/+archive/emacs/.
This file has been truncated, but you can view the full file.
== 2016-04-30 19:25:04,007 main.py:73 INFO This is EasyBuild 2.7.0 (framework: 2.7.0, easyblocks: 0.0.UNKNOWN.EASYBLOCKS) on host heron.
== 2016-04-30 19:25:04,007 main.py:76 INFO Command line: --buildpath=/home/hilboll/eb/build --installpath=/home/hilboll/eb --packagepath=/home/hilboll/eb/packages --prefix=/home/hilboll/eb --repositorypath=/home/hilboll/eb/ebfiles_repo --robot-paths=/home/hilboll/eb/lamos-easyconfigs: --sourcepath=/home/hilboll/eb/sources WRF-3.6.1-foss-2015a-dmpar.eb
== 2016-04-30 19:25:04,007 main.py:78 INFO Using /tmpx/jtmp.hilboll/eb-lF_5Fc as temporary directory
== 2016-04-30 19:25:04,007 robot.py:53 INFO Using robot path(s): ['/home/hilboll/eb/lamos-easyconfigs', '/home/hilboll/eb/software/EasyBuild/2.7.0/lib/python2.7/site-packages/easybuild_easyconfigs-2.7.0-py2.7.egg/easybuild/easyconfigs']
== 2016-04-30 19:25:04,008 options.py:1092 INFO Using default external modules metadata cfg files: ['/home/hilboll/eb/software/EasyBuild/2.7.0/lib/python2.7/site-packages/easybuild_framework-2.7.
== 2016-07-16 15:04:39,599 easyblock.py:252 INFO This is EasyBuild 2.7.0 (framework: 2.7.0, easyblocks: 0.0.UNKNOWN.EASYBLOCKS) on host heron.
== 2016-07-16 15:04:39,599 easyblock.py:258 INFO This is easyblock EB_EasyBuildMeta from module easybuild.easyblocks.easybuildmeta (/home/hilboll/eb/software/EasyBuild/2.7.0/lib/python2.7/site-packages/easybuild_easyblocks-2.7.0-py2.7.egg/easybuild/easyblocks/e/easybuildmeta.pyo)
== 2016-07-16 15:04:39,599 easyblock.py:726 INFO Build dir set to /home/hilboll/eb/build/EasyBuild/2.8.2/dummy-dummy
== 2016-07-16 15:04:39,599 easyblock.py:760 INFO Software install dir set to /home/hilboll/eb/software/EasyBuild/2.8.2
== 2016-07-16 15:04:39,599 easyblock.py:765 INFO Module install dir set to /home/hilboll/eb/modules/all
== 2016-07-16 15:04:39,600 easyblock.py:237 INFO Init completed for application name EasyBuild version 2.8.2
== 2016-07-16 15:04:39,600 easyblock.py:2270 INFO Obtained application instance of for EasyBuild (easyblock: EB_EasyBuildMeta)
== 2016-07-16 15:04:39,6
This file has been truncated, but you can view the full file.
== 2016-12-06 14:48:54,160 generaloption.py:1567 DEBUG generate_cmd_line no ignore
== 2016-12-06 14:48:54,160 generaloption.py:1598 DEBUG generate_cmd_line adding add-dummy-to-minimal-toolchains value False default found. Not adding to args.
== 2016-12-06 14:48:54,161 generaloption.py:1598 DEBUG generate_cmd_line adding aggregate-regtest value None default found. Not adding to args.
== 2016-12-06 14:48:54,161 generaloption.py:1598 DEBUG generate_cmd_line adding allow-modules-tool-mismatch value False default found. Not adding to args.
== 2016-12-06 14:48:54,161 generaloption.py:1598 DEBUG generate_cmd_line adding amend value None default found. Not adding to args.
== 2016-12-06 14:48:54,161 generaloption.py:1598 DEBUG generate_cmd_line adding avail-cfgfile-constants value False default found. Not adding to args.
== 2016-12-06 14:48:54,161 generaloption.py:1598 DEBUG generate_cmd_line adding avail-easyconfig-constants value False default found. Not adding to args.
== 2016-12-06 14:48:54,161 generaloption.py:15
This file has been truncated, but you can view the full file.
== 2016-12-27 19:27:50,179 generaloption.py:1567 DEBUG generate_cmd_line no ignore
== 2016-12-27 19:27:50,180 generaloption.py:1598 DEBUG generate_cmd_line adding add-dummy-to-minimal-toolchains value False default found. Not adding to args.
== 2016-12-27 19:27:50,180 generaloption.py:1598 DEBUG generate_cmd_line adding aggregate-regtest value None default found. Not adding to args.
== 2016-12-27 19:27:50,180 generaloption.py:1598 DEBUG generate_cmd_line adding allow-modules-tool-mismatch value False default found. Not adding to args.
== 2016-12-27 19:27:50,180 generaloption.py:1598 DEBUG generate_cmd_line adding amend value None default found. Not adding to args.
== 2016-12-27 19:27:50,180 generaloption.py:1598 DEBUG generate_cmd_line adding avail-cfgfile-constants value False default found. Not adding to args.
== 2016-12-27 19:27:50,180 generaloption.py:1598 DEBUG generate_cmd_line adding avail-easyconfig-constants value False default found. Not adding to args.
== 2016-12-27 19:27:50,180 generaloption.py:15
@andreas-h
andreas-h / icc-2016.2.181-GCC-4.9.3-2.25.eb
Created January 4, 2017 10:07
Easyconfigs for Intel toolchain from single large tgz source archive
# Built with EasyBuild version 2.7.0 on 2016-04-20_10-22-43
# This is an easyconfig file for EasyBuild, see http://hpcugent.github.io/easybuild
name = 'icc'
version = '2016.2.181'
homepage = 'http://software.intel.com/en-us/intel-compilers/'
description = "C and C++ compiler from Intel"
toolchain = {'name': 'dummy', 'version': 'dummy'}