pndni/minc-and-ants-container:1.1.0

$ singularity pull shub://pndni/minc-and-ants-container:1.1.0

Singularity Recipe

Bootstrap: shub
From: pndni/minc-container:1.3.0

%appinstall ants
    tmpdir=$(mktemp -d)
    pushd $tmpdir
    git clone --branch v2.3.1 https://github.com/ANTsX/ANTs.git ANTs_src
    mkdir ANTs_build
    pushd ANTs_build
    /opt/cmake/bin/cmake ../ANTs_src \
    -DITK_BUILD_MINC_SUPPORT=ON
    make -j 2
    popd  # ANTs_build
    mkdir -p /opt/ants/bin
    # it doesn't look like the libraries are needed. no RPATH or
    # RUNPATH used. as determined by running
    # for i in `ls`; do if [ $(file $i | awk '{print $2}') == "ELF" ]; then objdump -x $i | awk -v FS='\n' -v RS='\n\n' '$1 == "Dynamic Section:" {print}' | grep -i path ; fi; done;
    # in /scif/apps/ants/bin
    # and the documentation doesn't say to alter LD_LIBRARY_PATH
    cp ANTs_src/Scripts/* /scif/apps/ants/bin/
    cp ANTs_build/bin/* /scif/apps/ants/bin/
    popd  # $tmpdir

%apphelp
The ANTs software is governed by the following
terms/copyright:
Copyright (c) 2009-2013 ConsortiumOfANTS
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the
  documentation and/or other materials provided with the distribution.
3. Neither the name of the consortium nor the names of its contributors
  may be used to endorse or promote products derived from this software
  without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE CONSORTIUM AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

%labels
    Maintainer Steven Tilley
    Version 1.1.0

Collection


View on Datalad

Metrics

key value
id /containers/pndni-minc-and-ants-container-1.1.0
collection name pndni/minc-and-ants-container
branch 1.1.0
tag 1.1.0
commit cd2e54210fd748426d936eae2c30b2c5208d8501
version (container hash) aa66406ac9537100974b7d5a6e087a2a
build date 2019-04-13T15:19:01.112Z
size (MB) 6860
size (bytes) 1341333535
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.