C-SWARM/pgfem-3d-singularity:latest

$ singularity pull shub://C-SWARM/pgfem-3d-singularity:latest

Singularity Recipe

Bootstrap: docker

From: fedora:28

%files

    build.sh /build.sh
    mkl_silent.cfg /mkl_silent.cfg

%environment

    INTEL_MKL=l_mkl_2018.2.199.tgz
    SUITESPARSE=SuiteSparse-4.2.2.tar.gz
    HYPRE=hypre-2.11.2.tar.gz
    PHOTON=photon-1.1.tar.bz2

%post

    dnf -y install curl git paraview cmake cpio libXaw gcc autoconf dh-autoreconf pkgconf gcc-c++ gcc-gfortran glibc glibc-devel libibverbs rdma-core-devel rdma-core infiniband-diags infiniband-diags-devel byacc libibverbs-devel librdmacm-devel wget file unzip

    export INTEL_MKL=l_mkl_2018.2.199.tgz
    export SUITESPARSE=SuiteSparse-4.5.5.tar.gz
    export HYPRE=hypre-2.11.2.tar.gz
    export MVAPICH=mvapich2-2.2.tar.gz
    export PHOTON=photon-1.1.tar.bz2

    # Obtaining necessary software
    curl -O http://kanar.open.sice.indiana.edu/images/$INTEL_MKL
    curl -O http://kanar.open.sice.indiana.edu/images/$PHOTON
    curl -O http://faculty.cse.tamu.edu/davis/SuiteSparse/$SUITESPARSE
    curl -O http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/$MVAPICH
    curl -O https://computing.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods/download/$HYPRE

    # Obtaining PGFem3D and components
    wget -O pgfem-3d.zip https://github.com/C-SWARM/pgfem-3d/archive/develop.zip
    unzip pgfem-3d.zip
    
    mv /pgfem-3d-develop /pgfem_3d

    [ ! -d /ttl ] && git clone -b develop https://github.com/C-SWARM/ttl.git
    [ ! -d /gcm ] && git clone -b develop https://github.com/C-SWARM/gcm.git

    tar -xf $MVAPICH
    cd ${MVAPICH%.tar.gz}
    ./configure --prefix=/mvapich --disable-wrapper-rpath
    make -j 4 install
    PATH=$PATH:/mvapich/bin
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mvapich/lib
    export PATH=$PATH:/mvapich/bin
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mvapich/lib
    cd -

    # Building software components and PGFem3D
    bash /build.sh

    rm $SUITESPARSE $INTEL_MKL $HYPRE $MVAPICH $PHOTON mkl_silent.cfg build.sh pgfem-3d.zip

%runscript

    exec /pgfem_3d/deploy/bin/PGFem3D "$@"

%labels

    Maintainer Cody Kankel <ckankel@nd.edu>, Ezra Kissel <ezkissel@indiana.edu>

    Version 1.0

Collection


View on Datalad

Metrics

key value
id /containers/C-SWARM-pgfem-3d-singularity-latest
collection name C-SWARM/pgfem-3d-singularity
branch master
tag latest
commit 6c51501d8f8fdd4568f9c8eb6f543529ab88e4a0
version (container hash) 535ba2fbe4e3142cecd7a73f3d0ff65f2b08c79c0a52960890db23fccf6d17ba
build date 2020-03-02T14:14:06.878Z
size (MB) 2251.296875
size (bytes) 2360655872
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.