Skip to content

Instantly share code, notes, and snippets.

View ax3l's full-sized avatar
🍼
On Parental Leave until June 16th

Axel Huebl ax3l

🍼
On Parental Leave until June 16th
View GitHub Profile
@ax3l
ax3l / PIConGPU_040-dev_Octopus.sh
Last active March 5, 2018 07:01
Octopus (Osaka U): PIConGPU 0.4.0-dev Quick-Start
#!/usr/bin/env bash
#
# Author: Axel Huebl
#
# last updated: 2018-03-05
#
# execute:
# curl https://gist.githubusercontent.com/ax3l/080675215fdaf0c8bf0ad054ee8f7bc0/raw/PIConGPU_040-dev_Octopus.sh | bash
PIC_BRANCH="dev"
@ax3l
ax3l / PIConGPU_040-dev_osx.sh
Last active March 5, 2018 03:55
PIConGPU OSX Quick Start
#!/usr/bin/env bash
#
# Author: Axel Huebl
#
# last updated: 2018-03-05
#
# execute:
# curl https://gist.githubusercontent.com/ax3l/9e77c1b688136ea37b05ff00ea0e420f/raw/PIConGPU_040-dev_osx.sh | bash
PIC_BRANCH="dev"
@ax3l
ax3l / CXXdefaults.md
Last active February 26, 2025 14:50
Compiler C++ Version Defaults

C++ -std=... default of various commonly used C++ compilers

Compiler Version __cplusplus
g++ 4.7.4 199711L
5.5.0 199711L
6.1.0 201402L
10.2 201402L
11.1.0 201703L
clang++ 3.4.2 199711L
@ax3l
ax3l / PIConGPU_040-dev_PizDaint.sh
Last active May 13, 2019 14:45
Piz Daint: PIConGPU 0.4.0-dev Quick-Start
#!/usr/bin/env bash
#
# Authors: Axel Huebl, Marco Garten, Klaus Steiniger
#
# last updated: 2019-05-13
#
# execute:
# wget -O - https://gist.githubusercontent.com/ax3l/68cb4caa597df3def9b01640959ea56b/raw/PIConGPU_040-dev_PizDaint.sh | bash
PIC_BRANCH="dev"
@ax3l
ax3l / Dockerfile
Created June 24, 2017 10:47
Z-Checker Dockerfile
FROM ubuntu:16.04
# general environment for docker
ENV HOME /home
ENV DEBIAN_FRONTEND noninteractive
# spack environment
ENV PATH "$HOME/src/spack/bin:$PATH"
ENV LD_LIBRARY_PATH "/home/src/z-checker-install/Z-checker/zc-install/lib:$LD_LIBRARY_PATH"
@ax3l
ax3l / mpirun_ubuntu1604_desktop.tpl
Created May 11, 2017 13:51
An mpirun template for PIConGPU and TBG on 1 GPU Ubuntu 16.04
#!/usr/bin/env bash
# Copyright 2017 Axel Huebl
#
# This file is part of PIConGPU 0.2.4
#
# PIConGPU is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@ax3l
ax3l / noglobal.py
Last active May 8, 2024 22:23
Useful Noglobal in Python
# License:
# I hereby state this snippet is below "threshold of originality" where applicable (public domain).
#
# Otherwise, since initially posted on Stackoverflow, use as:
# CC-BY-SA 3.0 skyking, Glenn Maynard, Axel Huebl
# http://stackoverflow.com/a/31047259/2719194
# http://stackoverflow.com/a/4858123/2719194
import types
@ax3l
ax3l / cppParamSameInt.cpp
Created February 15, 2017 19:21
Same Int Param
#include <iostream>
#include <type_traits>
template<
int A,
int B,
bool isSame = ( A == B ),
typename TSfinae = void>
struct S;
@ax3l
ax3l / yt_plot_problem.ipynb
Created January 5, 2017 13:51
Plot Single Particle
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ax3l
ax3l / YT.ipynb
Created January 4, 2017 14:18 — forked from anokfireball/YT.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.