Skip to content

Latest commit

 

History

History
97 lines (56 loc) · 1.89 KB

File metadata and controls

97 lines (56 loc) · 1.89 KB
  • OS base: CentOS (x86_64) \boldsymbol{\ge} 6.6 (Rocks 6.2)
  • Compiler: Intel Parallel Studio XE Cluster Edition \boldsymbol{\ge} 17.0.1
  1. Get the current BayeScan version from the official webpage and enter into the source directory.

    wget http://cmpg.unibe.ch/software/BayeScan/files/BayeScan2.1.zip
    upzip BayesScan2.1.zip
    cd BayeScan/source
  2. Modifie the Makefile in order to use icpc (C++ Intel Compiler), instead of g++.

    .. literalinclude:: src/Makefile
         :language: bash
         :caption: :download:`Makefile <src/Makefile>`
    
    
    
  3. Build BayeScan

    make

    Note

    You must load the necessary modules to build BayeScan (i.e. Intel Compiler).

    In Apolo II:

    module load intel/2017_update-1

    In Cronos:

    module load intel/intel-18.0.2
  4. Finally, create the installation directory and move the built executable.

Apolo

mkdir -p /share/apps/bayescan/2.1/intel-2017_update-1/bin
mv bayescan_2.1 /share/apps/bayescan/2.1/intel-2017_update-1/bin/bayescan

Cronos

mkdir -p /share/apps/bayescan/2.1/intel-18.0.2/bin
mv bayescan_2.1 /share/apps/bayescan/2.1/intel-18.0.2/bin/bayescan

Apolo II

.. literalinclude:: src/2.1_apolo
       :language: tcl
       :caption: :download:`Module file <src/2.1_apolo>`


Cronos

.. literalinclude:: src/2.1_cronos
        :language: tcl
        :caption: :download:`Module file <src/2.1_cronos>`