2.4. Installation of OmpSs from git

Sometimes it may happen that you have to compile OmpSs from the git repository.

Note

There is no need to compile from git, you can always use a tarball. See Installation of OmpSs.

2.4.1. Additional requirements when building from git

Note

It is likely that your Linux distribution or system already contains these tools packaged or installed. Check the documentation of your Linux distribution or ask your administrator.

2.4.2. Nanos++ from git

  1. Make sure you fulfill the requirements of Nanos++. See Nanos++ build requirements.

  2. Clone the Nanos++ repository:

    $ git clone http://pm.bsc.es/git/nanox.git
    Cloning into 'nanox'...
    remote: Counting objects: 22280, done.
    remote: Compressing objects: 100% (7567/7567), done.
    remote: Total 22280 (delta 17397), reused 18399 (delta 14290)
    Receiving objects: 100% (22280/22280), 3.50 MiB, done.
    Resolving deltas: 100% (17397/17397), done.
    
  3. Run autoreconf in the newly created nanox distribution:

    $ cd nanox
    $ autoreconf -fiv
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force -I m4
    autoreconf: configure.ac: tracing
    autoreconf: running: libtoolize --copy --force
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    autoreconf: running: /usr/bin/autoconf --force
    autoreconf: running: /usr/bin/autoheader --force
    autoreconf: running: automake --add-missing --copy --force-missing
    configure.ac:149: installing './ar-lib'
    configure.ac:153: installing './compile'
    configure.ac:10: installing './config.guess'
    configure.ac:10: installing './config.sub'
    configure.ac:15: installing './install-sh'
    configure.ac:15: installing './missing'
    Makefile.am: installing './INSTALL'
    src/apis/c/debug/Makefile.am: installing './depcomp'
    autoreconf: Leaving directory `.'
    
  4. Now follow steps in Installation of Nanos++, starting from the step where you have to run configure.

2.4.3. Mercurium from git

You can find the instructions to build the latest version of Mercurium from our GitHub repository in the following link: https://github.com/bsc-pm/mcxx/blob/master/README.md