Installation: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
No edit summary
(The midas documentation has moved to https://midas.triumf.ca/docs/)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Pagelinks}}
The midas documentation has moved. See [https://midas.triumf.ca/docs/develop/getting_started/installation/ Installation and environment] for the new documentation about installing midas.
 
=== Standard layout of MIDAS experiment ===
This layout includes other packages needed for data analysis but not required for acquisition purpose only (noted as **). The online directory is given only as a suggested structure.
<pre>
/home/exptuser/
  packages/
    root <---- ROOT (64-bit or 32-bit) (**)
    mxml  <---- from MIDAS repository
    midas <---- MIDAS
      linux/{lib,bin}  <---- binaries matching the selected 64-bit/32-bit flavour of ROOT
      linux-m32/{lib,bin}  <---- limited function 32-bit binaries for 32-bit frontend machines, build by "make linux32"
      linux-m64/{lib,bin}  <---- limited function 64-bit binaries (only needed if ROOT and linux/bin are 32-bit)
      linux-crosscompile/{lib,bin}  <---- cross-compiled limited function binaries for PPC and ARM frontends (see Makefile)
  online/
    exptab <---- experiment definition
    {.ODB,.SYSTEM,.SYSMSG,etc}.SHM <---- MIDAS shared memory save files
    src <---- experiment frontend sources
    bin,scripts
    elog <---- MIDAS elog (**)
    history <---- MIDAS history
    data -> /data/exptname/current <---- symlink to the data directory (**)
/data/exptname/current <---- experiment data directory with ODB save files and MIDAS .mid/.mid.gz data files
</pre>
 
=== Installing MIDAS ===
* mkdir $HOME/packages
* Logout and login again, for .cshrc or bash changes to take effect
 
* cd $HOME/packages
* git clone https://bitbucket.org/tmidas/midas
* git clone https://bitbucket.org/tmidas/mxml
* (IF BITBUCKET IS DOWN) git clone -v --progress http://daq.triumf.ca/~daqweb/git/mxml.git
* (IF BITBUCKET IS DOWN) git clone -v --progress http://daq.triumf.ca/~daqweb/git/midas.git
* cd midas
* make
* (only if needed) make linux32 ### build the 32-bit MIDAS libraries on 64-bit machine
* ls -l linux/bin/odbedit ### check that odbedit has been created (do not run it yet)
 
If the simple procedure listed above does not work, see our [[Installation/Compilation problems|Common Installation Problems]].
 
=== Setup a MIDAS experiment ===
See [[Setup_MIDAS_experiment|MIDAS installation instructions for TRIUMF experiments]] for further information.
 
=== Quick Start ===
[[Quickstart Linux]]
 
[[Category:Installation]]

Latest revision as of 22:00, 30 October 2026

The midas documentation has moved. See Installation and environment for the new documentation about installing midas.