Prank 170427

Basic information

Tested on (Requirements)

  • OS base: CentOS (x86_64) \(\boldsymbol{\ge}\) 6
  • Compiler Intel 19.0.4

Installation

  1. First of all, you must load the following modules for the compilation.

    $ module load intel/19.0.4
    
  2. After that, download the source code from github and move into the src directory generated.

    $ git clone https://github.com/ariloytynoja/prank-msa.git
    $ cd prank-msa/src
    
  3. Before starting the installation, you should make some changes, in the Makefile in order to be able to compile Prank with ICC and ICPC support, so open your trusted text editor and edit the file.

    $ # For this case I'll use vim
    $ vim Makefile
    
  4. At the top of the Makefile, you’ll find a section titled “Compiler, tools and options”. There, there are some variables such as CC, CXX, CFLAGS, CXXFLAGS, etc. Those variables should look like the following after the changes.

    CC            = icc
    CXX           = icpc
    DEFINES       = -xHost -Ofast -pipe
    CFLAGS        = $(DEFINES)
    CXXFLAGS      = $(DEFINES)
    LINK          = icpc
    AR            = xiar cqs
    
  5. Then you can continue with the installation.

    $ make -j
    
  6. If the installation was successful then you should:

    $ ./prank -version
    
  7. Optional: If you want, you can add the Prank binary to your $PATH. For this, is highly recommended to move just the binary file to another location and add it to your $PATH

    $ mkdir -p $HOME/prank-bin
    $ cp prank $HOME/prank-bin
    $ cd $HOME/prank-bin
    $ ./prank -version
    $ # From here you can follow some tutorial about how to add something to your $PATH
    

Authors

  • Laura Sanchez Cordoba
  • Samuel Palacios Bernate