Skip to content

Instantly share code, notes, and snippets.

View ax3l's full-sized avatar

Axel Huebl ax3l

View GitHub Profile
@ax3l
ax3l / adiosCompile.sh
Last active December 7, 2016 14:42
adios_quickcompile
export ZLIB_ROOT=/usr
wget http://users.nccs.gov/~pnorbert/adios-1.10.0.tar.gz
tar -xvzf adios-1.10.0.tar.gz
cd adios-1.10.0
LDFLAGS="-fPIC -pthread" CFLAGS="-fPIC -g -O2" CXXFLAGS="-fPIC -g -O2" \
./configure --prefix=$HOME/lib/adios-1.10.0 \
--with-zlib=$ZLIB_ROOT --with-mpi=$MPI_ROOT \
--enable-static --enable-shared \
--without-dataspaces --disable-fortran
@ax3l
ax3l / CUDA_Compilers.md
Last active May 3, 2024 13:36
CUDA Compilers
@ax3l
ax3l / DebCuda.md
Last active August 29, 2015 13:56
(deb) Cuda Compile without Card

Seen here

language: cpp

compiler:
  - gcc

script:
 - mkdir build_tmp && cd build_tmp
@ax3l
ax3l / latexGitHub
Last active December 12, 2020 23:04
Latex in GitHub Markdown
**URLEncode** Latex Formula -> [http://meyerweb.com/eric/tools/dencoder/]
Create Link:
```markdown
![My Formula](http://latex.codecogs.com/gif.latex?<URLEncodedLaTeX>)
or
![My Formula](https://chart.googleapis.com/chart?cht=tx&chl=<URLEncodedLaTeX>)
```
@ax3l
ax3l / BoostLibs.md
Last active August 14, 2017 13:19
Boost Compile Time Libs and Names

Boost 1.62

List of all libs here. Non header-only libraries (via ./bootstrap.sh --show-libraries):

The Boost libraries requiring separate building and installation are:
    - atomic
    - chrono
    - container
 - context
@ax3l
ax3l / CodingGuideLines_PIConGPU.md
Last active December 20, 2015 20:49
New PIConGPU Coding Guide Lines - Draft
  • TypeNames and objects, e.g. const Event event;
  • close namespaces with a comment: } // namespace itsName
  • Makros with newlines: align \ symbol to column 80
  • Describe how PreProcessor Macros are unrolled (excellent example)
/*      < typename T0, ... , typename TN    > */
template<BOOST_PP_ENUM_PARAMS(N, typename T)>
/*                      ( const T0, ... , const TN        ) */
HDINLINE void operator()( BOOST_PP_ENUM_PARAMS(N, const T)) const