Difference between revisions of "Getting started for Demiurge"

From IridiaWiki
Jump to navigationJump to search
(Added lines for .bashrc file)
Line 27: Line 27:
 
*#* Run the following command: <code>R CMD INSTALL -l ~/R/x86-64-redhat-linux-gnu-library/2.15/ irace-2.2.tar.gz</code>
 
*#* Run the following command: <code>R CMD INSTALL -l ~/R/x86-64-redhat-linux-gnu-library/2.15/ irace-2.2.tar.gz</code>
 
*#* Please note that the irace package must be located in ~/R/x86-64-redhat-linux-gnu-library/2.15/irace to be correctly located by R. At the moment it is not possible to put it anywhere else
 
*#* Please note that the irace package must be located in ~/R/x86-64-redhat-linux-gnu-library/2.15/irace to be correctly located by R. At the moment it is not possible to put it anywhere else
*# Maybe ('''TODO: Check''') add irace to PATH, R_LIBS_USER and R_LIBS path (for example in your .bashrc file)
+
*# Add irace to IRACE_HOME, PATH and R_LIBS path (for example in your .bashrc file with the following commands)
  +
*#* <code>export R_LIBS_USER=~/R/x86-64-redhat-linux-gnu-library/2.15/</code>
  +
*#* <code>export IRACE_HOME=${R_LIBS_USER}/irace/</code>
  +
*#* <code>export PATH=${IRACE_HOME}/bin/:${PATH}</code>
  +
*#* <code>export R_LIBS=${R_LIBS_USER}:${R_LIBS}</code>
 
<!--** Installing new software in the cluster is not always easy. Therefore many modules are not up-to-date and you have to stick to the versions that are used by the cluster. Check before writing your software that you have approximately the same versions as on the cluster or you might encounter some surprises when running your experiments.-->
 
<!--** Installing new software in the cluster is not always easy. Therefore many modules are not up-to-date and you have to stick to the versions that are used by the cluster. Check before writing your software that you have approximately the same versions as on the cluster or you might encounter some surprises when running your experiments.-->
   

Revision as of 14:35, 9 March 2018

This page will list all the necessary steps you should take before starting to work on the Demiurge project.

Set up your working environment

  • Activate all resources as described on this page, if you not have done so already.
    • TODO What is most important of these steps?
  • Set up your workstation (see this page for more details)
  • Send your github account name to the Demiurge repository administrator (at the moment Ken)
    • He will add you to the demiurge-project organization so that you can see the private development repositories
    • Development rules for the github repositories: TODO
  • Get yourself added to the Demiurge Whatsapp group
  • Give your e-mail address to Mauro, he will add you to the Demiurge mailing list
  • Install argos (TODO Instructions)
    1. Install all prerequisites (specified at the github page)
      • You can do so by running the following command in your terminal: TODO
    2. Download and install argos
      • Be aware that we are currently not using the most recent version but instead the release "3.0.0-beta48"
    3. Download and install the e-puck plugin TODO
    • If you don't want to install everything by hand this script might be useful. However you need all prerequisites installed before running the script.
  • Install AutoMoDe (TODO Instructions)
  • If you have to work on the cluster you should follow these instructions to install Argos. AutoMoDe can be installed as on your local computer.
  • In order to install irace on the cluster, follow these steps:
    1. Download the irace package
    2. Upload the .tar.gz file to your home directory in the cluster
    3. Install the R package locally
      • Run the following command: R CMD INSTALL -l ~/R/x86-64-redhat-linux-gnu-library/2.15/ irace-2.2.tar.gz
      • Please note that the irace package must be located in ~/R/x86-64-redhat-linux-gnu-library/2.15/irace to be correctly located by R. At the moment it is not possible to put it anywhere else
    4. Add irace to IRACE_HOME, PATH and R_LIBS path (for example in your .bashrc file with the following commands)
      • export R_LIBS_USER=~/R/x86-64-redhat-linux-gnu-library/2.15/
      • export IRACE_HOME=${R_LIBS_USER}/irace/
      • export PATH=${IRACE_HOME}/bin/:${PATH}
      • export R_LIBS=${R_LIBS_USER}:${R_LIBS}

Important paper to read

Useful pages to bookmark

People working on the project

  • TODO

Resources depending on your area of expertise

  • TODO