Recent Changes · Search:

Dispense


µSR

Chapters:

  1. Introduction
  2. The muon
  3. Muon production
  4. Spin polarization
  5. Detect the µ spin
  6. Implantation
  7. Paramagnetic species
  8. A special case: a muon with few nuclei
  9. Magnetic materials
  10. Relaxation functions
  11. Superconductors
  12. Mulab
  13. Musite
  14. More details

Tips

PmWiki

pmwiki.org

edit SideBar

MulabInstallation

< The suggested directory structure for mulab | Index | How to add a fit component to the mulab suite >


you need MATLAB 7 or newer releases.

For a trial installation extract it to a directory in your matlab path (work)

For a permanent installation create MATLABROOT:/toolbox/local/mulab and extract it there. (MATLABROOT is where your matlab is installed, typically /usr/local/matlab under linux and C:/Program/Matlab under XP.

This zip file contains the compiled mex files for the three data loading routines

isisload for ISIS MCS
psiload for PSI
nxsload for ISIS NeXus

plus the compiled mex files for fminuit, that should work with matlab 7 and 8 under lx32 lx64 and win32. These are the only parts that could require recompiling for different hardwares.

In all cases you need the NeXus library installed.

Under linux:
Red Hat 7.2 on rpm, download and then rpm -i nexus-2.1.0-1_rh72.i386.rpm
ubuntu, debian, download and then apt get-install nexus_2.1.0-2_i386.deb
win XP, download and execute

If you are running version 7.0 or 7.1 (R14) under WIN there might be a conflict:
Mulab version 1.05 Aug 25 gives explicit directions in this case. In short:

it uses the .ddl version of the three loads, while newer releases use the .mexw32.
however R14 thinks it can use the mexw32 (but it fails). Hence the *.mexw32 files must be removed from the matlab/toolbox/local/mulab-x.xx directory (warning: NOT to a lower branch, e.g. mulab-x.xx\mexw32\)
the same is true for fminuit.dll and fminuit.mexw32
no 64 bit WIN version yet, sorry!
no mac-os version yet, sorry!

If you need to do so (it should not be the case) you may have to look up the Fminuit home, and the mu_load home. In order to recompile nxsload you need also to install the NeXus development libraries (see NeXus.

For further problems see Troubleshooting.


< The suggested directory structure for mulab | Index | How to add a fit component to the mulab suite >

Edit - History - Print - PDF - Recent Changes - Search
Page last modified on August 25, 2009, at 05:12 PM