Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:software:howto_midas_install [2015/01/18 03:29] – [Package dependencies] rhainich | en: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 | + | * The official MIDAS web page with detailed hardware and software requirements can be found [[http:// |
- | * The official MIDAS documentation is here: [[http:// | + | * The official MIDAS documentation is [[http:// |
- | | + | |
- | * 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 | + | The following packages need to be installed: |
- | sudo apt-get install libmotif-dev libncurses5-dev libx11-dev | + | sudo apt-get install libmotif-dev libncurses5-dev libx11-dev |
===== Create the MIDAS directory ===== | ===== Create the MIDAS directory ===== | ||
- | Create the directory that shall contain the midas installation: | + | Create the directory that shall contain the MIDAS installation: |
mkdir midas | mkdir midas | ||
+ | |||
+ | In our default installation this directory is located in the path '' | ||
===== Download MIDAS ===== | ===== Download MIDAS ===== | ||
- | Open a console | + | Open a console, change |
ftp ftp.eso.org | ftp ftp.eso.org | ||
- | The username | + | The user name is '' |
- | //Remark: The following text uses version '' | + | //Remark: The following text is based on version '' |
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 32: | Line 37: | ||
ftp> binary | ftp> binary | ||
ftp> get 11FEBpl1.0.tar.gz | ftp> get 11FEBpl1.0.tar.gz | ||
+ | ftp> get linux_intel.calib.tar.gz | ||
ftp> quit | ftp> quit | ||
| | ||
Line 38: | Line 44: | ||
tar -zxvf 11FEBpl1.0.tar.gz | tar -zxvf 11FEBpl1.0.tar.gz | ||
- | It' | + | It' |
ln -s 11FEBpl1.0 11FEB | ln -s 11FEBpl1.0 11FEB | ||
Line 64: | Line 70: | ||
q - quit | q - quit | ||
| | ||
+ | |||
+ | ==== Selection of the packages | ||
+ | Since, we are usually also interested in the optional packages (such as the packages for the BACHES spectrograph), | ||
+ | |||
+ | 3 - select all MIDAS packages | ||
+ | |||
+ | alternatively the following option | ||
+ | |||
+ | 4 - select MIDAS core and packages of your choice | ||
+ | |||
+ | provides the opportunity to only install the required packages. | ||
==== Pre installation ==== | ==== Pre installation ==== | ||
Line 70: | Line 87: | ||
5 - preinstall MIDAS | 5 - preinstall MIDAS | ||
- | Mostly the default settings can be used, if they are valid :-) | + | 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. |
- | This step copies, if present, | + | |
==== 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 console, and type |
- | tail -f / | + | tail -f / |
==== 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 | + | However, the default values |
- | Next, copy the executables to a directory that is listed in the '' | + | Next, copy the executables to a directory that is listed in the '' |
cp / | cp / | ||
Line 91: | Line 109: | ||
cp / | cp / | ||
| | ||
- | Furthermore, | + | Furthermore, |
cp / | cp / | ||
Line 98: | Line 116: | ||
cp / | cp / | ||
- | Alternative, | + | Alternative, |
===== 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 / | + | mkdir $HOME/ |
- | cd /midas/tmp | + | cd $HOME/midas/tmp |
inmidas | inmidas | ||
Line 112: | Line 130: | ||
gomidas | gomidas | ||
- | returns to the MIDAS environment. Then run this command to create the LUT- and ITT files | + | returns to the MIDAS environment. Then run the following |
Midas 002 > @ ascii_bin | Midas 002 > @ ascii_bin | ||
Line 121: | Line 139: | ||
===== Verify MIDAS ===== | ===== Verify MIDAS ===== | ||
- | To verify the installation, | + | 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/ | ||
+ | |||
+ | Subsequently, a path variable (// | ||
+ | |||
+ | export MID_TEST=$HOME/ | ||
+ | |||
+ | 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 / | ||
+ | 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 '' | ||
+ | | ||
inmidas | inmidas | ||
- | and run | + | |
- | Midas 001> @ superverify | + | and executing |
- | which tests some demo files in MIDAS (if they were copied). | + | |
+ | Midas 001> @ superverify | ||
+ | | ||
+ | which tests the demo files and by this means verifies MIDAS. |