Home

Installation Manual

image

Contents

1. COMPSs Bindings Common COMPSs Bindings COMPSs Python Binding COMPSs Framework COMPSs C C Binding COMPSs Extrae COMPSs Tools COMPSs Monitor COMPSs Cloud Figure 1 COMPSs packaging structure 2 2 Packages Dependencies Next we provide a list of dependencies for each COMPSs package The exact names may vary depending on the Linux distribution but this list provides a general overview of the COMPSs dependencies For specific information about your distribution please check the Depends section at your package manager apt yum zypper etc COMPSs Framework compss runtime compss bindings compss tools compss cloud COMPSs Runtime compss engine compss worker COMPSs Engine openjdk 7 jre graphviz xdg utils COMPSs Worker openjdk 7 jre COMPSs Bindings compss bindings common compss c binding compss python binding COMPSs Bindings Common compss engine openjdk 7 jre COMPSs Python Binding compss bindings common python gt 2 7 libpython2 7 COMPSs C C Binding compss binding common openjdk 7 jre automake libtool libboost serialization dev libboost iostreams dev COMPSs Tools compss extrae compss monitor COMPSs Extrae compss engine openjdk 7 jre libxml2 gt 2 5 libxml2 dev gt 2 5 gfortran COMPSs Monitor compss engine openjdk 7 jre COMPSs Cloud compss engine openjdk 7 jre 3 Debian based dis
2. COMP SUPERSCALAR Installation Manual VERSION 1 3 November 24 2015 Barcelona Supercomputing Center Centro Nacional de Supercomputaci n This manual only provides information about how to install and configure COMPSs Specifically it details the installation process for Debian based distributions and for Red Hat based distributions and the steps to configure COMPSs properly If you are not wondering to install COMPSs please consider using our already pre pared Virtual Machine available at our webpage http compss bsc es For further information about the application execution please refer to the COMPSs User Manual Application execution guide available at http compss bsc es For further information about the application development please refer to the COMPSs User Manual Application development guide available at http compss bsc es For full COMPSs application examples codes execution commands results logs etc please refer to the COMPSs Sample Applications available at http compss bsc es Contents 1 COMP Superscalar COMPSs 2 Packages description 2 1 Packages structure lt a oe 4 Hale e OH e Oh Ee A E 2 2 Packages Dependencied sucias eee b Pe ee be barn 3 Debian based distributions pak bak e a a e Ge Hs Sa Be Ge ea a G 3 2 Package Repository od cda ace Meek oe ee ee el ee eed See sos a A Ce hig era A ee eR ee a amp Ee 4 RedHat based distributions zypper A ee ee e
3. is based on sequential programming which makes it appealing to users that either lack parallel programming expertise or are looking for better programmability e Infrastructure unaware COMPSs offers a model that abstracts the application from the underlying distributed infrastructure Hence COMPSs programs do not include any detail that could tie them to a particular platform like deployment or resource management This makes applications portable between infrastructures with diverse characteristics e Standard programming languages COMPSs is based on the popular program ming language Java but also offers language bindings for Python and C C ap plications This facilitates the learning of the model since programmers can reuse most of their previous knowledge e No APIs In the case of COMPSs applications in Java the model does not require to use any special API call pragma or construct in the application everything is pure standard Java syntax and libraries With regard the Python and C C bindings a small set of API calls should be used on the COMPSs applications 2 Packages description 2 1 Packages structure Despite the fact that we recommend users to install the complete COMPSs Framework we have built different packages to allow users customize as maximum as possible their installation Figure lillustrates the COMPSs packaging structure and its internal depen dencies COMPSs Engine COMPSs Runtime COMPSs Worker
4. installation script will create a COMPSs folder inside the given lt targetDir gt so the final COMPSs installation will be placed under the lt targetDir gt COMPSs folder Please note that if the folder already exists it will be automatically erased In order to successfully run the installation script some dependencies must be present on the target machine Administrators must provide the correct installation and environ ment of the following software e Autotools e BOOST e Java 7 JRE The following environment variables must be defined e JAVA HOME e BOOST_CPPFLAGS This installation provides a compssenv file that loads the required environment to allow users work more easily with COMPSs Thus after the installation process we recomend to source the lt targetDir gt COM PSs compssenv into the users bashre For further information about either the installation or the usage please check the README file inside the package 15 7 Additional Configuration 7 1 Configure SSH passwordless By default COMPSs uses SSH libraries for communication between nodes Consequently after COMPSs is installed on a set of machines the SSH keys must be configured on those machines so that COMPSs can establish passwordless connections between them This requires to install the OpenSSH package if not present already and follow these steps in each machine 1 Generate an SSH key pair ssh keygen t dsa 2 Distribute the
5. C C and Python applications To install this package please run This package is composed of three sub packages COMPSs Bindings Common Contains the API required for the communication between any binding and the COMPSs Runtime It is necessary for any binding installation To install this package please run COMPSs C C Binding Contains the C C Binding To install this package please run COMPSs Python Binding Contains the Python Binding To install this package please run e COMPSs Tools Contains all the COMPSs Tools To install this package please run This package is composed of three sub packages COMPSs Extrae Contains the COMPSs Extrae tool needed to generate and process application traces To install this package please run COMPSs Monitor Contains the COMPSs Monitor tool needed to monitor the application execu tion To install this package please run e COMPSs Cloud Contains all the COMPSs Connectors needed to interact with the Cloud To install this package please run 3 4 Post installation Once your COMPSs package has been installed remember to log out and back in again to end the installation process If you need to set up your machine for the first time please take a look at Section for a detailed description of the additional configuration 4 RedHat based distributions zypper 4 1 Prerequisites The commands described on the following sections require root privilege
6. e de ee ee ee ee eer 4 2 Package Repository o oo aaa a CACA a ge e ee ee ane eet eee eee ee ee ee ee eS ee 5 RedHat based distributions yum A ose a Aw Sk A ereo ee oe oe See ee eo eee ee 5 2 Package Repository 2 26 6 48498 eta ed wed eo eed ee ee acd 5 3 Installation 2 0 0 ee 5 4 Post installation 0 0 20 ee 6 Supercomputers 7 Additional Configuration 71 1 Configure SSH passwordless lt lt lt lt lt lt lt 2 2 2 7 2 Configure the COMPSs Cloud Connectors 7 2 1 OCCI Open Cloud Computing Interface connector 8 COMPSs Removal 8 1 How to uninstall or remove COMPSs 0 020200220022020802084 8 2 How to clean repositories e eee oa ee Ye oy OES oe a 12 12 12 12 14 15 16 16 17 17 1 COMP Superscalar COMPSs COMP Superscalar COMPSs is a programming model which aims to ease the develop ment of applications for distributed infrastructures such as Clusters Grids and Clouds COMP Superscalar also features a runtime system that exploits the inherent parallelism of applications at execution time For the sake of programming productivity the COMPSs model has four key charac teristics e Sequential programming COMPSs programmers do not need to deal with the typical duties of parallelization and distribution such as thread creation and syn chronization data distribution messaging or fault tolerance Instead the model
7. e package repository you can easily download our predefined lists by executing the following command 5 3 Installation This section describes how to install all the available COMPSs packages If you are willing to have a full COMPSs installation just follow the COMPSs Framework instructions and skip directly to next section e COMPSs Framework Contains the all COMPSs functionalities including the Runtime all the bindings all the tools and the cloud connectors To install this package please run e COMPSs Runtime Contains the COMPSs runtime to support the native functionalities Install this package if you only need to support Java applications To install this package please run This package is composed of two sub packages COMPSs Engine Contains the COMPSs Engine essential to run COMPSs applications as mas ter To install this package please run COMPSs Worker Contains the minimum installation required to run a machine as a COMPSs worker To install this package please run e COMPSs Bindings Contains all the required bindings for C C and Python applications To install this package please run This package is composed of three sub packages COMPSs Bindings Common Contains the API required for the communication between any binding and the COMPSs Runtime It is necessary for any binding installation To install this package please run COMPSs C C Binding Contains the C C Binding To install t
8. his package please run COMPSs Python Binding Contains the Python Binding To install this package please run 13 e COMPSs Tools Contains all the COMPSs Tools To install this package please run This package is composed of three sub packages COMPSs Extrae Contains the COMPSs Extrae tool needed to generate and process application traces To install this package please run COMPSs Monitor Contains the COMPSs Monitor tool needed to monitor the application execu tion To install this package please run e COMPSs Cloud Contains all the COMPSs Connectors needed to interact with the Cloud To install this package please run 5 4 Post installation Once your COMPSs package has been installed remember to log out and back in again to end the installation process If you need to set up your machine for the first time please take a look at Section for a detailed description of the additional configuration 14 6 Supercomputers The COMPSs Framework can be installed in any SuperComputer by installing its packages as in a normal distribution The packages are ready to be reallocated so the administra tors can choose the right location for the COMPSs installation However if the administrators are not willing to install COMPSs through the pack aging system we also provide a COMPSs zipped file containing a pre build script to easily install COMPSs For such purpose please execute the following commands The
9. or the communication between any binding and the COMPSs Runtime It is necessary for any binding installation To install this package please run COMPSs C C Binding Contains the C C Binding To install this package please run COMPSs Python Binding Contains the Python Binding To install this package please run e COMPSs Tools Contains all the COMPSs Tools To install this package please run This package is composed of three sub packages COMPSs Extrae Contains the COMPSs Extrae tool needed to generate and process application traces To install this package please run COMPSs Monitor Contains the COMPSs Monitor tool needed to monitor the application execu tion To install this package please run e COMPSs Cloud Contains all the COMPSs Connectors needed to interact with the Cloud To install this package please run 4 4 Post installation Once your COMPSs package has been installed remember to log out and back in again to end the installation process 10 If you need to set up your machine for the first time please take a look at Section for a detailed description of the additional configuration 11 5 RedHat based distributions yum 5 1 Prerequisites The commands described on the following sections require root privileges and Internet connection Once the installation process is finished please log out and back in again to complete the installation 5 2 Package Repository To add th
10. public key to all the other machines and configure it as authorized For every other available machine MACHINE scp ssh id_dsa pub MACHINE myDSA pub ssh MACHINE 3 Check that passwordless SSH connections are working fine For every other available machine MACHINE ssh MACHINE For example considering the cluster shown in Figure 2 users will have to execute the following commands to grant free ssh access between any pair of machines me localhost ssh keygen t id_dsa Granting access localhost gt mi bsc es me localhost scp ssh id_dsa pub user_m1 m1 bsc es me_localhost pub me localhost ssh user_mi m1i bsc es Granting access localhost gt m2 bsc es me localhost scp ssh id_dsa pub user_m20m2 bsc es me_localhost pub me localhost ssh user_m20m2 bsc es me localhost ssh user_mi m1i bsc es user_mi mi bsc es gt ssh keygen t id_dsa user_mi0m1 bsc es gt Granting access mi bsc es gt localhost me localhost scp user_m1i0m1 bsc es ssh id_dsa pub usermi_m1 pub me localhost usermi_m1 pub gt gt ssh authorized_keys Granting access mi bsc es gt m2 bsc es me localhost scp usermi_mi pub user_m2 m2 bsc es usermi_m1 pub me localhost ssh user_m20m2 bsc es 16 me localhost user_m1 m1 bsc es user_m2 m2 bsc es Figure 2 Cluster example 7 2 Configure the COMPSs Cloud Connectors This section provides info
11. rmation about the additional configuration needed for some Cloud Connectors 7 2 1 OCCI Open Cloud Computing Interface connector In order to execute a COMPSs application using cloud resources the rOCCI Ruby OCCT connector has to be configured properly The connector uses the rOCCI CLI client upper versions from 4 2 5 which has to be installed in the node where the COMPSs main application runs The client can be installed following the instructions detailed at appdb egi eu store software rocci cli 17 8 COMPSs Removal 8 1 How to uninstall or remove COMPSs COMPSs can be easily uninstalled via the Linux Packaging Tools by running the following commands Notice that some of the COMPSs packages are meta packages and thus you will need to manually uninstall all the COMPSs packages or use the autoremove tools In Debian based distributions uninstalling COMPSs will not erase your configuration files If you are willing to completely remove COMPSs please remember to use the purge option 8 2 How to clean repositories During the installation process you may have added the COMPSs repository If you want to clean your respository list please erase the compss list by executing the following commands 18 Please find more details on the COMPSs framework at http compss bsc es 19
12. s and Internet connection Once the installation process is finished please log out and back in again to complete the installation 4 2 Package Repository To add the package repository you can easily download our predefined lists by executing the following command And finally refresh the repositories 4 3 Installation This section describes how to install all the available COMPSs packages If you are willing to have a full COMPSs installation just follow the COMPSs Framework instructions and skip directly to next section e COMPSs Framework Contains the all COMPSs functionalities including the Runtime all the bindings all the tools and the cloud connectors To install this package please run e COMPSs Runtime Contains the COMPSs runtime to support the native functionalities Install this package if you only need to support Java applications To install this package please run This package is composed of two sub packages COMPSs Engine Contains the COMPSs Engine essential to run COMPSs applications as mas ter To install this package please run COMPSs Worker Contains the minimum installation required to run a machine as a COMPSs worker To install this package please run e COMPSs Bindings Contains all the required bindings for C C and Python applications To install this package please run This package is composed of three sub packages COMPSs Bindings Common Contains the API required f
13. tributions 3 1 Prerequisites The commands described on the following sections require root privileges and Internet connection Once the installation process is finished please log out and back in again to complete the installation 3 2 Package Repository To add the package repository you can easily download our predefined lists by executing the following command Next you need to add the repository key by executing And finally refresh the apt get repositories 3 3 Installation This section describes how to install all the available COMPSs packages If you are willing to have a full COMPSs installation just follow the COMPSs Framework instructions and skip directly to next section e COMPSs Framework Contains all the COMPSs functionalities including the Runtime all the bindings all the tools and the cloud connectors To install this package please run e COMPSs Runtime Contains the COMPSs runtime to support the native functionalities Install this package if you only need to support Java applications To install this package please run This package is composed of two sub packages COMPSs Engine Contains the COMPSs Engine essential to run COMPSs applications as mas ter To install this package please run COMPSs Worker Contains the minimum installation required to run a machine as a COMPSs worker To install this package please run e COMPSs Bindings Contains all the required bindings for

Download Pdf Manuals

image

Related Search

Related Contents

Astro E4 第 2 世代 モバイルバッテリー 13000mAh アダプ  取扱説明書 デジタルアナウンスマシン WRX-6F1  Scala 5 Content Manager User Guide  OpenOnline.org User Manual Ver.1.02.cdr  Bedienungsanleitung herunterladen  Spanish Installation Guide  User Manual  MANUALE UTENTE  Bedienungsanleitung Equipment  

Copyright © All rights reserved.
Failed to retrieve file