Skip to content

Instantly share code, notes, and snippets.

View pforai's full-sized avatar

Petar Forai pforai

View GitHub Profile
#!/bin/sh
#
# WE SO COOL. WE WRITE /etc/*-release IN DIFFRENT FORMATS!!11
# welcome to linux.
release=`grep 'SUSE\|ubuntu\|Red Hat\|CentOS' -A10 -B10 /etc/*release | tr '[:upper:]' '[:lower:]'`
case $release in
*suse*version*11*patchlevel*0) RELSTRING=sles-11-sp0 ;;
*suse*version*11*patchlevel*1) RELSTRING=sles-11-sp1 ;;
*suse*version*11*patchlevel*2) RELSTRING=sles-11-sp2 ;;
@pforai
pforai / gist:4604290
Last active December 11, 2015 12:58
Output of EB's python os/distro detection script.
## SLES 11 SP2
Python version: ['2.6.8 (unknown, May 29 2012, 22:30:44) ', '[GCC 4.3.4 [gcc-4_3-branch revision 152973]]']
dist: ('SuSE', '11', 'x86_64')
linux_distrubution: ('SUSE Linux Enterprise Server ', '11', 'x86_64')
system: Linux
machine: x86_64
platform: Linux-3.0.38-0.5-default-x86_64-with-SuSE-11-x86_64
uname: ('Linux', 'service1', '3.0.38-0.5-default', '#1 SMP Fri Aug 3 09:02:17 UTC 2012 (358029e)', 'x86_64', 'x86_64')
version: #1 SMP Fri Aug 3 09:02:17 UTC 2012 (358029e)
mac_ver: ('', ('', '', ''), '')
@pforai
pforai / Celera_Assembler-8.1-goolf-1.4.10_partial.log
Created July 8, 2014 19:52
(partial) EasyBuild log for failed build of /tmp/easybuild-vu3IVK/files_pr960/Celera_Assembler-8.1-goolf-1.4.10.eb (PR #960)
== 2014-07-08 21:52:20,983 main.ToolchainVariables_FFT_LIB_DIR DEBUG sanitize: to_remove in [['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/FFTW/3.3.3-gompi-1.4.10/lib']] []
== 2014-07-08 21:52:20,983 main.ToolchainVariables_FFT_LIB_DIR DEBUG __str__: return /net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/FFTW/3.3.3-gompi-1.4.10/lib (self: [['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/FFTW/3.3.3-gompi-1.4.10/lib']])
== 2014-07-08 21:52:20,983 main.ToolchainVariables_LDFLAGS DEBUG sanitize: to_remove in [['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/GCC/4.7.2/lib64', '/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/GCC/4.7.2/lib'], ['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/OpenBLAS/0.2.6-gompi-1.4.10-LAPACK-3.4.2/lib'], ['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/OpenBLAS/0.2.6-gompi-1.4.10-LAPACK-3.4.2/lib'], ['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/ScaLAPACK/2.0.2-gompi-1.4.10-OpenBLAS-0.2.6-LAPACK-3.4.2/lib'],
@pforai
pforai / easybuild_test_report_easyconfigs_pr960_20145208-UTC-19-52-47.md
Created July 8, 2014 19:52
EasyBuild test report for easyconfigs PR #960
@pforai
pforai / kmer-r1971-goolf-1.4.10_partial.log
Created July 8, 2014 19:58
(partial) EasyBuild log for failed build of /tmp/easybuild-naPOds/files_pr961/kmer-r1971-goolf-1.4.10.eb (PR #961)
== 2014-07-08 21:58:17,555 main.ToolchainVariables_LIBLAPACK_MT_ONLY DEBUG sanitize: to_remove in [['openblas'], ['gfortran']] []
== 2014-07-08 21:58:17,556 main.ToolchainVariables_LIBLAPACK_MT_ONLY DEBUG __str__: return -lopenblas -lgfortran (self: [['openblas'], ['gfortran']])
== 2014-07-08 21:58:17,556 main.ToolchainVariables_LIBBLAS DEBUG sanitize: to_remove in [['openblas'], ['gfortran']] []
== 2014-07-08 21:58:17,556 main.ToolchainVariables_LIBBLAS DEBUG __str__: return -lopenblas -lgfortran (self: [['openblas'], ['gfortran']])
== 2014-07-08 21:58:17,556 main.ToolchainVariables_SCALAPACK_INC_DIR DEBUG sanitize: to_remove in [['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/ScaLAPACK/2.0.2-gompi-1.4.10-OpenBLAS-0.2.6-LAPACK-3.4.2/include']] []
== 2014-07-08 21:58:17,557 main.ToolchainVariables_SCALAPACK_INC_DIR DEBUG __str__: return /net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/ScaLAPACK/2.0.2-gompi-1.4.10-OpenBLAS-0.2.6-LAPACK-3.4.2/include (self: [['/net/gmi.oeaw.ac.at/software/mende
@pforai
pforai / easybuild_test_report_easyconfigs_pr961_20145808-UTC-19-58-34.md
Created July 8, 2014 19:58
EasyBuild test report for easyconfigs PR #961
@pforai
pforai / Celera_Assembler-8.1-goolf-1.4.10_partial.log
Created July 8, 2014 20:04
(partial) EasyBuild log for failed build of /tmp/easybuild-h0RlYu/files_pr960/Celera_Assembler-8.1-goolf-1.4.10.eb (PR #960)
== 2014-07-08 22:03:37,860 main.ToolchainVariables_FFT_LIB_DIR DEBUG sanitize: to_remove in [['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/FFTW/3.3.3-gompi-1.4.10/lib']] []
== 2014-07-08 22:03:37,860 main.ToolchainVariables_FFT_LIB_DIR DEBUG __str__: return /net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/FFTW/3.3.3-gompi-1.4.10/lib (self: [['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/FFTW/3.3.3-gompi-1.4.10/lib']])
== 2014-07-08 22:03:37,860 main.ToolchainVariables_LDFLAGS DEBUG sanitize: to_remove in [['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/GCC/4.7.2/lib64', '/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/GCC/4.7.2/lib'], ['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/OpenBLAS/0.2.6-gompi-1.4.10-LAPACK-3.4.2/lib'], ['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/OpenBLAS/0.2.6-gompi-1.4.10-LAPACK-3.4.2/lib'], ['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/ScaLAPACK/2.0.2-gompi-1.4.10-OpenBLAS-0.2.6-LAPACK-3.4.2/lib'],
@pforai
pforai / easybuild_test_report_easyconfigs_pr960_20140408-UTC-20-04-03.md
Created July 8, 2014 20:04
EasyBuild test report for easyconfigs PR #960
@pforai
pforai / Celera_Assembler-8.1-goolf-1.4.10_partial.log
Created July 8, 2014 20:46
(partial) EasyBuild log for failed build of /tmp/easybuild-83_WGK/files_pr960/Celera_Assembler-8.1-goolf-1.4.10.eb (PR #960)
== 2014-07-08 22:45:28,713 main.ToolchainVariables_FFT_LIB_DIR DEBUG sanitize: to_remove in [['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/FFTW/3.3.3-gompi-1.4.10/lib']] []
== 2014-07-08 22:45:28,713 main.ToolchainVariables_FFT_LIB_DIR DEBUG __str__: return /net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/FFTW/3.3.3-gompi-1.4.10/lib (self: [['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/FFTW/3.3.3-gompi-1.4.10/lib']])
== 2014-07-08 22:45:28,714 main.ToolchainVariables_LDFLAGS DEBUG sanitize: to_remove in [['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/GCC/4.7.2/lib64', '/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/GCC/4.7.2/lib'], ['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/OpenBLAS/0.2.6-gompi-1.4.10-LAPACK-3.4.2/lib'], ['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/OpenBLAS/0.2.6-gompi-1.4.10-LAPACK-3.4.2/lib'], ['/net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/ScaLAPACK/2.0.2-gompi-1.4.10-OpenBLAS-0.2.6-LAPACK-3.4.2/lib'],
@pforai
pforai / easybuild_test_report_easyconfigs_pr960_20144608-UTC-20-46-01.md
Created July 8, 2014 20:46
EasyBuild test report for easyconfigs PR #960