spraetor/polar_pfc:latest

$ singularity pull shub://spraetor/polar_pfc:latest

Singularity Recipe

Bootstrap: docker
From: debian:buster

%labels
  Author simon.praetorius@tu-dresden.de"
  Version v0.1

%files
  code /app

%post
  apt-get update -y
  apt-get install -y --no-install-recommends \
      build-essential \
      ca-certificates \
      cmake \
      g++-8 \
      gcc-8 \
      git \
      libalglib-dev \
      libboost-dev \
      libeigen3-dev \
      libfftw3-dev \
      zlib1g-dev
  apt-get clean
  rm -rf /var/lib/apt/lists/*

%post
  mkdir -p /tmp/sources && cd /tmp/sources
  git clone https://github.com/jlblancoc/nanoflann.git --single-branch --branch master
  git clone https://bitbucket.org/nschaeff/shtns.git --single-branch --branch master

  cd /tmp/sources/shtns
  ./configure --prefix=/opt/software/shtns --enable-openmp
  make && make install

  mkdir -p /opt/software/nanoflann/include
  cp /tmp/sources/nanoflann/include/*.hpp /opt/software/nanoflann/include

  rm -rf /tmp/sources

%post
  mkdir /app/build && cd /app/build
  cmake -DCMAKE_BUILD_TYPE=Release \
        -DSHTNS_LIB:PATH=/opt/software/shtns/lib \
        -DSHTNS_INC:PATH=/opt/software/shtns/include \
        -DNANOFLANN_INC:PATH=/opt/software/nanoflann/include \
        -DALGLIB_INC:PATH=/usr/include/libalglib /app
  make

%environment
  export PATH=/app/build:$PATH

%runscript
  /app/build/polar_pfc $@

Collection


View on Datalad

Metrics

key value
id /containers/spraetor-polar_pfc-latest
collection name spraetor/polar_pfc
branch master
tag latest
commit fe80198eb6f425ecf36bc907b7eb204dc1ea5b4b
version (container hash) f80bb511cc035666a2f2c27463d8aabb
build date 2020-08-30T19:19:12.196Z
size (MB) 672.0
size (bytes) 194326559
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.