pndni/minc-and-ants-container:dev

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

Singularity Recipe

Bootstrap: shub
From: pndni/minc-container:1.2.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
    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 dev

Collection


View on Datalad

Metrics

key value
id /containers/pndni-minc-and-ants-container-dev
collection name pndni/minc-and-ants-container
branch master
tag dev
commit 65cf47900cfdec74087bf11045b5c903f4d9646f
version (container hash) b03c1a56c653dcd4b6d7cbce824d0328
build date 2019-04-04T22:58:11.496Z
size (MB) 6860
size (bytes) 1341337631
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.