Jasper 1.900.1

Basic information

Prerequisites

  • Python 2.7, Python 3.4 or higher
  • numpy
  • Pysam
  • matplotlib (Just in case you want to generate graphics)

Installation

  1. Load the necessary modules for compilation

    $ module purge
    $ module load gcc/5.5.0
    
  2. Download the desired version of the software (Source code - tar.gz) [1]

    $ conda install numpy
    
  3. After decompressing JASPER, continue with the following steps for configuration and compilation:

    $ cd jasper-1.900.1
    
    $./configure --prefix=/share/apps/jasper/1.900.1/gcc-5.5.0 --build=x86_64-redhat-linux --enable-shared
    
    $ make -j 10 2>&1 | tee jasper-make.log
    $ make check 2>&1 | tee jasper-make-check.log
    $ sudo mkdir -p /share/apps/jasper/1.900.1/gcc-5.5.0
    $ sudo chown -R mgomezzul.apolo /share/apps/jasper/1.900.1/gcc-5.5.0
    $ make install 2>&1 | tee jasper-make-install.log
    $ sudo chown -R root.root /share/apps/jasper/1.900.1/gcc-5.5.0
    

Module

#%Module1.0####################################################################
##
## module load jasper/1.900.1_gcc-5.5.0
##
## /share/apps/modules/jasper/1.900.1_gcc-5.5.0
## Written by Mateo Gómez-Zuluaga
##

proc ModulesHelp {} {
    global version modroot
    puts stderr "Sets the environment for using JasPer-1.900.1\
                \nin the shared directory /share/apps/jasper/1.900.1/gcc-5.5.0\
                \nbuilded with gcc-5.5.0"
}

module-whatis "(Name________) jasper"
module-whatis "(Version_____) 1.900.1"
module-whatis "(Compilers___) gcc-5.5.0"
module-whatis "(System______) x86_64-redhat-linux"
module-whatis "(Libraries___) "

# for Tcl script use only
set         topdir        /share/apps/jasper/1.900.1/gcc-5.5.0
set         version       1.900.1
set         sys           x86_64-redhat-linux

conflict jasper
module load gcc/5.5.0


prepend-path    PATH                    $topdir/bin

prepend-path    LD_LIBRARY_PATH         $topdir/lib
prepend-path    LIBRARY_PATH            $topdir/lib
prepend-path    LD_RUN_PATH             $topdir/lib

prepend-path    C_INCLUDE_PATH          $topdir/include
prepend-path    CXX_INCLUDE_PATH        $topdir/include
prepend-path    CPLUS_INCLUDE_PATH      $topdir/include

Mode of use

$ module load jasper/1.900.1_gcc-5.5.0

Author

Andrés Felipe Zapata Palacio