en:software:howto_midas_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:software:howto_midas_install [2015/01/22 01:38] – [Pre installation] rhainichen:software:howto_midas_install [2016/06/17 00:00] (current) rhainich
Line 1: Line 1:
 +====== Installation of ESO MIDAS ======
  
 +**Please note: Since Ubuntu 14.10, a debian package of ESO MIDAS is available. It can be installed via**
 +
 +   sudo apt-get install eso-midas  
  
-====== Installation of ESO MIDAS ====== 
  
 Some notes regarding the installation: Some notes regarding the installation:
-   * The official MIDAS webpage with detailed hardware and software requirements can be found here: [[http://www.eso.org/sci/software/esomidas/midas-require.html]] +   * The official MIDAS web page with detailed hardware and software requirements can be found [[http://www.eso.org/sci/software/esomidas/midas-require.html|here]]. 
-   * The official MIDAS documentation is here: [[http://www.eso.org/sci/software/esomidas/doc/index.html]] +   * The official MIDAS documentation is [[http://www.eso.org/sci/software/esomidas/doc/index.html|here]] 
-   The manual is meant for the installation in Linux (Ubuntu, Debian etc.), while some packages might have different names in SuSe, Fedora etc. +   This manual is meant for the installation in Linux (Ubuntu, Debian etc.), while some packages and tools might have different names in SuSe, Fedora etc. 
-   * The installation requires a console and root rights (esp. to install the packages). If needed, the admin has to do that part.  +   * The installation requires a console and root rights (esp. to install the packages). If needed, the admin has to do that part. Beyond that it should be possible to install MIDAS without root rights.
-Beyond that it should be possible to install MIDAS without root rights.+
      
  
 ===== Package dependencies ===== ===== Package dependencies =====
-The following dev- packages need to be installed+The following packages need to be installed:
  
    sudo apt-get install libmotif-dev libncurses5-dev libx11-dev libXext-dev libXt-dev gfortran     sudo apt-get install libmotif-dev libncurses5-dev libx11-dev libXext-dev libXt-dev gfortran 
Line 22: Line 24:
  
 In our default installation this directory is located in the path ''$HOME/opt/''. In our default installation this directory is located in the path ''$HOME/opt/''.
 +
 ===== Download MIDAS ===== ===== Download MIDAS =====
-Open a console (or cd to the midas directoryand connect to the FTP server+Open a console, change to the midas directoryand connect to the FTP server:
    ftp ftp.eso.org    ftp ftp.eso.org
-The username is ''ftp'' and the password ''<your_email_address_here>''.+The user name is ''ftp'' and the password is ''<your_email_address_here>''.
  
-//Remark: The following text uses version ''11FEB'' and version 1.0 of MIDAS (11FEBpl1.0.tar.gz). The latest version at the moment is 13SEP with version 1.(13SEPp1.4.tar.gz). The path ''/home/username/opt/midas/11FEB'' needs to be adjusted to your installation.//+//Remark: The following text is based on version ''11FEB'' of MIDAS (11FEBpl1.0.tar.gz). At the moment, the latest version is 15SEPpl1.(15SEPpl1.0.tar.gz). The path ''/home/username/opt/midas/11FEB'' and all version numbers need to be adjusted to your installation.//
  
 Then get to the MIDAS directory on the server, download the archive and logout: Then get to the MIDAS directory on the server, download the archive and logout:
Line 41: Line 44:
   tar -zxvf 11FEBpl1.0.tar.gz   tar -zxvf 11FEBpl1.0.tar.gz
  
-It'easier to use symnolic link with a shorter name, e.g.+It'useful to set symbolic link with a shorter name, e.g.
   ln -s 11FEBpl1.0 11FEB   ln -s 11FEBpl1.0 11FEB
  
Line 84: Line 87:
    5 - preinstall MIDAS     5 - preinstall MIDAS 
  
-Mostly the default settings can be used, if they are valid. :-) This step copies, if present, pre configured installation files (for your system) to the MIDAS directory.+Mostly the default settings can be used, if they are valid. :-) This step copies pre configured installation files (for your system) to the MIDAS directory.
  
 ==== Installation ==== ==== Installation ====
 Now select Now select
   6 - install MIDAS   6 - install MIDAS
-This installs MIDAS (how unexpected :-)). To follow the progress, open another console and type +This installs MIDAS (how unexpected :-)). To follow the progress, open another consoleand type 
-  tail -f /midas/11FEB/tmp/install.//<some_number>//+  tail -f /midas/11FEB/tmp/install.//<some_number_that_needs_to_be_looked_up>//
  
 ==== Setup MIDAS ==== ==== Setup MIDAS ====
Line 99: Line 102:
 However, the default values are usually fine for most of the setup options. However, the default values are usually fine for most of the setup options.
  
-Next, copy the executables to a directory that is listed in the ''$PATH'' variable, e.g. /usr/local/bin (or add the directory to the ''$PATH'' variable). Alternatively, only symbolic links can be created. This can be done for a single user or for all. +Next, copy the executables to a directory that is listed in the ''$PATH'' variable, e.g. ''/usr/local/bin'' (or add the directory to the ''$PATH'' variable). Alternatively, only symbolic links can be created. This can be done for a single user or for all. 
  
   cp /home/username/opt/midas/11FEB/system/unix/inmidas /usr/local/bin   cp /home/username/opt/midas/11FEB/system/unix/inmidas /usr/local/bin
Line 106: Line 109:
   cp /home/username/opt/midas/11FEB/system/unix/drs /usr/local/bin   cp /home/username/opt/midas/11FEB/system/unix/drs /usr/local/bin
      
-Furthermore, the MIDAS man-pages can be made available for all users. So copy them to a directory that is listed in the ''$MANPATH'' variable, e.g. /usr/man/man.+Furthermore, the MIDAS man-pages can be made available for all users. So copy them to a directory that is listed in the ''$MANPATH'' variable, e.g. ''/usr/man/man''.
  
   cp /home/username/opt/midas/11FEB/system/unix/manl/inmidas.l /usr/man/manl   cp /home/username/opt/midas/11FEB/system/unix/manl/inmidas.l /usr/man/manl
Line 113: Line 116:
   cp /home/username/opt/midas/11FEB/system/unix/manl/readline.l /usr/man/manl   cp /home/username/opt/midas/11FEB/system/unix/manl/readline.l /usr/man/manl
  
-Alternative, add the path /home/username/opt/midas/11FEB/system/unix/manl to the ''$MANPATH'' variable.+Alternative, add the path ''/home/username/opt/midas/11FEB/system/unix/manl'' to the ''$MANPATH'' variable.
  
 ===== Start MIDAS the first time ===== ===== Start MIDAS the first time =====
Line 127: Line 130:
   gomidas   gomidas
  
-returns to the MIDAS environment. Then run this command to create the LUTand ITT files+returns to the MIDAS environment. Then run the following command to create the LUT and ITT files
  
   Midas 002 > @ ascii_bin   Midas 002 > @ ascii_bin
Line 144: Line 147:
   export MID_TEST=$HOME/opt/midas/demo/data   export MID_TEST=$HOME/opt/midas/demo/data
  
-Before downloading the necessary data from the ESO webpage the next step is to move into the above directory and to login into ESO via ftp again. The verification data can be retrieved with the following commands:  +Before downloading the necessary data from the ESO web page, the next step is to move into the above directory and to login into ESO via FTP again. The verification data can be retrieved with the following commands:  
  
   ftp> cd /midaspub/11FEB/sources   ftp> cd /midaspub/11FEB/sources
  • en/software/howto_midas_install.1421890684.txt.gz
  • Last modified: 2015/01/22 01:38
  • by rhainich