Cloog 0.20.0

Basic information

  • Instalation date: 03/03/2022
  • Official Website: https://www.cloog.org/
  • Supercomputer: Apolo II
  • License: Free Software Foundation’s GNU General Public License

Dependencies

  • GMP >= 6.2.1
  • Libtool >= 2.4.6

Installation

1.. Download the desired version of the software (Source code) [1]

$ cd /home/blopezp
$ git clone https://github.com/periscop/cloog.git
  1. After unzipping Cloog, continue with the following steps for configuration and compilation:

    $cd cloog-0.20.0
    
    
    $ module load libtool/2.4.6_gcc-8.5.0
    $ module load gmp/6.2.1_gcc-8.5.0
    
    $ ./get_submodules.sh
    $ ./autogen.sh
    $ ./configure --prefix=/share/apps/cloog/0.20.0/gcc-8.5.0 --build=x86_64-redhat-linux-gnu -with-isl=bundled --with-gmp-prefix=/share/apps/gmp/6.2.1/gcc-8.5.0 --with-osl=bundled --with-gnu-ld
    $ make -j 10 2>&1 | tee cloog-make.log
    $ sudo mkdir -p /share/apps/cloog/0.20.0
    $ sudo make -j 10 install 2>&1 | tee cloog-make-install.log
    

It is important to leave the flags that include isl and osl in the installation as they are dependencies of R

Module

#%Module1.0####################################################################
##
## module load cloog/0.18.4_gcc-4.4.7-18
##
## /share/apps/modules/cloog/0.18.4_gcc-4.4.7-18
## Written by Bryan Lopez Parra
##

proc ModulesHelp {} {
    global version modroot
    puts stderr "Sets the environment for using CLooG 0.18.4\
                \nin the shared directory /share/apps/cloog/0.18.4/gcc-4.4.7-18\
                \nbuilded with gcc-4.4.7-18."
}

module-whatis "(Name________) cloog"
module-whatis "(Version_____) 0.18.4"
module-whatis "(Compilers___) gcc-4.4.7-18"
module-whatis "(System______) x86_64-redhat-linux"
module-whatis "(Libraries___) gmp-6.1.2"

# for Tcl script use only
set         topdir        /share/apps/cloog/0.20.0/gcc-8.5.0
set         version       0.20.0
set         sys           x86_64-redhat-linux

conflict cloog
module load gmp/6.2.1_gcc-8.5.0
module load libtool/2.4.6_gcc-8.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

prepend-path    PKG_CONFIG_PATH         $topdir/lib/pkgconfig

Mode of use

$ module load cloog/0.20.0_gcc-8.5.0
Author: