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. Mujpy
  13. Mulab
  14. Musite?
  15. 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 2013b or older releases.

If you have a license look for installation without internet using the License center Note for Linux: under <=R2013b the license checks for the MAC address of eth0, which is often not there any more (see ifconfig). In order to get the right name follow this, answer 65. Problem is, any silly chinese box has its own HDW address! So one needs to redo the following steps

  • ifconfig copy the MAC address of the ethernet port (or ip -c address show)
  • sudo gedit /etc/udev/rules.d/70-persistent-net.rules and paste it in the ADDR parameter of the single command SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="9c:b6:d0:ee:df:07", NAME="eth0"
  • sudo reboot

(silver replacement of original Dell is 9c:b6:d0:ee:df:07) '''remember! on pc34 (as of 2020 it is R2013b) # check 2014b

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

For a permanent installation create MATLABROOT:/toolbox/local/ and extract it there (it will create mulab-1.05/. (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 new distros have it by default. In case look for nexus format

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 November 07, 2020, at 04:18 PM