User experience

From LIBISIS
Revision as of 09:22, 19 September 2011 by Alex Buts (talk | contribs) (Created page with "== ISIS LET control machine == The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. == University of Colorado Group == Spacial...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ISIS LET control machine

The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed.


University of Colorado Group

Spacial thanks to Dan Parshall; dan.parshall@colorado.edu, who shared his experience with us.


This took a while to get back to, but eventually we got this sorted out. It was a combination of legacy files, compilers, permissions issues, and typos. I'm posting the solution here in order to help future Ubuntu users.

1) >>> get legacy file mwdebug.c in place <<<

    The file mwdebug.c (which one can get from Alex or Freddie) must be

placed into matlabroot/extern/src/ (one needs to make the src directory). Do the standard: chown -R root matlabroot/* chmod -R 755 matlabroot/*

2) >>> set up IFORT <<<

    A 30-day trial is free, academic licenses fairly cheap (I've mucked

about a bit, and gfortran seems to also be functional, but as a rule it's 20% slower).

    In order to invoke IFORT on the command line, one has to use the

"source" command and link to the "compilervars.sh" script. Because one can't use "source" in combination with "sudo", one must change to the root account, then complete the remaining steps:

    cd /path/to/libisis
    sudo su
    source /path/to/ifort/compilervars.sh intel64

3) >>> run autogen.sh / configure / make (as root) <<< One must set matlabroot directly- simlinks aren't followed properly

  bash autogen.sh
  ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path
  make

4) >>> set ownership and permissions of files made during compilation <<

  chown -R <username> *
  chmod -R 777 *


Jülich Centre for Neutron Science

Special thanks to Johannes Reim, j.reim@fz-juelich.de; who shared his experience with us;