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/21 01:33] – [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 68: Line 71:
    Select:     Select: 
  
-==== Pre installation ==== +==== Selection of the packages  ====
-First select +
- +
-   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 MIDASa directory. +
- +
-==== selection of the packages  ====+
 Since, we are usually also interested in the optional packages (such as the packages for the BACHES spectrograph), we should select the following option  Since, we are usually also interested in the optional packages (such as the packages for the BACHES spectrograph), we should select the following option 
  
Line 85: Line 80:
    4 - select MIDAS core and packages of your choice    4 - select MIDAS core and packages of your choice
        
-provides the opportunity to install only the required packages.+provides the opportunity to only install the required packages
 + 
 +==== Pre installation ==== 
 +First select 
 + 
 +   5 - preinstall MIDAS  
 + 
 +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 ====
 +The name of the machine and the email address for the user support can be adjusted with the following option
 +
   8 - setup MIDAS   8 - setup MIDAS
  
-Use default values if the setup requires input.+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?). This can be done for a single user or for all. /*Alternativ können auch nur Symlinks gesetzt werden*/+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 105: 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 112: 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 =====
 Create a tmp directory in midas and start it: Create a tmp directory in midas and start it:
-  mkdir /midas/tmp +  mkdir $HOME/midas/tmp 
-  cd /midas/tmp+  cd $HOME/midas/tmp
   inmidas   inmidas
  
Line 126: 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 135: Line 139:
  
 ===== Verify MIDAS ===== ===== Verify MIDAS =====
-To verify the installation, go into MIDAS+MIDAS offers the possibility to test and verify the installation. The first step in the verification process is to create the following directory 
 + 
 +  mkdir $HOME/opt/midas/demo/data 
 + 
 +Subsequentlya path variable (//MID_TEST//) to this directory needs to be created 
 + 
 +  export MID_TEST=$HOME/opt/midas/demo/data 
 + 
 +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> binary 
 +  ftp> get demo_data.tar.gz 
 +  ftp> quit 
 +   
 +Afterwards, the downloaded archive needs to be unpacked. The next step is to move to ''$HOME/opt/midas/tmp'' and to run the verification process by starting MIDAS 
 +  
   inmidas   inmidas
-and run+   
 +and executing 
   Midas 001> @ superverify   Midas 001> @ superverify
-which tests some demo files in MIDAS (if they were copied).+   
 +which tests the demo files and by this means verifies MIDAS.
  • en/software/howto_midas_install.1421804013.txt.gz
  • Last modified: 2015/01/21 01:33
  • by rhainich