Marmote : Différence entre versions

De MARMOTE
 
(15 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
  
 
 
'''MARAMOTE Installation and USER/CONTRIBUTOR guide:'''
+
'''MARMOTE Installation and USER/CONTRIBUTOR guide'''
 +
 
 +
'''Requirements:'''
  
''
 
*Requirements:''
 
 
Make sure you have the following before installing MARMOTE:
 
Make sure you have the following before installing MARMOTE:
  
     -A Linux, Mac OS X or CygWin under MS Windows system. Other Unix and similar systems probably work as well, e.g. Oracle Solaris, BSD systems, etc.
+
     - A Linux, Mac OS X or CygWin under MS Windows system. Other Unix and similar systems probably work as well, e.g. Oracle Solaris, BSD systems, etc.
     -C and C++ compilers, GCC 4.9.2 or clang (Apple LLVM version 6.1.0 (clang-602.0.49))
+
     - C and C++ compilers, GCC 4.9.2 or clang (Apple LLVM version 6.1.0 (clang-602.0.49))
     -The GNU make tool.
+
     - The GNU make tool.
     -''Only for Contributors:''
+
     - ''Only for Contributors:''
     -The distributed revision control: Git
+
     - The distributed revision control: Git
     -Create an account here: https://gforge.inria.fr and request the MARMOTE admin access from issam.rabhi@inria.fr
+
     - Create an account here: https://gforge.inria.fr and request the MARMOTE admin access from issam.rabhi@inria.fr
''
 
*USER instructions: Please follow the steps below''
 
 
 
1.Download the marmoteCore source code from here: https://wiki.inria.fr/wikis/MARMOTE/images/1/1d/Marmotecore_1.0.1.tgz
 
  
2.Now extract the archive with tar:
+
==== I. USER instructions: Please follow the steps below ====
  
    ''$  tar xf marmotecore_1.0.1.tgz''
+
*1.Download the marmoteCore source code from here: https://wiki.inria.fr/wikis/MARMOTE/images/2/22/Marmotecore_1.0.2.tgz
  
3.Run the make install command:
+
Note: the latest version is now [[Fichier:Marmotecore_1.0.7.tgz]]
  
    ''$  cd marmotecore_1.0.1''
+
*2.Now extract the archive with tar:
  
     ''$  make install''
+
     ''$  tar xf Marmotecore_1.0.2.tgz''
  
''
+
*3.Run the ''make install'' command:
*CONTRIBUTOR Instructions: Please follow the steps below''
 
  
1. Windows PreRequisite: Installing CygWin + Devel package :
+
    ''$  cd Marmotecore_1.0.2''
  
1.1 Download the setup-*.exe from here https://www.cygwin.com/install.html
+
    ''$  make install''
 
 
1.2 Double click for installation
 
 
 
1.3 Accept the defaults until you reach the package selection screen
 
  
1.4 Select the following package: Devel
+
==== II. CONTRIBUTOR Instructions: Please follow the steps below ====
  
1.5 Click next until the installation
+
*1. Windows PreRequisite: Installing CygWin + Devel package :
 +
**1.1. Download the setup-*.exe from here https://www.cygwin.com/install.html
 +
**1.2 Double click for installation
 +
**1.3 Accept the defaults until you reach the package selection screen
 +
**1.4 Select the following package: Devel
 +
**1.5 Click next until the installation
  
2. Using Public/Private Keys with GIT
+
*2. Using Public/Private Keys with GIT:
2.1. GIT operates over SSH so we need first to create our public/private keys via this command:
+
**2.1. GIT operates over SSH so we need first to create our public/private keys via this command:
 
     ''$ ssh-keygen''
 
     ''$ ssh-keygen''
 
+
     ''Enter file in which to save the key (/home/James/.ssh/filename): /home/James/.ssh/filename''
     ''Enter file in which to save the key (/home/James/.ssh/id_dsa): /home/James/.ssh/git_dsa''
 
 
     ''Created directory '/home/James/.ssh'.''
 
     ''Created directory '/home/James/.ssh'.''
 
     ''Enter passphrase (empty for no passphrase):''
 
     ''Enter passphrase (empty for no passphrase):''
 
     ''Enter same passphrase again: ''
 
     ''Enter same passphrase again: ''
 
+
**2.2 Then, if you are using Linux or Windows please type this command:
2.2 Then, if you are using Linux or Windows please type this command:
 
 
 
 
     ''$ ssh-add ~/.ssh/filename''
 
     ''$ ssh-add ~/.ssh/filename''
 
+
**2.3 In Mac OS X please type the following command:
2.3 In Mac OS X please type the following command:
 
 
 
 
     ''$ ssh-add -K ~/.ssh/filename''
 
     ''$ ssh-add -K ~/.ssh/filename''
 
+
**2.4 The final step to gain access is giving our *public* key to the git host via this link:
2.4 The final step to gain access is giving our *public* key to the git host via this link:
 
  
 
http://gforge.inria.fr/account/editsshkeys.php
 
http://gforge.inria.fr/account/editsshkeys.php
  
3. Cloning marmoteCore over ssh, by changing USER to your USERNAME in the gforge of Inria (http://gforge.inria.fr/)s:
+
*3. Cloning marmoteCore over ssh, by changing USER to your username in the gforge of Inria (http://gforge.inria.fr/)s:
  
     ''$ git clone git+ssh://USERNAME@scm.gforge.inria.fr//gitroot/marmotecore/marmotecore.git''
+
     ''$ git clone git+ssh://USER@scm.gforge.inria.fr//gitroot/marmotecore/marmotecore.git''
  
4. Installation: Please type the following commands:
+
*4. Installation: Please type the following commands:
  
 
     ''$ make''
 
     ''$ make''
Ligne 74 : Ligne 64 :
 
     ''$ make tarball_distrib''
 
     ''$ make tarball_distrib''
  
     ''$ tar xf marmotecore_1.0.1.tgz''
+
     ''$ tar xf Marmotecore_1.0.2.tgz''
  
     ''$ cd marmotecore_1.0.1''
+
     ''$ cd Marmotecore_1.0.2''
  
 
     ''$ make install''
 
     ''$ make install''
  
''
+
==== MARAMOTEAPPLIS Installation ====
* MRAMOTEAPPLIS Installation''
 
  
1. Please download the marmoteapplis source code from here: https://wiki.inria.fr/wikis/MARMOTE/images/2/2d/Marmoteapplis.tgz
+
'''I. Download Marmoteapplis source code'''
  
2. Then extract the archive with tar:
+
*1. you can download the archive from here:
 +
 
 +
    ''https://wiki.inria.fr/wikis/MARMOTE/images/2/2d/Marmoteapplis.tgz''
 +
 +
    ''Then extract the archive with tar:
  
 
     ''$ tar xf marmoteapplis.tgz''
 
     ''$ tar xf marmoteapplis.tgz''
  
3. Now if marmotecore is in /usr/local/ directory then type the following commands:
+
*2. Or you can clone the recent source code using git:
 +
 
 +
    ''git clone git+ssh://irabhi@scm.gforge.inria.fr/gitroot/marmoteapplis/marmoteapplis.git''
 +
   
 +
'''II. Runing Marmoteapplis applications'''
 +
 
 +
*1. If marmotecore is in /usr/local/ directory then type the following commands:
  
 
     ''$ cd Alain/''
 
     ''$ cd Alain/''
Ligne 99 : Ligne 98 :
 
     ''$ make MARMOTEDIR=$MAR_DIR''
 
     ''$ make MARMOTEDIR=$MAR_DIR''
  
4. Else, please type the following commands:
+
*2. Else, please type the following commands:
  
     ''$ export MAR_DIR=/home/user/director/marmote/marmotecore_1.0.1''
+
     ''$ export MAR_DIR=/home/user/director/marmote/Marmotecore_1.0.2''
  
 
     ''$ cd Alain/''
 
     ''$ cd Alain/''

Version actuelle datée du 23 janvier 2016 à 16:45

MARMOTE Installation and USER/CONTRIBUTOR guide

Requirements:

Make sure you have the following before installing MARMOTE:

   - A Linux, Mac OS X or CygWin under MS Windows system. Other Unix and similar systems probably work as well, e.g. Oracle Solaris, BSD systems, etc.
   - C and C++ compilers, GCC 4.9.2 or clang (Apple LLVM version 6.1.0 (clang-602.0.49))
   - The GNU make tool.
   - Only for Contributors:
   - The distributed revision control: Git
   - Create an account here: https://gforge.inria.fr and request the MARMOTE admin access from issam.rabhi@inria.fr

I. USER instructions: Please follow the steps below

Note: the latest version is now Fichier:Marmotecore 1.0.7.tgz

  • 2.Now extract the archive with tar:
   $  tar xf Marmotecore_1.0.2.tgz
  • 3.Run the make install command:
   $  cd Marmotecore_1.0.2
   $  make install

II. CONTRIBUTOR Instructions: Please follow the steps below

  • 1. Windows PreRequisite: Installing CygWin + Devel package :
    • 1.1. Download the setup-*.exe from here https://www.cygwin.com/install.html
    • 1.2 Double click for installation
    • 1.3 Accept the defaults until you reach the package selection screen
    • 1.4 Select the following package: Devel
    • 1.5 Click next until the installation
  • 2. Using Public/Private Keys with GIT:
    • 2.1. GIT operates over SSH so we need first to create our public/private keys via this command:
   $ ssh-keygen
   Enter file in which to save the key (/home/James/.ssh/filename): /home/James/.ssh/filename
   Created directory '/home/James/.ssh'.
   Enter passphrase (empty for no passphrase):
   Enter same passphrase again: 
    • 2.2 Then, if you are using Linux or Windows please type this command:
   $ ssh-add ~/.ssh/filename
    • 2.3 In Mac OS X please type the following command:
   $ ssh-add -K ~/.ssh/filename
    • 2.4 The final step to gain access is giving our *public* key to the git host via this link:

http://gforge.inria.fr/account/editsshkeys.php

   $ git clone git+ssh://USER@scm.gforge.inria.fr//gitroot/marmotecore/marmotecore.git
  • 4. Installation: Please type the following commands:
   $ make
   $ make tarball_distrib
   $ tar xf Marmotecore_1.0.2.tgz
   $ cd Marmotecore_1.0.2
   $ make install

MARAMOTEAPPLIS Installation

I. Download Marmoteapplis source code

  • 1. you can download the archive from here:
   https://wiki.inria.fr/wikis/MARMOTE/images/2/2d/Marmoteapplis.tgz

   Then extract the archive with tar:
   $ tar xf marmoteapplis.tgz
  • 2. Or you can clone the recent source code using git:
   git clone git+ssh://irabhi@scm.gforge.inria.fr/gitroot/marmoteapplis/marmoteapplis.git
   

II. Runing Marmoteapplis applications

  • 1. If marmotecore is in /usr/local/ directory then type the following commands:
   $ cd Alain/
   $ make MARMOTEDIR=$MAR_DIR
   $ cd ../Coupling
   $ make MARMOTEDIR=$MAR_DIR
  • 2. Else, please type the following commands:
   $ export MAR_DIR=/home/user/director/marmote/Marmotecore_1.0.2
   $ cd Alain/
   $ make MARMOTEDIR=$MAR_DIR
   $ cd ../Coupling
   $ make MARMOTEDIR=$MAR_DIR