<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://libisis.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alex+Buts</id>
	<title>LIBISIS - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://libisis.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alex+Buts"/>
	<link rel="alternate" type="text/html" href="http://libisis.org/Special:Contributions/Alex_Buts"/>
	<updated>2026-04-30T22:04:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3029</id>
		<title>Download and setup LIBISIS</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3029"/>
		<updated>2012-02-21T10:01:35Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Download LIBISIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By downloading any of the files below, you accept the terms of the Matlab MCR Library License included with the distribution. Read the COPYING.rtf file in the License folder for information about which components may or may not be changed or redistributed. &lt;br /&gt;
&lt;br /&gt;
If you have any problems, email the [http://lists.libisis.org/mailman/listinfo/libisis-users libisis-users] mailing list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* Matlab 2007a (or later) &lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
&lt;br /&gt;
== Download LIBISIS ==&lt;br /&gt;
* Download the latest libisis build for your version of Matlab&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
! {{Headcellstyle}} |  Linux&amp;amp;MacOS&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions&amp;lt;math&amp;gt;)^{1}&amp;lt;/math&amp;gt; :&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;this is what you probably need&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/libisis_distribution_kit.zip Matlab 2007a-2011a]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Old (compatibility) distributives for older versions of Matlab (32bit) (&amp;#039;&amp;#039;use this only if your Matlab is really old or you used Libisis before and want to process your previous data with your old libisis&amp;#039;&amp;#039;):&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab Ver 7.1]&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab 2006a]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2006b]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007a] &lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007b] &lt;br /&gt;
 &lt;br /&gt;
|You need to install [http://download.nexusformat.org/kits/ NeXus] and build the code from source using GNU autotools, see [[SubversionServer]] for instructions &lt;br /&gt;
You should be fairly familiar with Unix installation process to do it smoothly. There is [[user experience]] page, which summarises the experience of some users who have already done this, installing Libisis for [http://horace.isis.rl.ac.uk/Main_Page Horace]. &lt;br /&gt;
You will probably need to place [http://download.libisis.org/kits/mwdebug.c This file] into your Matlab directory ($MatlabRoot/extern/src) as it is not shipped with recent versions of Matlab any more. &lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;math&amp;gt;*^1&amp;lt;/math&amp;gt; Does not currently fully work with Matlab 2011b, as Matlab HDF version have changed. You may compile and work with Libisis graphic and fitting capabilities but attempting to access NeXus file crashes Matlab. The issue will be addressed depending on demand on the solution. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;All versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Unpack downloaded file into &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;C:\mprogs&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or a directory of your choice eg &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;X:\ISIS&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
*  Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)&lt;br /&gt;
* Add the following lines to the startup.m file &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;addpath(&amp;#039;c:\mprogs\Libisis&amp;#039;) % where c:\mprogs\Libisis is the folder you unzipped Libisis into&lt;br /&gt;
libisis_init&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Alternative possibility for the latest versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Instead of above, you can unpack downloaded file into a folder of your choice. (ISIS by default so &amp;#039;&amp;#039;&amp;#039;&amp;#039;C:\ISIS\&amp;#039;&amp;#039;&amp;#039;&amp;#039; and this folder have two sub-folders namely &amp;#039;&amp;#039;&amp;#039;Libisis&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;InstrumentFiles&amp;#039;&amp;#039;&amp;#039; in it) &lt;br /&gt;
* Start MATLAB and navigate it to the folder where the Libisis has been unpacked. (e.g. C:\ISIS)&lt;br /&gt;
* Find the MATLAB function &amp;#039;&amp;#039;&amp;#039;install_isis&amp;#039;&amp;#039;&amp;#039; in this folder and run this function specifying the path (short or full) to the folder where you have Libisis unpacked. (e.g. if your Libisis is in C:\ISIS\Libisis, navigate MATLAB to the folder C:\ISIS and run &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;C:\ISIS\Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Type &amp;#039;&amp;#039;&amp;#039;libisis_on&amp;#039;&amp;#039;&amp;#039; in MATLAB command prompt to access Libisis functions&lt;br /&gt;
This is actually all you need having an administrative rights to the system. install_isis creates an folder &amp;#039;&amp;#039;&amp;#039;ISIS&amp;#039;&amp;#039;&amp;#039; in the toolbox folder of the MATLAB root directory, places files necessary to initiate Libisis there and modifies MATLAB search path to look for files in this folder. If you use startup file, the script also adds the rows, described above and necessary to initiate Libisis during MATLAB startup. These rows are added to the end of your startup file.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You need manually modify you startup file if you used Libsisis before to remove references to previous Libisis installations and avoid multiple Libisis initialisations.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Download Stand Alone Homer ==&lt;br /&gt;
* If you do not have matlab it is possible to download an executable which will run the homer GUI standalone&lt;br /&gt;
* Homer software created by Dr. [[User:Dickon Champion|Dickon Champion]], standalone installation developed by [[User:Dean Whittaker|Dean Whittaker]]. MCRInstaller and Matlab (c) [http://www.matlab.com The MathWorks, Inc.] 1984-2010&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
!{{Headcellstyle}} | Linux&lt;br /&gt;
! {{Headcellstyle}} | MacOS&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.libisis.org/kits/homer_standalone.zip Stand Alone Homer] or [http://download.libisis.org/kits/homer_standalone_kit_win64.zip Stand Alone Homer for win64 (with proper MCR installer)]- the standalone homer zip file &lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller] - required for the first run of homer.&lt;br /&gt;
&lt;br /&gt;
| not available&lt;br /&gt;
| not available&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
you must [[Homer Gui setup|set up]] Homer properly in order for it to work. Run the MCRInstaller once on your computer, if updating your homer installation, it is not required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Install Stand Alone Homer===&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;First&amp;#039;&amp;#039;&amp;#039; time you download homer:&lt;br /&gt;
** Download the MCRInstaller file above&lt;br /&gt;
** Run the MCRInstaller.exe file and follow the on-screen instructions&lt;br /&gt;
* Download the homer zip file above&lt;br /&gt;
* Unzip to directory of your choice&lt;br /&gt;
* Run homer.exe to start homer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
* Administrative Rights for Installation.&lt;br /&gt;
&lt;br /&gt;
== Setup Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
Sometimes when we are treating large datasets, such as on MAPS, we cannot load all the data into the memory of the computer at once, we need to &amp;#039;chunk&amp;#039; the data into smaller pieces. We therefore need to set the default number of workspaces in each &amp;#039;chunk&amp;#039; to treat at any one time during the population of an [[IXTrunfile]] and the total amount of memory to allow the computer to use. &lt;br /&gt;
&lt;br /&gt;
If the memory required for the number of workspaces in each chunk is greater than that defined then the number of workspaces is reduced until it fits in the memory or a failure status is raised. These two values are defined in &amp;lt;tt&amp;gt;./matlab/homer/default_homer_nchunk.m&amp;lt;/tt&amp;gt; which needs to be edited to suit the memory needs of your computer. Tests have shown that LIBISIS will populate data fastest when it is chunked in groups of 100 workspaces, so this is the default value in the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function nchunk=default_homer_nchunk&lt;br /&gt;
% nchunk = default_homer_nchunk&lt;br /&gt;
% nchunk is a two membered array&lt;br /&gt;
% the first element is the default number of workspaces to be treated at &lt;br /&gt;
% one time, and the second element is the maximum amount of memory (in MB)&lt;br /&gt;
% that you want the computer to use&lt;br /&gt;
nchunk=int32([100,500]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3028</id>
		<title>Download and setup LIBISIS</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3028"/>
		<updated>2012-02-21T10:00:45Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Download LIBISIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By downloading any of the files below, you accept the terms of the Matlab MCR Library License included with the distribution. Read the COPYING.rtf file in the License folder for information about which components may or may not be changed or redistributed. &lt;br /&gt;
&lt;br /&gt;
If you have any problems, email the [http://lists.libisis.org/mailman/listinfo/libisis-users libisis-users] mailing list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* Matlab 2007a (or later) &lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
&lt;br /&gt;
== Download LIBISIS ==&lt;br /&gt;
* Download the latest libisis build for your version of Matlab&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
! {{Headcellstyle}} |  Linux&amp;amp;MacOS&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions&amp;lt;math&amp;gt;)^{1}&amp;lt;/math&amp;gt; :&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;this is what you probably need&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/libisis_distribution_kit.zip Matlab 2007a-2011a]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Old (compatibility) distributives for older versions of Matlab (32bit) (&amp;#039;&amp;#039;use this only if your Matlab is really old or you used Libisis before and want to process your previous data with your old libisis&amp;#039;&amp;#039;):&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab Ver 7.1]&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab 2006a]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2006b]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007a] &lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007b] &lt;br /&gt;
 &lt;br /&gt;
|You need to install [http://download.nexusformat.org/kits/ NeXus] and build the code from source using GNU autotools, see [[SubversionServer]] for instructions &lt;br /&gt;
You should be fairly familiar with Unix installation process to do it smoothly. There is [[user experience]] page, which summarises the experience of some users who have already done this, installing Libisis for [http://horace.isis.rl.ac.uk/Main_Page Horace]. &lt;br /&gt;
You will probably need to place [http://download.libisis.org/kits/mwdebug.c This file] into your Matlab directory ($MatlabRoot/extern/src) as it is not shipped with recent versions of Matlab any more. &lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;math&amp;gt;*^1&amp;lt;/math&amp;gt; Does not currently fully work with Matlab 2011b, as Matlab HDF version have changed. You may compile and work with Libisis graphic and fitting capabilities but attempting to access NeXus file crashes Matlab. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;All versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Unpack downloaded file into &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;C:\mprogs&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or a directory of your choice eg &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;X:\ISIS&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
*  Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)&lt;br /&gt;
* Add the following lines to the startup.m file &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;addpath(&amp;#039;c:\mprogs\Libisis&amp;#039;) % where c:\mprogs\Libisis is the folder you unzipped Libisis into&lt;br /&gt;
libisis_init&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Alternative possibility for the latest versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Instead of above, you can unpack downloaded file into a folder of your choice. (ISIS by default so &amp;#039;&amp;#039;&amp;#039;&amp;#039;C:\ISIS\&amp;#039;&amp;#039;&amp;#039;&amp;#039; and this folder have two sub-folders namely &amp;#039;&amp;#039;&amp;#039;Libisis&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;InstrumentFiles&amp;#039;&amp;#039;&amp;#039; in it) &lt;br /&gt;
* Start MATLAB and navigate it to the folder where the Libisis has been unpacked. (e.g. C:\ISIS)&lt;br /&gt;
* Find the MATLAB function &amp;#039;&amp;#039;&amp;#039;install_isis&amp;#039;&amp;#039;&amp;#039; in this folder and run this function specifying the path (short or full) to the folder where you have Libisis unpacked. (e.g. if your Libisis is in C:\ISIS\Libisis, navigate MATLAB to the folder C:\ISIS and run &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;C:\ISIS\Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Type &amp;#039;&amp;#039;&amp;#039;libisis_on&amp;#039;&amp;#039;&amp;#039; in MATLAB command prompt to access Libisis functions&lt;br /&gt;
This is actually all you need having an administrative rights to the system. install_isis creates an folder &amp;#039;&amp;#039;&amp;#039;ISIS&amp;#039;&amp;#039;&amp;#039; in the toolbox folder of the MATLAB root directory, places files necessary to initiate Libisis there and modifies MATLAB search path to look for files in this folder. If you use startup file, the script also adds the rows, described above and necessary to initiate Libisis during MATLAB startup. These rows are added to the end of your startup file.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You need manually modify you startup file if you used Libsisis before to remove references to previous Libisis installations and avoid multiple Libisis initialisations.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Download Stand Alone Homer ==&lt;br /&gt;
* If you do not have matlab it is possible to download an executable which will run the homer GUI standalone&lt;br /&gt;
* Homer software created by Dr. [[User:Dickon Champion|Dickon Champion]], standalone installation developed by [[User:Dean Whittaker|Dean Whittaker]]. MCRInstaller and Matlab (c) [http://www.matlab.com The MathWorks, Inc.] 1984-2010&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
!{{Headcellstyle}} | Linux&lt;br /&gt;
! {{Headcellstyle}} | MacOS&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.libisis.org/kits/homer_standalone.zip Stand Alone Homer] or [http://download.libisis.org/kits/homer_standalone_kit_win64.zip Stand Alone Homer for win64 (with proper MCR installer)]- the standalone homer zip file &lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller] - required for the first run of homer.&lt;br /&gt;
&lt;br /&gt;
| not available&lt;br /&gt;
| not available&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
you must [[Homer Gui setup|set up]] Homer properly in order for it to work. Run the MCRInstaller once on your computer, if updating your homer installation, it is not required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Install Stand Alone Homer===&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;First&amp;#039;&amp;#039;&amp;#039; time you download homer:&lt;br /&gt;
** Download the MCRInstaller file above&lt;br /&gt;
** Run the MCRInstaller.exe file and follow the on-screen instructions&lt;br /&gt;
* Download the homer zip file above&lt;br /&gt;
* Unzip to directory of your choice&lt;br /&gt;
* Run homer.exe to start homer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
* Administrative Rights for Installation.&lt;br /&gt;
&lt;br /&gt;
== Setup Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
Sometimes when we are treating large datasets, such as on MAPS, we cannot load all the data into the memory of the computer at once, we need to &amp;#039;chunk&amp;#039; the data into smaller pieces. We therefore need to set the default number of workspaces in each &amp;#039;chunk&amp;#039; to treat at any one time during the population of an [[IXTrunfile]] and the total amount of memory to allow the computer to use. &lt;br /&gt;
&lt;br /&gt;
If the memory required for the number of workspaces in each chunk is greater than that defined then the number of workspaces is reduced until it fits in the memory or a failure status is raised. These two values are defined in &amp;lt;tt&amp;gt;./matlab/homer/default_homer_nchunk.m&amp;lt;/tt&amp;gt; which needs to be edited to suit the memory needs of your computer. Tests have shown that LIBISIS will populate data fastest when it is chunked in groups of 100 workspaces, so this is the default value in the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function nchunk=default_homer_nchunk&lt;br /&gt;
% nchunk = default_homer_nchunk&lt;br /&gt;
% nchunk is a two membered array&lt;br /&gt;
% the first element is the default number of workspaces to be treated at &lt;br /&gt;
% one time, and the second element is the maximum amount of memory (in MB)&lt;br /&gt;
% that you want the computer to use&lt;br /&gt;
nchunk=int32([100,500]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3027</id>
		<title>Download and setup LIBISIS</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3027"/>
		<updated>2012-02-21T09:58:39Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Download LIBISIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By downloading any of the files below, you accept the terms of the Matlab MCR Library License included with the distribution. Read the COPYING.rtf file in the License folder for information about which components may or may not be changed or redistributed. &lt;br /&gt;
&lt;br /&gt;
If you have any problems, email the [http://lists.libisis.org/mailman/listinfo/libisis-users libisis-users] mailing list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* Matlab 2007a (or later) &lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
&lt;br /&gt;
== Download LIBISIS ==&lt;br /&gt;
* Download the latest libisis build for your version of Matlab&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
! {{Headcellstyle}} |  Linux&amp;amp;MacOS&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions&amp;lt;math&amp;gt;)^{1}&amp;lt;/math&amp;gt; :&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;this is what you probably need&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/libisis_distribution_kit.zip Matlab 2007a-2011a]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Old (compatibility) distributives for older versions of Matlab (32bit) (&amp;#039;&amp;#039;use this only if your Matlab is really old or you used Libisis before and want to process your previous data with your old libisis&amp;#039;&amp;#039;):&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab Ver 7.1]&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab 2006a]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2006b]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007a] &lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007b] &lt;br /&gt;
 &lt;br /&gt;
|You need to install [http://download.nexusformat.org/kits/ NeXus] and build the code from source using GNU autotools, see [[SubversionServer]] for instructions &lt;br /&gt;
You should be fairly familiar with Unix installation process to do it smoothly. There is [[user experience]] page, which summarises the experience of some users who have already done this, installing Libisis for [http://horace.isis.rl.ac.uk/Main_Page Horace]. &lt;br /&gt;
You will probably need to place [http://download.libisis.org/kits/mwdebug.c This file] into your Matlab directory ($MatlabRoot/extern/src) as it is not shipped with recent versions of Matlab any more. &lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;math&amp;gt;*^1&amp;lt;/math&amp;gt; Does not currently work with Matlab 2011b-32 bit version. The reason for incompatibility is unclear. Please, ask the support team if you need to use this option, and we will try to resolve this issue. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;All versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Unpack downloaded file into &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;C:\mprogs&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or a directory of your choice eg &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;X:\ISIS&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
*  Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)&lt;br /&gt;
* Add the following lines to the startup.m file &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;addpath(&amp;#039;c:\mprogs\Libisis&amp;#039;) % where c:\mprogs\Libisis is the folder you unzipped Libisis into&lt;br /&gt;
libisis_init&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Alternative possibility for the latest versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Instead of above, you can unpack downloaded file into a folder of your choice. (ISIS by default so &amp;#039;&amp;#039;&amp;#039;&amp;#039;C:\ISIS\&amp;#039;&amp;#039;&amp;#039;&amp;#039; and this folder have two sub-folders namely &amp;#039;&amp;#039;&amp;#039;Libisis&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;InstrumentFiles&amp;#039;&amp;#039;&amp;#039; in it) &lt;br /&gt;
* Start MATLAB and navigate it to the folder where the Libisis has been unpacked. (e.g. C:\ISIS)&lt;br /&gt;
* Find the MATLAB function &amp;#039;&amp;#039;&amp;#039;install_isis&amp;#039;&amp;#039;&amp;#039; in this folder and run this function specifying the path (short or full) to the folder where you have Libisis unpacked. (e.g. if your Libisis is in C:\ISIS\Libisis, navigate MATLAB to the folder C:\ISIS and run &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;C:\ISIS\Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Type &amp;#039;&amp;#039;&amp;#039;libisis_on&amp;#039;&amp;#039;&amp;#039; in MATLAB command prompt to access Libisis functions&lt;br /&gt;
This is actually all you need having an administrative rights to the system. install_isis creates an folder &amp;#039;&amp;#039;&amp;#039;ISIS&amp;#039;&amp;#039;&amp;#039; in the toolbox folder of the MATLAB root directory, places files necessary to initiate Libisis there and modifies MATLAB search path to look for files in this folder. If you use startup file, the script also adds the rows, described above and necessary to initiate Libisis during MATLAB startup. These rows are added to the end of your startup file.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You need manually modify you startup file if you used Libsisis before to remove references to previous Libisis installations and avoid multiple Libisis initialisations.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Download Stand Alone Homer ==&lt;br /&gt;
* If you do not have matlab it is possible to download an executable which will run the homer GUI standalone&lt;br /&gt;
* Homer software created by Dr. [[User:Dickon Champion|Dickon Champion]], standalone installation developed by [[User:Dean Whittaker|Dean Whittaker]]. MCRInstaller and Matlab (c) [http://www.matlab.com The MathWorks, Inc.] 1984-2010&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
!{{Headcellstyle}} | Linux&lt;br /&gt;
! {{Headcellstyle}} | MacOS&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.libisis.org/kits/homer_standalone.zip Stand Alone Homer] or [http://download.libisis.org/kits/homer_standalone_kit_win64.zip Stand Alone Homer for win64 (with proper MCR installer)]- the standalone homer zip file &lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller] - required for the first run of homer.&lt;br /&gt;
&lt;br /&gt;
| not available&lt;br /&gt;
| not available&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
you must [[Homer Gui setup|set up]] Homer properly in order for it to work. Run the MCRInstaller once on your computer, if updating your homer installation, it is not required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Install Stand Alone Homer===&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;First&amp;#039;&amp;#039;&amp;#039; time you download homer:&lt;br /&gt;
** Download the MCRInstaller file above&lt;br /&gt;
** Run the MCRInstaller.exe file and follow the on-screen instructions&lt;br /&gt;
* Download the homer zip file above&lt;br /&gt;
* Unzip to directory of your choice&lt;br /&gt;
* Run homer.exe to start homer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
* Administrative Rights for Installation.&lt;br /&gt;
&lt;br /&gt;
== Setup Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
Sometimes when we are treating large datasets, such as on MAPS, we cannot load all the data into the memory of the computer at once, we need to &amp;#039;chunk&amp;#039; the data into smaller pieces. We therefore need to set the default number of workspaces in each &amp;#039;chunk&amp;#039; to treat at any one time during the population of an [[IXTrunfile]] and the total amount of memory to allow the computer to use. &lt;br /&gt;
&lt;br /&gt;
If the memory required for the number of workspaces in each chunk is greater than that defined then the number of workspaces is reduced until it fits in the memory or a failure status is raised. These two values are defined in &amp;lt;tt&amp;gt;./matlab/homer/default_homer_nchunk.m&amp;lt;/tt&amp;gt; which needs to be edited to suit the memory needs of your computer. Tests have shown that LIBISIS will populate data fastest when it is chunked in groups of 100 workspaces, so this is the default value in the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function nchunk=default_homer_nchunk&lt;br /&gt;
% nchunk = default_homer_nchunk&lt;br /&gt;
% nchunk is a two membered array&lt;br /&gt;
% the first element is the default number of workspaces to be treated at &lt;br /&gt;
% one time, and the second element is the maximum amount of memory (in MB)&lt;br /&gt;
% that you want the computer to use&lt;br /&gt;
nchunk=int32([100,500]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3026</id>
		<title>Download and setup LIBISIS</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3026"/>
		<updated>2011-10-10T12:05:58Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Download LIBISIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By downloading any of the files below, you accept the terms of the Matlab MCR Library License included with the distribution. Read the COPYING.rtf file in the License folder for information about which components may or may not be changed or redistributed. &lt;br /&gt;
&lt;br /&gt;
If you have any problems, email the [http://lists.libisis.org/mailman/listinfo/libisis-users libisis-users] mailing list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* Matlab 2007a (or later) &lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
&lt;br /&gt;
== Download LIBISIS ==&lt;br /&gt;
* Download the latest libisis build for your version of Matlab&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
! {{Headcellstyle}} |  Linux&amp;amp;MacOS&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions&amp;lt;math&amp;gt;)^{1}&amp;lt;/math&amp;gt; :&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;this is what you probably need&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/libisis_distribution_kit.zip Matlab 2007a and higher]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Old (compatibility) distributives for older versions of Matlab (32bit) (&amp;#039;&amp;#039;use this only if your Matlab is really old or you used Libisis before and want to process your previous data with your old libisis&amp;#039;&amp;#039;):&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab Ver 7.1]&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab 2006a]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2006b]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007a] &lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007b] &lt;br /&gt;
 &lt;br /&gt;
|You need to install [http://download.nexusformat.org/kits/ NeXus] and build the code from source using GNU autotools, see [[SubversionServer]] for instructions &lt;br /&gt;
You should be fairly familiar with Unix installation process to do it smoothly. There is [[user experience]] page, which summarises the experience of some users who have already done this, installing Libisis for [http://horace.isis.rl.ac.uk/Main_Page Horace]. &lt;br /&gt;
You will probably need to place [http://download.libisis.org/kits/mwdebug.c This file] into your Matlab directory ($MatlabRoot/extern/src) as it is not shipped with recent versions of Matlab any more. &lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;math&amp;gt;*^1&amp;lt;/math&amp;gt; Does not currently work with Matlab 2011b-32 bit version. The reason for incompatibility is unclear. Please, ask the support team if you need to use this option, and we will try to resolve this issue. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;All versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Unpack downloaded file into &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;C:\mprogs&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or a directory of your choice eg &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;X:\ISIS&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
*  Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)&lt;br /&gt;
* Add the following lines to the startup.m file &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;addpath(&amp;#039;c:\mprogs\Libisis&amp;#039;) % where c:\mprogs\Libisis is the folder you unzipped Libisis into&lt;br /&gt;
libisis_init&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Alternative possibility for the latest versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Instead of above, you can unpack downloaded file into a folder of your choice. (ISIS by default so &amp;#039;&amp;#039;&amp;#039;&amp;#039;C:\ISIS\&amp;#039;&amp;#039;&amp;#039;&amp;#039; and this folder have two sub-folders namely &amp;#039;&amp;#039;&amp;#039;Libisis&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;InstrumentFiles&amp;#039;&amp;#039;&amp;#039; in it) &lt;br /&gt;
* Start MATLAB and navigate it to the folder where the Libisis has been unpacked. (e.g. C:\ISIS)&lt;br /&gt;
* Find the MATLAB function &amp;#039;&amp;#039;&amp;#039;install_isis&amp;#039;&amp;#039;&amp;#039; in this folder and run this function specifying the path (short or full) to the folder where you have Libisis unpacked. (e.g. if your Libisis is in C:\ISIS\Libisis, navigate MATLAB to the folder C:\ISIS and run &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;C:\ISIS\Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Type &amp;#039;&amp;#039;&amp;#039;libisis_on&amp;#039;&amp;#039;&amp;#039; in MATLAB command prompt to access Libisis functions&lt;br /&gt;
This is actually all you need having an administrative rights to the system. install_isis creates an folder &amp;#039;&amp;#039;&amp;#039;ISIS&amp;#039;&amp;#039;&amp;#039; in the toolbox folder of the MATLAB root directory, places files necessary to initiate Libisis there and modifies MATLAB search path to look for files in this folder. If you use startup file, the script also adds the rows, described above and necessary to initiate Libisis during MATLAB startup. These rows are added to the end of your startup file.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You need manually modify you startup file if you used Libsisis before to remove references to previous Libisis installations and avoid multiple Libisis initialisations.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Download Stand Alone Homer ==&lt;br /&gt;
* If you do not have matlab it is possible to download an executable which will run the homer GUI standalone&lt;br /&gt;
* Homer software created by Dr. [[User:Dickon Champion|Dickon Champion]], standalone installation developed by [[User:Dean Whittaker|Dean Whittaker]]. MCRInstaller and Matlab (c) [http://www.matlab.com The MathWorks, Inc.] 1984-2010&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
!{{Headcellstyle}} | Linux&lt;br /&gt;
! {{Headcellstyle}} | MacOS&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.libisis.org/kits/homer_standalone.zip Stand Alone Homer] or [http://download.libisis.org/kits/homer_standalone_kit_win64.zip Stand Alone Homer for win64 (with proper MCR installer)]- the standalone homer zip file &lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller] - required for the first run of homer.&lt;br /&gt;
&lt;br /&gt;
| not available&lt;br /&gt;
| not available&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
you must [[Homer Gui setup|set up]] Homer properly in order for it to work. Run the MCRInstaller once on your computer, if updating your homer installation, it is not required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Install Stand Alone Homer===&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;First&amp;#039;&amp;#039;&amp;#039; time you download homer:&lt;br /&gt;
** Download the MCRInstaller file above&lt;br /&gt;
** Run the MCRInstaller.exe file and follow the on-screen instructions&lt;br /&gt;
* Download the homer zip file above&lt;br /&gt;
* Unzip to directory of your choice&lt;br /&gt;
* Run homer.exe to start homer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
* Administrative Rights for Installation.&lt;br /&gt;
&lt;br /&gt;
== Setup Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
Sometimes when we are treating large datasets, such as on MAPS, we cannot load all the data into the memory of the computer at once, we need to &amp;#039;chunk&amp;#039; the data into smaller pieces. We therefore need to set the default number of workspaces in each &amp;#039;chunk&amp;#039; to treat at any one time during the population of an [[IXTrunfile]] and the total amount of memory to allow the computer to use. &lt;br /&gt;
&lt;br /&gt;
If the memory required for the number of workspaces in each chunk is greater than that defined then the number of workspaces is reduced until it fits in the memory or a failure status is raised. These two values are defined in &amp;lt;tt&amp;gt;./matlab/homer/default_homer_nchunk.m&amp;lt;/tt&amp;gt; which needs to be edited to suit the memory needs of your computer. Tests have shown that LIBISIS will populate data fastest when it is chunked in groups of 100 workspaces, so this is the default value in the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function nchunk=default_homer_nchunk&lt;br /&gt;
% nchunk = default_homer_nchunk&lt;br /&gt;
% nchunk is a two membered array&lt;br /&gt;
% the first element is the default number of workspaces to be treated at &lt;br /&gt;
% one time, and the second element is the maximum amount of memory (in MB)&lt;br /&gt;
% that you want the computer to use&lt;br /&gt;
nchunk=int32([100,500]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3025</id>
		<title>Download and setup LIBISIS</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3025"/>
		<updated>2011-10-10T12:04:40Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Download LIBISIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By downloading any of the files below, you accept the terms of the Matlab MCR Library License included with the distribution. Read the COPYING.rtf file in the License folder for information about which components may or may not be changed or redistributed. &lt;br /&gt;
&lt;br /&gt;
If you have any problems, email the [http://lists.libisis.org/mailman/listinfo/libisis-users libisis-users] mailing list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* Matlab 2007a (or later) &lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
&lt;br /&gt;
== Download LIBISIS ==&lt;br /&gt;
* Download the latest libisis build for your version of Matlab&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
! {{Headcellstyle}} |  Linux&amp;amp;MacOS&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions&amp;lt;math&amp;gt;)^{1}&amp;lt;/math&amp;gt; :&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;this is what you probably need&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/libisis_distribution_kit.zip Matlab 2007a and higher]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Old (compatibility) distributives for older versions of Matlab (32bit) (&amp;#039;&amp;#039;use this only if your Matlab is really old or you used Libisis before and want to process your previous data with your old libisis&amp;#039;&amp;#039;):&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab Ver 7.1]&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab 2006a]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2006b]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007a] &lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007b] &lt;br /&gt;
 &lt;br /&gt;
|You need to install [http://download.nexusformat.org/kits/ NeXus] and build the code from source using GNU autotools, see [[SubversionServer]] for instructions &lt;br /&gt;
You should be fairly familiar with Unix installation process to do it smoothly. There is [[user experience]] page, which summarises the experience of some users who have already done this, installing Libisis for [http://horace.isis.rl.ac.uk/Main_Page Horace]. &lt;br /&gt;
You will probably need to place [http://download.libisis.org/kits/mwdebug.c This file] into your Matlab directory ($MatlabRoot/extern/src) as it is not shipped with recent versions of Matlab any more. &lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;math&amp;gt;*^1&amp;lt;/math&amp;gt; Does not currently work with Matlab 2011b-32 bit version. The reason for incompatibility is unclear. Please, ask the support team if you need to use this option. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;All versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Unpack downloaded file into &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;C:\mprogs&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or a directory of your choice eg &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;X:\ISIS&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
*  Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)&lt;br /&gt;
* Add the following lines to the startup.m file &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;addpath(&amp;#039;c:\mprogs\Libisis&amp;#039;) % where c:\mprogs\Libisis is the folder you unzipped Libisis into&lt;br /&gt;
libisis_init&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Alternative possibility for the latest versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Instead of above, you can unpack downloaded file into a folder of your choice. (ISIS by default so &amp;#039;&amp;#039;&amp;#039;&amp;#039;C:\ISIS\&amp;#039;&amp;#039;&amp;#039;&amp;#039; and this folder have two sub-folders namely &amp;#039;&amp;#039;&amp;#039;Libisis&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;InstrumentFiles&amp;#039;&amp;#039;&amp;#039; in it) &lt;br /&gt;
* Start MATLAB and navigate it to the folder where the Libisis has been unpacked. (e.g. C:\ISIS)&lt;br /&gt;
* Find the MATLAB function &amp;#039;&amp;#039;&amp;#039;install_isis&amp;#039;&amp;#039;&amp;#039; in this folder and run this function specifying the path (short or full) to the folder where you have Libisis unpacked. (e.g. if your Libisis is in C:\ISIS\Libisis, navigate MATLAB to the folder C:\ISIS and run &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;C:\ISIS\Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Type &amp;#039;&amp;#039;&amp;#039;libisis_on&amp;#039;&amp;#039;&amp;#039; in MATLAB command prompt to access Libisis functions&lt;br /&gt;
This is actually all you need having an administrative rights to the system. install_isis creates an folder &amp;#039;&amp;#039;&amp;#039;ISIS&amp;#039;&amp;#039;&amp;#039; in the toolbox folder of the MATLAB root directory, places files necessary to initiate Libisis there and modifies MATLAB search path to look for files in this folder. If you use startup file, the script also adds the rows, described above and necessary to initiate Libisis during MATLAB startup. These rows are added to the end of your startup file.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You need manually modify you startup file if you used Libsisis before to remove references to previous Libisis installations and avoid multiple Libisis initialisations.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Download Stand Alone Homer ==&lt;br /&gt;
* If you do not have matlab it is possible to download an executable which will run the homer GUI standalone&lt;br /&gt;
* Homer software created by Dr. [[User:Dickon Champion|Dickon Champion]], standalone installation developed by [[User:Dean Whittaker|Dean Whittaker]]. MCRInstaller and Matlab (c) [http://www.matlab.com The MathWorks, Inc.] 1984-2010&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
!{{Headcellstyle}} | Linux&lt;br /&gt;
! {{Headcellstyle}} | MacOS&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.libisis.org/kits/homer_standalone.zip Stand Alone Homer] or [http://download.libisis.org/kits/homer_standalone_kit_win64.zip Stand Alone Homer for win64 (with proper MCR installer)]- the standalone homer zip file &lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller] - required for the first run of homer.&lt;br /&gt;
&lt;br /&gt;
| not available&lt;br /&gt;
| not available&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
you must [[Homer Gui setup|set up]] Homer properly in order for it to work. Run the MCRInstaller once on your computer, if updating your homer installation, it is not required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Install Stand Alone Homer===&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;First&amp;#039;&amp;#039;&amp;#039; time you download homer:&lt;br /&gt;
** Download the MCRInstaller file above&lt;br /&gt;
** Run the MCRInstaller.exe file and follow the on-screen instructions&lt;br /&gt;
* Download the homer zip file above&lt;br /&gt;
* Unzip to directory of your choice&lt;br /&gt;
* Run homer.exe to start homer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
* Administrative Rights for Installation.&lt;br /&gt;
&lt;br /&gt;
== Setup Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
Sometimes when we are treating large datasets, such as on MAPS, we cannot load all the data into the memory of the computer at once, we need to &amp;#039;chunk&amp;#039; the data into smaller pieces. We therefore need to set the default number of workspaces in each &amp;#039;chunk&amp;#039; to treat at any one time during the population of an [[IXTrunfile]] and the total amount of memory to allow the computer to use. &lt;br /&gt;
&lt;br /&gt;
If the memory required for the number of workspaces in each chunk is greater than that defined then the number of workspaces is reduced until it fits in the memory or a failure status is raised. These two values are defined in &amp;lt;tt&amp;gt;./matlab/homer/default_homer_nchunk.m&amp;lt;/tt&amp;gt; which needs to be edited to suit the memory needs of your computer. Tests have shown that LIBISIS will populate data fastest when it is chunked in groups of 100 workspaces, so this is the default value in the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function nchunk=default_homer_nchunk&lt;br /&gt;
% nchunk = default_homer_nchunk&lt;br /&gt;
% nchunk is a two membered array&lt;br /&gt;
% the first element is the default number of workspaces to be treated at &lt;br /&gt;
% one time, and the second element is the maximum amount of memory (in MB)&lt;br /&gt;
% that you want the computer to use&lt;br /&gt;
nchunk=int32([100,500]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3024</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3024"/>
		<updated>2011-10-04T14:54:02Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* If you need Libisis for data reduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
==University of Colorado Group==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
==Jülich Centre for Neutron Science==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==If you need Libisis for data reduction==&lt;br /&gt;
&lt;br /&gt;
Additional steps have to be considered if you need to use Libisis for data reduction.&lt;br /&gt;
Libisis uses NeXus to access instrument description and NeXus[http://www.nexusformat.org] is HDF-based[http://www.hdfgroup.org/HDF5/] file format. Matlab also supports HDF5 and is supplied with its own HDF5 version. Unless you are very lucky, this would be not the version, the NeXus is linked with. Different run-time versions of HDF5 are incompatible with each other.  (e.g. Matlab 2010-2011a uses HDF5 1.8.3 and  Matlab 2011b uses HDF 1.8.6, when NeXus in Lucid 10.4.3 repository comes linked with HDF5-1.8.4 version). This mean that your Matlab application will crash as soon as you try to use NeXus unless you link NeXus against HDF5-libraries statically. &lt;br /&gt;
&lt;br /&gt;
To do this you have to download static library version of HDF-5 or build this version from the source code and build NeXus linked against this library. &lt;br /&gt;
Assuming that you have loaded source code for NeXus and HDF5 and are building hdf5 and Nexus in its default location /usr/local, the example of how to do it is as below:&lt;br /&gt;
&lt;br /&gt;
  cd hdf5-1.8.3/&lt;br /&gt;
  env CFLAGS=&amp;quot;-fPIC -DPIC&amp;quot; ./configure --prefix=/usr/local/hdf5 --disable-fortran --with-pic --disable-shared&lt;br /&gt;
  make&lt;br /&gt;
  make check&lt;br /&gt;
  sudo make install&lt;br /&gt;
  ls /usr/local/hdf5/&lt;br /&gt;
  ls /usr/local/hdf5/lib/   -- no dynamic libraries found&lt;br /&gt;
&lt;br /&gt;
  cd ../nexus-4.2.1/&lt;br /&gt;
  sudo apt-get mxml&lt;br /&gt;
  &lt;br /&gt;
  ./configure --with-hdf5=/usr/local/hdf5/&lt;br /&gt;
  make&lt;br /&gt;
  make check&lt;br /&gt;
  sudo make install&lt;br /&gt;
  ls /usr/local/lib/       -- nexus dynamic library is there .&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3023</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3023"/>
		<updated>2011-10-04T13:03:06Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* If you need Libisis for data reduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
==University of Colorado Group==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
==Jülich Centre for Neutron Science==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==If you need Libisis for data reduction==&lt;br /&gt;
&lt;br /&gt;
Additional steps have to be considered if you need to use Libisis for data reduction.&lt;br /&gt;
Libisis uses NeXus to access instrument description and NeXus[http://www.nexusformat.org] is HDF-based[http://www.hdfgroup.org/HDF5/] file format. Matlab also supports HDF5 and is supplied with its own HDF5 version. Unless you are very lucky, this would be not the version, the NeXus is linked with. Different run-time versions of HDF5 are incompatible with each other.  (e.g. Matlab 2010-2011a uses HDF5 1.8.3 and  Matlab 2011b uses HDF 1.8.6, when NeXus in Lucid 10.4.3 repository comes linked with HDF5-1.8.4 version). This mean that your Matlab application will crash as soon as you try to use NeXus unless you link NeXus against HDF5-libraries statically. &lt;br /&gt;
&lt;br /&gt;
To do this you have to download static library version of HDF-5 or build this version from the source code and build NeXus linked against this library. &lt;br /&gt;
Assuming that you have loaded source code for NeXus and HDF5 and are building hdf5 and Nexus in its default location /usr/local, the example of how to do it is as below:&lt;br /&gt;
&lt;br /&gt;
  cd hdf5-1.8.3/&lt;br /&gt;
  ls&lt;br /&gt;
  env CFLAGS=&amp;quot;-fPIC -DPIC&amp;quot; ./configure --prefix=/usr/local/hdf5 --disable-fortran --with-pic --disable-shared&lt;br /&gt;
  make&lt;br /&gt;
  make check&lt;br /&gt;
  sudo make install&lt;br /&gt;
  ls /usr/local/hdf5/&lt;br /&gt;
  ls /usr/local/hdf5/lib/&lt;br /&gt;
&lt;br /&gt;
  cd nexus-4.2.1/&lt;br /&gt;
  sudo apt-get mxml&lt;br /&gt;
  &lt;br /&gt;
  ./configure --with-hdf5=/usr/local/hdf5/&lt;br /&gt;
  ls /usr/local/lib/&lt;br /&gt;
  make&lt;br /&gt;
  make check&lt;br /&gt;
  sudo make install&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3022</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3022"/>
		<updated>2011-10-04T13:00:34Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* If you need Libisis for data reduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
==University of Colorado Group==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
==Jülich Centre for Neutron Science==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==If you need Libisis for data reduction==&lt;br /&gt;
&lt;br /&gt;
Additional steps have to be considered if you need to use Libisis for data reduction.&lt;br /&gt;
Libisis uses NeXus to access instrument description and NeXus[http://www.nexusformat.org] is HDF-based[http://www.hdfgroup.org/HDF5/] file format. Matlab also supports HDF5 and is supplied with its own HDF5 version. Unless you are very lucky, this would be not the version, the NeXus is linked with. Different run-time versions of HDF5 are incompatible with each other.  (e.g. Matlab 2010-2011a uses HDF5 1.8.3 and  Matlab 2011b uses HDF 1.8.6, when NeXus in Lucid 10.4.3 repository comes linked with HDF5-1.8.4 version). This mean that your Matlab application will crash as soon as you try to use NeXus unless you link NeXus against HDF5-libraries statically. &lt;br /&gt;
&lt;br /&gt;
To do this you have to download static library version of HDF-5 or build this version from the source code and build NeXus linked against this library. &lt;br /&gt;
Assuming that you have loaded source code for NeXus and HDF5 and are building hdf5 and Nexus in its default location /usr/local, the example of how to do it is as below:&lt;br /&gt;
&lt;br /&gt;
  cd hdf5-1.8.3/&lt;br /&gt;
  ls&lt;br /&gt;
  env CFLAGS=&amp;quot;-fPIC -DPIC&amp;quot; ./configure --prefix=/usr/local/hdf5 --disable-fortran --with-pic --disable-shared&lt;br /&gt;
  make&lt;br /&gt;
  make check&lt;br /&gt;
  ls /usr/local/&lt;br /&gt;
  ls /usr/local/hdf5/&lt;br /&gt;
  sudo make install&lt;br /&gt;
  ls /usr/local/hdf5/&lt;br /&gt;
  ls /usr/local/hdf5/lib/&lt;br /&gt;
&lt;br /&gt;
  cd nexus-4.2.1/&lt;br /&gt;
  sudo apt-get mxml&lt;br /&gt;
  &lt;br /&gt;
  ./configure --with-hdf5=/usr/local/hdf5/&lt;br /&gt;
  ls /usr/local/lib/&lt;br /&gt;
  make&lt;br /&gt;
  make check&lt;br /&gt;
  sudo make install&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3021</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3021"/>
		<updated>2011-10-04T12:59:33Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* If you need Libisis for data reduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
==University of Colorado Group==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
==Jülich Centre for Neutron Science==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==If you need Libisis for data reduction==&lt;br /&gt;
&lt;br /&gt;
Additional steps have to be considered if you need to use Libisis for data reduction.&lt;br /&gt;
Libisis uses NeXus to access instrument description and NeXus[http://www.nexusformat.org] is HDF-based[http://www.hdfgroup.org/HDF5/] file format. Matlab also supports HDF5 and is supplied with its own HDF5 version. Unless you are very lucky, this would be not the version, the NeXus is linked with. Different run-time versions of HDF5 are incompatible with each other.  (e.g. Matlab 2010-2011a uses HDF5 1.8.3 and  Matlab 2011b uses HDF 1.8.6, when NeXus in Lucid 10.4.3 repository comes linked with HDF5-1.8.4 version). This mean that your Matlab application will crash as soon as you try to use NeXus unless you link NeXus against HDF5-libraries statically. &lt;br /&gt;
&lt;br /&gt;
To do this you have to download static library version of HDF-5 or build this version from the source code and build NeXus linked against this library. &lt;br /&gt;
Assuming that you are building hdf5 and Nexus in its default location /usr/local, the example of how to do it is as below:&lt;br /&gt;
&lt;br /&gt;
  cd hdf5-1.8.3/&lt;br /&gt;
  ls&lt;br /&gt;
  env CFLAGS=&amp;quot;-fPIC -DPIC&amp;quot; ./configure --prefix=/usr/local/hdf5 --disable-fortran --with-pic --disable-shared&lt;br /&gt;
  make&lt;br /&gt;
  make check&lt;br /&gt;
  ls /usr/local/&lt;br /&gt;
  ls /usr/local/hdf5/&lt;br /&gt;
  sudo make install&lt;br /&gt;
  ls /usr/local/hdf5/&lt;br /&gt;
  ls /usr/local/hdf5/lib/&lt;br /&gt;
&lt;br /&gt;
  cd nexus-4.2.1/&lt;br /&gt;
  sudo apt-get mxml&lt;br /&gt;
  &lt;br /&gt;
  ./configure --with-hdf5=/usr/local/hdf5/&lt;br /&gt;
  ls /usr/local/lib/&lt;br /&gt;
  make&lt;br /&gt;
  make check&lt;br /&gt;
  sudo make install&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3020</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3020"/>
		<updated>2011-10-04T12:58:39Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* If you need Libisis for data reduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
==University of Colorado Group==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
==Jülich Centre for Neutron Science==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==If you need Libisis for data reduction==&lt;br /&gt;
&lt;br /&gt;
Additional steps have to be considered if you need to use Libisis for data reduction.&lt;br /&gt;
Libisis uses NeXus to access instrument description and NeXus[http://www.nexusformat.org] is HDF-based[http://www.hdfgroup.org/HDF5/] file format. Matlab also supports HDF5 and is supplied with its own HDF5 version. Unless you are very lucky, this would be not the version, the NeXus is linked with. Different run-time versions of HDF5 are incompatible with each other.  (e.g. Matlab 2010-2011a uses HDF5 1.8.3 and  Matlab 2011b uses HDF 1.8.6, when NeXus in Lucid 10.4.3 repository comes linked with HDF5-1.8.4 version). This mean that your Matlab application will crash as soon as you try to use NeXus unless you link NeXus against HDF5-libraries statically. &lt;br /&gt;
&lt;br /&gt;
To do this you have to download static library version of HDF-5 or build this version from the source code and build NeXus linked against this library. &lt;br /&gt;
The example of how to do it is as below:&lt;br /&gt;
&lt;br /&gt;
  cd hdf5-1.8.3/&lt;br /&gt;
  ls&lt;br /&gt;
  env CFLAGS=&amp;quot;-fPIC -DPIC&amp;quot; ./configure --prefix=/usr/local/hdf5 --disable-fortran --with-pic --disable-shared&lt;br /&gt;
  make&lt;br /&gt;
  make check&lt;br /&gt;
  ls /usr/local/&lt;br /&gt;
  ls /usr/local/hdf5/&lt;br /&gt;
  sudo make install&lt;br /&gt;
  ls /usr/local/hdf5/&lt;br /&gt;
  ls /usr/local/hdf5/lib/&lt;br /&gt;
&lt;br /&gt;
  cd nexus-4.2.1/&lt;br /&gt;
  sudo apt-get mxml&lt;br /&gt;
  &lt;br /&gt;
  ./configure --with-hdf5=/usr/local/hdf5/&lt;br /&gt;
  ls /usr/local/lib/&lt;br /&gt;
  make&lt;br /&gt;
  make check&lt;br /&gt;
  sudo make install&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3019</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3019"/>
		<updated>2011-10-04T12:47:21Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* If you need Libisis for data reduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
==University of Colorado Group==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
==Jülich Centre for Neutron Science==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==If you need Libisis for data reduction==&lt;br /&gt;
&lt;br /&gt;
Additional steps have to be considered if you need to use Libisis for data reduction.&lt;br /&gt;
Libisis uses NeXus to access instrument description and NeXus[http://www.nexusformat.org] is HDF-based[http://www.hdfgroup.org/HDF5/] file format.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3018</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3018"/>
		<updated>2011-10-04T12:40:17Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Jülich Centre for Neutron Science */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
==University of Colorado Group==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
==Jülich Centre for Neutron Science==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==If you need Libisis for data reduction==&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3017</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3017"/>
		<updated>2011-10-04T12:39:29Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
==University of Colorado Group==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
==Jülich Centre for Neutron Science==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3016</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3016"/>
		<updated>2011-10-04T12:39:19Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* University of Colorado Group */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine ==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
==University of Colorado Group==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
==Jülich Centre for Neutron Science==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3015</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3015"/>
		<updated>2011-10-04T12:39:08Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Jülich Centre for Neutron Science */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine ==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
==University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
==Jülich Centre for Neutron Science==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3014</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3014"/>
		<updated>2011-10-04T12:38:51Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* University of Colorado Group */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine ==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
==University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3013</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3013"/>
		<updated>2011-10-04T12:38:36Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==ISIS LET control machine ==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3012</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3012"/>
		<updated>2011-10-04T12:34:32Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3011</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3011"/>
		<updated>2011-09-30T11:04:48Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* University of Colorado Group */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1) &amp;gt;&amp;gt;&amp;gt; Get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3010</id>
		<title>Download and setup LIBISIS</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3010"/>
		<updated>2011-09-19T12:29:02Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Windows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By downloading any of the files below, you accept the terms of the Matlab MCR Library License included with the distribution. Read the COPYING.rtf file in the License folder for information about which components may or may not be changed or redistributed. &lt;br /&gt;
&lt;br /&gt;
If you have any problems, email the [http://lists.libisis.org/mailman/listinfo/libisis-users libisis-users] mailing list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* Matlab 2007a (or later) &lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
&lt;br /&gt;
== Download LIBISIS ==&lt;br /&gt;
* Download the latest libisis build for your version of Matlab&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
! {{Headcellstyle}} |  Linux&amp;amp;MacOS&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions):&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;this is what you probably need&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/libisis_distribution_kit.zip Matlab 2007a and higher]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Old (compatibility) distributives for older versions of Matlab (32bit) (&amp;#039;&amp;#039;use this only if your Matlab is really old or you used Libisis before and want to process your previous data with your old libisis&amp;#039;&amp;#039;):&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab Ver 7.1]&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab 2006a]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2006b]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007a] &lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007b] &lt;br /&gt;
 &lt;br /&gt;
|You need to install [http://download.nexusformat.org/kits/ NeXus] and build the code from source using GNU autotools, see [[SubversionServer]] for instructions &lt;br /&gt;
You should be fairly familiar with Unix installation process to do it smoothly. There is [[user experience]] page, which summarises the experience of some users who have already done this, installing Libisis for [http://horace.isis.rl.ac.uk/Main_Page Horace]. &lt;br /&gt;
You will probably need to place [http://download.libisis.org/kits/mwdebug.c This file] into your Matlab directory ($MatlabRoot/extern/src) as it is not shipped with recent versions of Matlab any more. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;All versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Unpack downloaded file into &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;C:\mprogs&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or a directory of your choice eg &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;X:\ISIS&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
*  Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)&lt;br /&gt;
* Add the following lines to the startup.m file &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;addpath(&amp;#039;c:\mprogs\Libisis&amp;#039;) % where c:\mprogs\Libisis is the folder you unzipped Libisis into&lt;br /&gt;
libisis_init&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Alternative possibility for the latest versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Instead of above, you can unpack downloaded file into a folder of your choice. (ISIS by default so &amp;#039;&amp;#039;&amp;#039;&amp;#039;C:\ISIS\&amp;#039;&amp;#039;&amp;#039;&amp;#039; and this folder have two sub-folders namely &amp;#039;&amp;#039;&amp;#039;Libisis&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;InstrumentFiles&amp;#039;&amp;#039;&amp;#039; in it) &lt;br /&gt;
* Start MATLAB and navigate it to the folder where the Libisis has been unpacked. (e.g. C:\ISIS)&lt;br /&gt;
* Find the MATLAB function &amp;#039;&amp;#039;&amp;#039;install_isis&amp;#039;&amp;#039;&amp;#039; in this folder and run this function specifying the path (short or full) to the folder where you have Libisis unpacked. (e.g. if your Libisis is in C:\ISIS\Libisis, navigate MATLAB to the folder C:\ISIS and run &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;C:\ISIS\Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Type &amp;#039;&amp;#039;&amp;#039;libisis_on&amp;#039;&amp;#039;&amp;#039; in MATLAB command prompt to access Libisis functions&lt;br /&gt;
This is actually all you need having an administrative rights to the system. install_isis creates an folder &amp;#039;&amp;#039;&amp;#039;ISIS&amp;#039;&amp;#039;&amp;#039; in the toolbox folder of the MATLAB root directory, places files necessary to initiate Libisis there and modifies MATLAB search path to look for files in this folder. If you use startup file, the script also adds the rows, described above and necessary to initiate Libisis during MATLAB startup. These rows are added to the end of your startup file.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You need manually modify you startup file if you used Libsisis before to remove references to previous Libisis installations and avoid multiple Libisis initialisations.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Download Stand Alone Homer ==&lt;br /&gt;
* If you do not have matlab it is possible to download an executable which will run the homer GUI standalone&lt;br /&gt;
* Homer software created by Dr. [[User:Dickon Champion|Dickon Champion]], standalone installation developed by [[User:Dean Whittaker|Dean Whittaker]]. MCRInstaller and Matlab (c) [http://www.matlab.com The MathWorks, Inc.] 1984-2010&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
!{{Headcellstyle}} | Linux&lt;br /&gt;
! {{Headcellstyle}} | MacOS&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.libisis.org/kits/homer_standalone.zip Stand Alone Homer] or [http://download.libisis.org/kits/homer_standalone_kit_win64.zip Stand Alone Homer for win64 (with proper MCR installer)]- the standalone homer zip file &lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller] - required for the first run of homer.&lt;br /&gt;
&lt;br /&gt;
| not available&lt;br /&gt;
| not available&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
you must [[Homer Gui setup|set up]] Homer properly in order for it to work. Run the MCRInstaller once on your computer, if updating your homer installation, it is not required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Install Stand Alone Homer===&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;First&amp;#039;&amp;#039;&amp;#039; time you download homer:&lt;br /&gt;
** Download the MCRInstaller file above&lt;br /&gt;
** Run the MCRInstaller.exe file and follow the on-screen instructions&lt;br /&gt;
* Download the homer zip file above&lt;br /&gt;
* Unzip to directory of your choice&lt;br /&gt;
* Run homer.exe to start homer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
* Administrative Rights for Installation.&lt;br /&gt;
&lt;br /&gt;
== Setup Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
Sometimes when we are treating large datasets, such as on MAPS, we cannot load all the data into the memory of the computer at once, we need to &amp;#039;chunk&amp;#039; the data into smaller pieces. We therefore need to set the default number of workspaces in each &amp;#039;chunk&amp;#039; to treat at any one time during the population of an [[IXTrunfile]] and the total amount of memory to allow the computer to use. &lt;br /&gt;
&lt;br /&gt;
If the memory required for the number of workspaces in each chunk is greater than that defined then the number of workspaces is reduced until it fits in the memory or a failure status is raised. These two values are defined in &amp;lt;tt&amp;gt;./matlab/homer/default_homer_nchunk.m&amp;lt;/tt&amp;gt; which needs to be edited to suit the memory needs of your computer. Tests have shown that LIBISIS will populate data fastest when it is chunked in groups of 100 workspaces, so this is the default value in the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function nchunk=default_homer_nchunk&lt;br /&gt;
% nchunk = default_homer_nchunk&lt;br /&gt;
% nchunk is a two membered array&lt;br /&gt;
% the first element is the default number of workspaces to be treated at &lt;br /&gt;
% one time, and the second element is the maximum amount of memory (in MB)&lt;br /&gt;
% that you want the computer to use&lt;br /&gt;
nchunk=int32([100,500]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3009</id>
		<title>Download and setup LIBISIS</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=3009"/>
		<updated>2011-09-19T12:26:51Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Download LIBISIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By downloading any of the files below, you accept the terms of the Matlab MCR Library License included with the distribution. Read the COPYING.rtf file in the License folder for information about which components may or may not be changed or redistributed. &lt;br /&gt;
&lt;br /&gt;
If you have any problems, email the [http://lists.libisis.org/mailman/listinfo/libisis-users libisis-users] mailing list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* Matlab 2007a (or later) &lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
&lt;br /&gt;
== Download LIBISIS ==&lt;br /&gt;
* Download the latest libisis build for your version of Matlab&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
! {{Headcellstyle}} |  Linux&amp;amp;MacOS&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions):&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;this is what you probably need&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/libisis_distribution_kit.zip Matlab 2007a and higher]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Old (compatibility) distributives for older versions of Matlab (32bit) (&amp;#039;&amp;#039;use this only if your Matlab is really old or you used Libisis before and want to process your previous data with your old libisis&amp;#039;&amp;#039;):&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab Ver 7.1]&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab 2006a]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2006b]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007a] &lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007b] &lt;br /&gt;
 &lt;br /&gt;
|You need to install [http://download.nexusformat.org/kits/ NeXus] and build the code from source using GNU autotools, see [[SubversionServer]] for instructions &lt;br /&gt;
You should be fairly familiar with Unix installation process to do it smoothly. There is [[user experience]] page, which summarises the experience of some users who have already done this, installing Libisis for [http://horace.isis.rl.ac.uk/Main_Page Horace]. &lt;br /&gt;
You will probably need to place [http://download.libisis.org/kits/mwdebug.c This file] into your Matlab directory ($MatlabRoot/extern/src) as it is not shipped with recent versions of Matlab any more. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;All versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Unpack downloaded file into &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;C:\mprogs&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or a directory of your choice eg &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;X:\ISIS&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
*  Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)&lt;br /&gt;
* Add the following lines to the startup.m file &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;addpath(&amp;#039;c:\mprogs\Libisis&amp;#039;) % where c:\mprogs\Libisis is the folder you unzipped Libisis into&lt;br /&gt;
libisis_init&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;for the latest versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Instead of above, you can unpack downloaded file into a folder of your choice. (ISIS by default so &amp;#039;&amp;#039;&amp;#039;&amp;#039;C:\ISIS\&amp;#039;&amp;#039;&amp;#039;&amp;#039; and this folder have two sub-folders namely &amp;#039;&amp;#039;&amp;#039;Libisis&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;InstrumentFiles&amp;#039;&amp;#039;&amp;#039; in it) &lt;br /&gt;
* Start MATLAB and navigate it to the folder where the Libisis has been unpacked. (e.g. C:\ISIS)&lt;br /&gt;
* Find the MATLAB function &amp;#039;&amp;#039;&amp;#039;install_isis&amp;#039;&amp;#039;&amp;#039; in this folder and run this function specifying the path (short or full) to the folder where you have Libisis unpacked. (e.g. if your Libisis is in C:\ISIS\Libisis, navigate MATLAB to the folder C:\ISIS and run &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;C:\ISIS\Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Type &amp;#039;&amp;#039;&amp;#039;libisis_on&amp;#039;&amp;#039;&amp;#039; in MATLAB command prompt to access Libisis functions&lt;br /&gt;
This is actually all you need having an administrative rights to the system. install_isis creates an folder &amp;#039;&amp;#039;&amp;#039;ISIS&amp;#039;&amp;#039;&amp;#039; in the toolbox folder of the MATLAB root directory, places files necessary to initiate Libisis there and modifies MATLAB search path to look for files in this folder. If you use startup file, the script also adds the rows, described above and necessary to initiate Libisis during MATLAB startup. These rows are added to the end of your startup file.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You need manually modify you startup file if you used Libsisis before to remove references to previous Libisis installations and avoid multiple Libisis initialisations.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Download Stand Alone Homer ==&lt;br /&gt;
* If you do not have matlab it is possible to download an executable which will run the homer GUI standalone&lt;br /&gt;
* Homer software created by Dr. [[User:Dickon Champion|Dickon Champion]], standalone installation developed by [[User:Dean Whittaker|Dean Whittaker]]. MCRInstaller and Matlab (c) [http://www.matlab.com The MathWorks, Inc.] 1984-2010&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
!{{Headcellstyle}} | Linux&lt;br /&gt;
! {{Headcellstyle}} | MacOS&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.libisis.org/kits/homer_standalone.zip Stand Alone Homer] or [http://download.libisis.org/kits/homer_standalone_kit_win64.zip Stand Alone Homer for win64 (with proper MCR installer)]- the standalone homer zip file &lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller] - required for the first run of homer.&lt;br /&gt;
&lt;br /&gt;
| not available&lt;br /&gt;
| not available&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
you must [[Homer Gui setup|set up]] Homer properly in order for it to work. Run the MCRInstaller once on your computer, if updating your homer installation, it is not required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Install Stand Alone Homer===&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;First&amp;#039;&amp;#039;&amp;#039; time you download homer:&lt;br /&gt;
** Download the MCRInstaller file above&lt;br /&gt;
** Run the MCRInstaller.exe file and follow the on-screen instructions&lt;br /&gt;
* Download the homer zip file above&lt;br /&gt;
* Unzip to directory of your choice&lt;br /&gt;
* Run homer.exe to start homer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
* Administrative Rights for Installation.&lt;br /&gt;
&lt;br /&gt;
== Setup Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
Sometimes when we are treating large datasets, such as on MAPS, we cannot load all the data into the memory of the computer at once, we need to &amp;#039;chunk&amp;#039; the data into smaller pieces. We therefore need to set the default number of workspaces in each &amp;#039;chunk&amp;#039; to treat at any one time during the population of an [[IXTrunfile]] and the total amount of memory to allow the computer to use. &lt;br /&gt;
&lt;br /&gt;
If the memory required for the number of workspaces in each chunk is greater than that defined then the number of workspaces is reduced until it fits in the memory or a failure status is raised. These two values are defined in &amp;lt;tt&amp;gt;./matlab/homer/default_homer_nchunk.m&amp;lt;/tt&amp;gt; which needs to be edited to suit the memory needs of your computer. Tests have shown that LIBISIS will populate data fastest when it is chunked in groups of 100 workspaces, so this is the default value in the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function nchunk=default_homer_nchunk&lt;br /&gt;
% nchunk = default_homer_nchunk&lt;br /&gt;
% nchunk is a two membered array&lt;br /&gt;
% the first element is the default number of workspaces to be treated at &lt;br /&gt;
% one time, and the second element is the maximum amount of memory (in MB)&lt;br /&gt;
% that you want the computer to use&lt;br /&gt;
nchunk=int32([100,500]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3008</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3008"/>
		<updated>2011-09-19T11:05:44Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. [http://download.nexusformat.org/kits/ NeXus], [http://www.mathworks.co.uk/products/matlab/index.html Matlab] and [http://software.intel.com/en-us/articles/intel-compilers/ Intel Fortran] compiler are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3007</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3007"/>
		<updated>2011-09-19T11:03:40Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Jülich Centre for Neutron Science */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3006</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3006"/>
		<updated>2011-09-19T11:03:01Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Jülich Centre for Neutron Science */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j.reim_AT_fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3005</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3005"/>
		<updated>2011-09-19T11:01:46Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* University of Colorado Group */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan.parshall_AT_colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
   chown -R root matlabroot/*&lt;br /&gt;
   chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3004</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3004"/>
		<updated>2011-09-19T10:59:23Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3003</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3003"/>
		<updated>2011-09-19T10:58:34Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building binary part of libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3002</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3002"/>
		<updated>2011-09-19T10:58:06Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check &amp;#039;&amp;#039;~/Libisis/Libisis/DLL/_glnxa&amp;#039;&amp;#039; folder;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3001</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3001"/>
		<updated>2011-09-19T10:56:17Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;etc&amp;#039;&amp;#039; folder is not there, so we have to make it and place &amp;#039;&amp;#039;mwdebug.c&amp;#039;&amp;#039; there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check ~/Libisis/Libisis/DLL/_glnxa folder;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=3000</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=3000"/>
		<updated>2011-09-19T10:55:18Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; Verify if mwdebug.c file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; no etc folder are there, so we have to make it and place mwdebug.c there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check ~/Libisis/Libisis/DLL/_glnxa folder;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2999</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2999"/>
		<updated>2011-09-19T10:54:38Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
    $ locate libNeXus&lt;br /&gt;
    ...&lt;br /&gt;
   /usr/lib/libNeXus.so&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Check if ifort works form command line:&lt;br /&gt;
   $ifort --version&lt;br /&gt;
   ifort (IFORT) 11.1 20100414&lt;br /&gt;
   Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary to use it.&lt;br /&gt;
    $what matlab:&lt;br /&gt;
    /usr/local/bin/matlab&lt;br /&gt;
    $&lt;br /&gt;
    $ls -l /usr/local/bin&lt;br /&gt;
    ...&lt;br /&gt;
    lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; verify if mwdebug.c file is present:&lt;br /&gt;
   $&lt;br /&gt;
   $ls $MATLAB_ROOT/extern&lt;br /&gt;
   &amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; no etc folder are there, so we have to make it and place mwdebug.c there.&lt;br /&gt;
   $&lt;br /&gt;
   $sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
   $sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
   $svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
   $cd Libisis&lt;br /&gt;
   $ sh autogen.sh&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
   ...&lt;br /&gt;
   A Lot of messages, no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
   $make&lt;br /&gt;
   ...&lt;br /&gt;
   A lot of messages no errors&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
   $ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   ...&lt;br /&gt;
   -rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check ~/Libisis/Libisis/DLL/_glnxa folder;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
   $matlab&amp;amp;&lt;br /&gt;
&lt;br /&gt;
   in matlab:&lt;br /&gt;
   &amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
   &amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
   &amp;gt;&amp;gt; aa =&lt;br /&gt;
     $Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
Follow Windows Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2998</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2998"/>
		<updated>2011-09-19T10:50:12Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* University of Colorado Group */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ locate libNeXus&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
/usr/lib/libNeXus.so&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; If ifort works form command line:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ifort --version&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort (IFORT) 11.1 20100414&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary for it&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$what matlab:&lt;br /&gt;
&lt;br /&gt;
/usr/local/bin/matlab&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$ls -l /usr/local/bin&lt;br /&gt;
...&lt;br /&gt;
lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; verify if mwdebug.c file is present:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$ls $MATLAB_ROOT/extern&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; no etc folder are there, so we have to make it and place mwdebug.c there.&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
&lt;br /&gt;
$sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
&lt;br /&gt;
$svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
&lt;br /&gt;
$cd Libisis&lt;br /&gt;
&lt;br /&gt;
$ sh autogen.sh&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A lot of messages, no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
$./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A Lot of messages, no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
$make&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A lot of messages no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
&lt;br /&gt;
$ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
-rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check ~/Libisis/Libisis/DLL/_glnxa folder;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
&lt;br /&gt;
$matlab&amp;amp;&lt;br /&gt;
&lt;br /&gt;
in matlab:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
aa =&lt;br /&gt;
&lt;br /&gt;
$Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Follow Window Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the &amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  &lt;br /&gt;
&lt;br /&gt;
Because one can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2997</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2997"/>
		<updated>2011-09-19T10:48:18Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ locate libNeXus&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
/usr/lib/libNeXus.so&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; If ifort works form command line:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ifort --version&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort (IFORT) 11.1 20100414&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary for it&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$what matlab:&lt;br /&gt;
&lt;br /&gt;
/usr/local/bin/matlab&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$ls -l /usr/local/bin&lt;br /&gt;
...&lt;br /&gt;
lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; verify if mwdebug.c file is present:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$ls $MATLAB_ROOT/extern&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; no etc folder are there, so we have to make it and place mwdebug.c there.&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
&lt;br /&gt;
$sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
&lt;br /&gt;
$svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
&lt;br /&gt;
$cd Libisis&lt;br /&gt;
&lt;br /&gt;
$ sh autogen.sh&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A lot of messages, no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
$./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A Lot of messages, no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
$make&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A lot of messages no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
&lt;br /&gt;
$ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
-rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check ~/Libisis/Libisis/DLL/_glnxa folder;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
&lt;br /&gt;
$matlab&amp;amp;&lt;br /&gt;
&lt;br /&gt;
in matlab:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
aa =&lt;br /&gt;
&lt;br /&gt;
$Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Follow Window Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2996</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2996"/>
		<updated>2011-09-19T10:47:32Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ locate libNeXus&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
/usr/lib/libNeXus.so&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; If ifort works form command line:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ifort --version&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort (IFORT) 11.1 20100414&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary for it&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$what matlab:&lt;br /&gt;
&lt;br /&gt;
/usr/local/bin/matlab&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$ls -l /usr/local/bin&lt;br /&gt;
...&lt;br /&gt;
lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; verify if mwdebug.c file is present:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$ls $MATLAB_ROOT/extern&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; if no etc folder are there, make it and place  mwdebug.c there.&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
&lt;br /&gt;
$sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
&lt;br /&gt;
$svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
&lt;br /&gt;
$cd Libisis&lt;br /&gt;
&lt;br /&gt;
$ sh autogen.sh&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A lot of messages, no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
$./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A Lot of messages, no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
$make&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A lot of messages no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
&lt;br /&gt;
$ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
-rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check ~/Libisis/Libisis/DLL/_glnxa folder;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
&lt;br /&gt;
$matlab&amp;amp;&lt;br /&gt;
&lt;br /&gt;
in matlab:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
aa =&lt;br /&gt;
&lt;br /&gt;
$Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Follow Window Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2995</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2995"/>
		<updated>2011-09-19T10:46:49Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; Verify if nexus is installed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ locate libNeXus&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
/usr/lib/libNeXus.so&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; If ifort works form command line:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ifort --version&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort (IFORT) 11.1 20100414&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary for it&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$what matlab:&lt;br /&gt;
&lt;br /&gt;
/usr/local/bin/matlab&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$ls -l /usr/local/bin&lt;br /&gt;
...&lt;br /&gt;
lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
...&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; verify if mwdebug.c file is present:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$ls $MATLAB_ROOT/extern&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; if no etc folder are there, make it and place  mwdebug.c there.&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
&lt;br /&gt;
$sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;5)&amp;#039;&amp;#039;&amp;#039; Download libisis from the repository&lt;br /&gt;
&lt;br /&gt;
$svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Use autotools to build libisis:&lt;br /&gt;
&lt;br /&gt;
$cd Libisis&lt;br /&gt;
&lt;br /&gt;
$ sh autogen.sh&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A lot of messages, no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
$./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A Lot of messages, no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
$make&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
A lot of messages no errors&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;6)&amp;#039;&amp;#039;&amp;#039; Check if libisis has been build successfully. &lt;br /&gt;
&lt;br /&gt;
$ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
-rwxr-xr-x 1 User Group 36434653 2011-09-14 19:09 libisisexc.mexa64&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
I assume 64 bit linux here. If it is 32-bit linux, check ~/Libisis/Libisis/DLL/_glnxa folder;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;7)&amp;#039;&amp;#039;&amp;#039; Building libisis is now completed. Start Matlab and check if it was successful.&lt;br /&gt;
&lt;br /&gt;
$matlab&amp;amp;&lt;br /&gt;
&lt;br /&gt;
in matlab:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
aa =&lt;br /&gt;
&lt;br /&gt;
$Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Follow Window Maltab installation steps, described on [http://www.libisis.org/Download_and_setup_LIBISIS#Download_LIBISIS Libisis page].&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2994</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2994"/>
		<updated>2011-09-19T10:32:10Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; verify if nexus is installed&lt;br /&gt;
$ locate libNeXus&lt;br /&gt;
...&lt;br /&gt;
/usr/lib/libNeXus.so&lt;br /&gt;
...&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; ifort works form command line:&lt;br /&gt;
&lt;br /&gt;
$ifort --version&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort (IFORT) 11.1 20100414&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary for it&lt;br /&gt;
$what matlab:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;/usr/local/bin/matlab&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
$ls -l /usr/local/bin&lt;br /&gt;
...&lt;br /&gt;
lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
...&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; verify if mwdebug.c file is present:&lt;br /&gt;
$&lt;br /&gt;
$ls $MATLAB_ROOT/extern&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;examples  include  lib&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; if no etc folder are there, make it and place  mwdebug.c there.&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
&lt;br /&gt;
$sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
&lt;br /&gt;
$sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;cd Libisis&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; sh autogen.sh&lt;br /&gt;
&amp;gt;&amp;gt; ./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
&amp;gt;&amp;gt; make&lt;br /&gt;
&amp;gt;&amp;gt; ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
..&lt;br /&gt;
 2011-09-14 19:36 libisisexc.mexa64&lt;br /&gt;
..&lt;br /&gt;
&amp;gt;&amp;gt; matlab&amp;amp;&lt;br /&gt;
in matlab:&lt;br /&gt;
&amp;gt;&amp;gt; cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
&amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
aa =&lt;br /&gt;
&lt;br /&gt;
$Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2993</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2993"/>
		<updated>2011-09-19T10:30:45Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; verify if nexus is installed&lt;br /&gt;
$ locate libNeXus&lt;br /&gt;
...&lt;br /&gt;
/usr/lib/libNeXus.so&lt;br /&gt;
...&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; ifort works form command line:&lt;br /&gt;
&lt;br /&gt;
$ifort --version&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort (IFORT) 11.1 20100414&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;3)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary for it&lt;br /&gt;
$what matlab:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;/usr/local/bin/matlab&lt;br /&gt;
&lt;br /&gt;
$&lt;br /&gt;
$ls -l /usr/local/bin&lt;br /&gt;
...&lt;br /&gt;
lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
...&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/usr/local/MATLAB/Matlab2010bSP1 is in our case or $MATLAB_ROOT folder which we will use everywhere, referring to matlab&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4)&amp;#039;&amp;#039;&amp;#039; verify if mwdebug.c file is present:&lt;br /&gt;
$&lt;br /&gt;
$ls $MATLAB_ROOT/extern&lt;br /&gt;
examples  include  lib&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;4a)&amp;#039;&amp;#039;&amp;#039; if no etc folder are there, make it and place  mwdebug.c there.&lt;br /&gt;
$&lt;br /&gt;
$sudo mkdir $MATLAB_ROOT/extern/etc&lt;br /&gt;
$sudo mv ~/Downdloads/mwdebug.c  $MATLAB_ROOT/extern/etc/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;cd Libisis&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; sh autogen.sh&lt;br /&gt;
&amp;gt;&amp;gt; ./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
&amp;gt;&amp;gt; make&lt;br /&gt;
&amp;gt;&amp;gt; ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
..&lt;br /&gt;
 2011-09-14 19:36 libisisexc.mexa64&lt;br /&gt;
..&lt;br /&gt;
&amp;gt;&amp;gt; matlab&amp;amp;&lt;br /&gt;
in matlab:&lt;br /&gt;
&amp;gt;&amp;gt; cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
&amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
aa =&lt;br /&gt;
&lt;br /&gt;
$Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2992</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2992"/>
		<updated>2011-09-19T10:21:47Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* University of Colorado Group */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; ifort works form command line:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort --version&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort (IFORT) 11.1 20100414&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary for it&lt;br /&gt;
&amp;gt;&amp;gt;what matlab:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;/usr/local/bin/matlab&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt;ls -l /usr/local/bin&lt;br /&gt;
...&lt;br /&gt;
lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;cd Libisis&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; sh autogen.sh&lt;br /&gt;
&amp;gt;&amp;gt; ./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
&amp;gt;&amp;gt; make&lt;br /&gt;
&amp;gt;&amp;gt; ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
..&lt;br /&gt;
 2011-09-14 19:36 libisisexc.mexa64&lt;br /&gt;
..&lt;br /&gt;
&amp;gt;&amp;gt; matlab&amp;amp;&lt;br /&gt;
in matlab:&lt;br /&gt;
&amp;gt;&amp;gt; cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
&amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
aa =&lt;br /&gt;
&lt;br /&gt;
$Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked about a bit, and gfortran seems to also be functional, but as a rule it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2991</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2991"/>
		<updated>2011-09-19T10:12:44Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; ifort works form command line:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort --version&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort (IFORT) 11.1 20100414&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary for it&lt;br /&gt;
&amp;gt;&amp;gt;what matlab:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;/usr/local/bin/matlab&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt;ls -l /usr/local/bin&lt;br /&gt;
...&lt;br /&gt;
lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;cd Libisis&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; sh autogen.sh&lt;br /&gt;
&amp;gt;&amp;gt; ./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
&amp;gt;&amp;gt; make&lt;br /&gt;
&amp;gt;&amp;gt; ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
..&lt;br /&gt;
 2011-09-14 19:36 libisisexc.mexa64&lt;br /&gt;
..&lt;br /&gt;
&amp;gt;&amp;gt; matlab&amp;amp;&lt;br /&gt;
in matlab:&lt;br /&gt;
&amp;gt;&amp;gt; cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
&amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
aa =&lt;br /&gt;
&lt;br /&gt;
$Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked&lt;br /&gt;
about a bit, and gfortran seems to also be functional, but as a rule&lt;br /&gt;
it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2990</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2990"/>
		<updated>2011-09-19T10:12:08Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify the locations of all parts, necessary for instillation and  run the installation script resolving all dependencies. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1)&amp;#039;&amp;#039;&amp;#039; ifort works form command line:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort --version&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;ifort (IFORT) 11.1 20100414&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&amp;#039;&amp;#039;&amp;#039;2)&amp;#039;&amp;#039;&amp;#039; Identify where Matlab is really installed and if it has all files necessary for it&lt;br /&gt;
&amp;gt;&amp;gt;what matlab:&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;/usr/local/bin/matlab&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt;ls -l /usr/local/bin&lt;br /&gt;
...&lt;br /&gt;
lrwxrwxrwx 1 root   root        38 2011-03-18 11:48 matlab -&amp;gt; /usr/local/MATLAB/Matlab2010bSP1/bin/matlab&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;svn co https://svn.libisis.org/code/trunk Libisis&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;cd Libisis&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; sh autogen.sh&lt;br /&gt;
&amp;gt;&amp;gt; ./configure --with-matlabroot=/usr/local/MATLAB/Matlab2010bSP1&lt;br /&gt;
&amp;gt;&amp;gt; make&lt;br /&gt;
&amp;gt;&amp;gt; ls -l ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
..&lt;br /&gt;
 2011-09-14 19:36 libisisexc.mexa64&lt;br /&gt;
..&lt;br /&gt;
&amp;gt;&amp;gt; matlab&amp;amp;&lt;br /&gt;
in matlab:&lt;br /&gt;
&amp;gt;&amp;gt; cd ~/Libisis/Libisis/DLL/_glnxa64&lt;br /&gt;
&amp;gt;&amp;gt; aa=libisisexc();&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
aa =&lt;br /&gt;
&lt;br /&gt;
$Revision:: 1808 $ ($Date:: 2011-03-29 21:43:21 +0000 (Tue, 29 Mar 2011) $)&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked&lt;br /&gt;
about a bit, and gfortran seems to also be functional, but as a rule&lt;br /&gt;
it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=2989</id>
		<title>Download and setup LIBISIS</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=2989"/>
		<updated>2011-09-19T09:34:52Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Download LIBISIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By downloading any of the files below, you accept the terms of the Matlab MCR Library License included with the distribution. Read the COPYING.rtf file in the License folder for information about which components may or may not be changed or redistributed. &lt;br /&gt;
&lt;br /&gt;
If you have any problems, email the [http://lists.libisis.org/mailman/listinfo/libisis-users libisis-users] mailing list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* Matlab 2007a (or later) &lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
&lt;br /&gt;
== Download LIBISIS ==&lt;br /&gt;
* Download the latest libisis build for your version of Matlab&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
! {{Headcellstyle}} |  Linux&amp;amp;MacOS&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions):&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;this is what you probably need&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/libisis_distribution_kit.zip Matlab 2007a and higher]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Old (compatibility) distributives for older versions of Matlab (32bit) (&amp;#039;&amp;#039;use this only if your Matlab is really old or you used Libisis before and want to process your previous data with your old libisis&amp;#039;&amp;#039;):&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab Ver 7.1]&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab 2006a]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2006b]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007a] &lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007b] &lt;br /&gt;
 &lt;br /&gt;
|You need to install [http://download.nexusformat.org/kits/ NeXus] and build the code from source using GNU autotools, see [[SubversionServer]] for instructions &lt;br /&gt;
You should be well familiar with Unix installation process to do it smoothly. There is [[user experience]] page, which summarises the experience of some users who have already done this, installing Libisis for [http://horace.isis.rl.ac.uk/Main_Page Horace]. &lt;br /&gt;
You will probably need to place [http://download.libisis.org/kits/mwdebug.c This file] into your Matlab directory ($MatlabRoot/extern/src) as it is not shipped with recent versions of Matlab any more. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;All versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Unpack downloaded file into &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;C:\mprogs&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or a directory of your choice eg &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;X:\ISIS&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
*  Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)&lt;br /&gt;
* Add the following lines to the startup.m file &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;addpath(&amp;#039;c:\mprogs\Libisis&amp;#039;) % where c:\mprogs\Libisis is the folder you unzipped Libisis into&lt;br /&gt;
libisis_init&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;for the latest versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Instead of above, you can unpack downloaded file into a folder of your choice. (ISIS by default so &amp;#039;&amp;#039;&amp;#039;&amp;#039;C:\ISIS\&amp;#039;&amp;#039;&amp;#039;&amp;#039; and this folder have two sub-folders namely &amp;#039;&amp;#039;&amp;#039;Libisis&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;InstrumentFiles&amp;#039;&amp;#039;&amp;#039; in it) &lt;br /&gt;
* Start MATLAB and navigate it to the folder where the Libisis has been unpacked. (e.g. C:\ISIS)&lt;br /&gt;
* Find the MATLAB function &amp;#039;&amp;#039;&amp;#039;install_isis&amp;#039;&amp;#039;&amp;#039; in this folder and run this function specifying the path (short or full) to the folder where you have Libisis unpacked. (e.g. if your Libisis is in C:\ISIS\Libisis, navigate MATLAB to the folder C:\ISIS and run &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;C:\ISIS\Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Type &amp;#039;&amp;#039;&amp;#039;libisis_on&amp;#039;&amp;#039;&amp;#039; in MATLAB command prompt to access Libisis functions&lt;br /&gt;
This is actually all you need having an administrative rights to the system. install_isis creates an folder &amp;#039;&amp;#039;&amp;#039;ISIS&amp;#039;&amp;#039;&amp;#039; in the toolbox folder of the MATLAB root directory, places files necessary to initiate Libisis there and modifies MATLAB search path to look for files in this folder. If you use startup file, the script also adds the rows, described above and necessary to initiate Libisis during MATLAB startup. These rows are added to the end of your startup file.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You need manually modify you startup file if you used Libsisis before to remove references to previous Libisis installations and avoid multiple Libisis initialisations.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Download Stand Alone Homer ==&lt;br /&gt;
* If you do not have matlab it is possible to download an executable which will run the homer GUI standalone&lt;br /&gt;
* Homer software created by Dr. [[User:Dickon Champion|Dickon Champion]], standalone installation developed by [[User:Dean Whittaker|Dean Whittaker]]. MCRInstaller and Matlab (c) [http://www.matlab.com The MathWorks, Inc.] 1984-2010&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
!{{Headcellstyle}} | Linux&lt;br /&gt;
! {{Headcellstyle}} | MacOS&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.libisis.org/kits/homer_standalone.zip Stand Alone Homer] or [http://download.libisis.org/kits/homer_standalone_kit_win64.zip Stand Alone Homer for win64 (with proper MCR installer)]- the standalone homer zip file &lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller] - required for the first run of homer.&lt;br /&gt;
&lt;br /&gt;
| not available&lt;br /&gt;
| not available&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
you must [[Homer Gui setup|set up]] Homer properly in order for it to work. Run the MCRInstaller once on your computer, if updating your homer installation, it is not required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Install Stand Alone Homer===&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;First&amp;#039;&amp;#039;&amp;#039; time you download homer:&lt;br /&gt;
** Download the MCRInstaller file above&lt;br /&gt;
** Run the MCRInstaller.exe file and follow the on-screen instructions&lt;br /&gt;
* Download the homer zip file above&lt;br /&gt;
* Unzip to directory of your choice&lt;br /&gt;
* Run homer.exe to start homer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
* Administrative Rights for Installation.&lt;br /&gt;
&lt;br /&gt;
== Setup Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
Sometimes when we are treating large datasets, such as on MAPS, we cannot load all the data into the memory of the computer at once, we need to &amp;#039;chunk&amp;#039; the data into smaller pieces. We therefore need to set the default number of workspaces in each &amp;#039;chunk&amp;#039; to treat at any one time during the population of an [[IXTrunfile]] and the total amount of memory to allow the computer to use. &lt;br /&gt;
&lt;br /&gt;
If the memory required for the number of workspaces in each chunk is greater than that defined then the number of workspaces is reduced until it fits in the memory or a failure status is raised. These two values are defined in &amp;lt;tt&amp;gt;./matlab/homer/default_homer_nchunk.m&amp;lt;/tt&amp;gt; which needs to be edited to suit the memory needs of your computer. Tests have shown that LIBISIS will populate data fastest when it is chunked in groups of 100 workspaces, so this is the default value in the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function nchunk=default_homer_nchunk&lt;br /&gt;
% nchunk = default_homer_nchunk&lt;br /&gt;
% nchunk is a two membered array&lt;br /&gt;
% the first element is the default number of workspaces to be treated at &lt;br /&gt;
% one time, and the second element is the maximum amount of memory (in MB)&lt;br /&gt;
% that you want the computer to use&lt;br /&gt;
nchunk=int32([100,500]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2988</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2988"/>
		<updated>2011-09-19T09:31:26Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* ISIS LET control machine */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed. The task is to identify&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked&lt;br /&gt;
about a bit, and gfortran seems to also be functional, but as a rule&lt;br /&gt;
it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=2987</id>
		<title>Download and setup LIBISIS</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=2987"/>
		<updated>2011-09-19T09:29:30Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Download LIBISIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By downloading any of the files below, you accept the terms of the Matlab MCR Library License included with the distribution. Read the COPYING.rtf file in the License folder for information about which components may or may not be changed or redistributed. &lt;br /&gt;
&lt;br /&gt;
If you have any problems, email the [http://lists.libisis.org/mailman/listinfo/libisis-users libisis-users] mailing list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* Matlab 2007a (or later) &lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
&lt;br /&gt;
== Download LIBISIS ==&lt;br /&gt;
* Download the latest libisis build for your version of Matlab&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
! {{Headcellstyle}} |  Linux&amp;amp;MacOS&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions):&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;this is what you probably need&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/libisis_distribution_kit.zip Matlab 2007a and higher]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Old (compatibility) distributives for older versions of Matlab (32bit) (&amp;#039;&amp;#039;use this only if your Matlab is really old or you used Libisis before and want to process your previous data with your old libisis&amp;#039;&amp;#039;):&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab Ver 7.1]&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab 2006a]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2006b]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007a] &lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007b] &lt;br /&gt;
 &lt;br /&gt;
|You need to install [http://download.nexusformat.org/kits/ NeXus] and build the code from source using GNU autotools, see [[SubversionServer]] for instructions &lt;br /&gt;
You should be well familiar with Unix installation process to do it smoothly. There is [[user experience]] page, which summarises the experience of some users who have already done this, installing Libisis for [http://horace.isis.rl.ac.uk/Main_Page Horace]. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;All versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Unpack downloaded file into &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;C:\mprogs&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or a directory of your choice eg &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;X:\ISIS&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
*  Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)&lt;br /&gt;
* Add the following lines to the startup.m file &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;addpath(&amp;#039;c:\mprogs\Libisis&amp;#039;) % where c:\mprogs\Libisis is the folder you unzipped Libisis into&lt;br /&gt;
libisis_init&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;for the latest versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Instead of above, you can unpack downloaded file into a folder of your choice. (ISIS by default so &amp;#039;&amp;#039;&amp;#039;&amp;#039;C:\ISIS\&amp;#039;&amp;#039;&amp;#039;&amp;#039; and this folder have two sub-folders namely &amp;#039;&amp;#039;&amp;#039;Libisis&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;InstrumentFiles&amp;#039;&amp;#039;&amp;#039; in it) &lt;br /&gt;
* Start MATLAB and navigate it to the folder where the Libisis has been unpacked. (e.g. C:\ISIS)&lt;br /&gt;
* Find the MATLAB function &amp;#039;&amp;#039;&amp;#039;install_isis&amp;#039;&amp;#039;&amp;#039; in this folder and run this function specifying the path (short or full) to the folder where you have Libisis unpacked. (e.g. if your Libisis is in C:\ISIS\Libisis, navigate MATLAB to the folder C:\ISIS and run &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;C:\ISIS\Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Type &amp;#039;&amp;#039;&amp;#039;libisis_on&amp;#039;&amp;#039;&amp;#039; in MATLAB command prompt to access Libisis functions&lt;br /&gt;
This is actually all you need having an administrative rights to the system. install_isis creates an folder &amp;#039;&amp;#039;&amp;#039;ISIS&amp;#039;&amp;#039;&amp;#039; in the toolbox folder of the MATLAB root directory, places files necessary to initiate Libisis there and modifies MATLAB search path to look for files in this folder. If you use startup file, the script also adds the rows, described above and necessary to initiate Libisis during MATLAB startup. These rows are added to the end of your startup file.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You need manually modify you startup file if you used Libsisis before to remove references to previous Libisis installations and avoid multiple Libisis initialisations.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Download Stand Alone Homer ==&lt;br /&gt;
* If you do not have matlab it is possible to download an executable which will run the homer GUI standalone&lt;br /&gt;
* Homer software created by Dr. [[User:Dickon Champion|Dickon Champion]], standalone installation developed by [[User:Dean Whittaker|Dean Whittaker]]. MCRInstaller and Matlab (c) [http://www.matlab.com The MathWorks, Inc.] 1984-2010&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
!{{Headcellstyle}} | Linux&lt;br /&gt;
! {{Headcellstyle}} | MacOS&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.libisis.org/kits/homer_standalone.zip Stand Alone Homer] or [http://download.libisis.org/kits/homer_standalone_kit_win64.zip Stand Alone Homer for win64 (with proper MCR installer)]- the standalone homer zip file &lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller] - required for the first run of homer.&lt;br /&gt;
&lt;br /&gt;
| not available&lt;br /&gt;
| not available&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
you must [[Homer Gui setup|set up]] Homer properly in order for it to work. Run the MCRInstaller once on your computer, if updating your homer installation, it is not required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Install Stand Alone Homer===&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;First&amp;#039;&amp;#039;&amp;#039; time you download homer:&lt;br /&gt;
** Download the MCRInstaller file above&lt;br /&gt;
** Run the MCRInstaller.exe file and follow the on-screen instructions&lt;br /&gt;
* Download the homer zip file above&lt;br /&gt;
* Unzip to directory of your choice&lt;br /&gt;
* Run homer.exe to start homer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
* Administrative Rights for Installation.&lt;br /&gt;
&lt;br /&gt;
== Setup Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
Sometimes when we are treating large datasets, such as on MAPS, we cannot load all the data into the memory of the computer at once, we need to &amp;#039;chunk&amp;#039; the data into smaller pieces. We therefore need to set the default number of workspaces in each &amp;#039;chunk&amp;#039; to treat at any one time during the population of an [[IXTrunfile]] and the total amount of memory to allow the computer to use. &lt;br /&gt;
&lt;br /&gt;
If the memory required for the number of workspaces in each chunk is greater than that defined then the number of workspaces is reduced until it fits in the memory or a failure status is raised. These two values are defined in &amp;lt;tt&amp;gt;./matlab/homer/default_homer_nchunk.m&amp;lt;/tt&amp;gt; which needs to be edited to suit the memory needs of your computer. Tests have shown that LIBISIS will populate data fastest when it is chunked in groups of 100 workspaces, so this is the default value in the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function nchunk=default_homer_nchunk&lt;br /&gt;
% nchunk = default_homer_nchunk&lt;br /&gt;
% nchunk is a two membered array&lt;br /&gt;
% the first element is the default number of workspaces to be treated at &lt;br /&gt;
% one time, and the second element is the maximum amount of memory (in MB)&lt;br /&gt;
% that you want the computer to use&lt;br /&gt;
nchunk=int32([100,500]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2986</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2986"/>
		<updated>2011-09-19T09:28:17Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* University of Colorado Group */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
&lt;br /&gt;
Spacial thanks to &amp;#039;&amp;#039;&amp;#039;Dan Parshall&amp;#039;&amp;#039;&amp;#039;; dan_DOT_parshall_AT_colorado_DOT_edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked&lt;br /&gt;
about a bit, and gfortran seems to also be functional, but as a rule&lt;br /&gt;
it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2985</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2985"/>
		<updated>2011-09-19T09:27:35Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Jülich Centre for Neutron Science */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
Spacial thanks to Dan Parshall; dan.parshall@colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked&lt;br /&gt;
about a bit, and gfortran seems to also be functional, but as a rule&lt;br /&gt;
it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2984</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2984"/>
		<updated>2011-09-19T09:27:18Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Jülich Centre for Neutron Science */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
Spacial thanks to Dan Parshall; dan.parshall@colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked&lt;br /&gt;
about a bit, and gfortran seems to also be functional, but as a rule&lt;br /&gt;
it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
Special thanks to &amp;#039;&amp;#039;&amp;#039;Johannes Reim&amp;#039;&amp;#039;&amp;#039;, j_DOT_reim_AT_fz-juelich_DOT_de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2983</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2983"/>
		<updated>2011-09-19T09:25:45Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Jülich Centre for Neutron Science */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
Spacial thanks to Dan Parshall; dan.parshall@colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked&lt;br /&gt;
about a bit, and gfortran seems to also be functional, but as a rule&lt;br /&gt;
it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
Special thanks to Johannes Reim, j.reim@fz-juelich.de; who shared his experience with us;&lt;br /&gt;
&lt;br /&gt;
And afterwards I have to say, actually it is not that complex, if you&lt;br /&gt;
know a bit about matlab, linux and how horace and libisis works but&lt;br /&gt;
well, neither of that applied to me *g*.&lt;br /&gt;
&lt;br /&gt;
Okay what did I do for the installation:&lt;br /&gt;
&lt;br /&gt;
1. Installation of libisis, I actually did not do that myself, but the&lt;br /&gt;
IT did it, because it should be installed for all users within our&lt;br /&gt;
institute, but I sent them the instructions found on the subversion&lt;br /&gt;
server of Libisis:&lt;br /&gt;
http://svn.libisis.org/viewvc/LIBISISCode/trunk/Linux/README.linux?revision=1577&lt;br /&gt;
&lt;br /&gt;
I will call the libisis directory $1 (think of $1as the variable for the&lt;br /&gt;
full path to the directory)&lt;br /&gt;
&lt;br /&gt;
2. check if there is a matlab folder within the libisis folder (we will&lt;br /&gt;
need that later on)&lt;br /&gt;
&lt;br /&gt;
3. download the up-to-date version of horace (not the one which is&lt;br /&gt;
specified for linux)&lt;br /&gt;
&lt;br /&gt;
4. Just extract it to your directory of choice, I will call the&lt;br /&gt;
directory $2 (like $1)&lt;br /&gt;
&lt;br /&gt;
5. download the homer-standalone from:&lt;br /&gt;
http://download.libisis.org/kits/homer_standalone.zip&lt;br /&gt;
&lt;br /&gt;
6. create a folder called InstrumentFiles, my suggestion would be&lt;br /&gt;
creating it next to the Horace directory.&lt;br /&gt;
&lt;br /&gt;
7. extract the content of the instrument_setup folder within into the&lt;br /&gt;
created directory, I will call the directory $3 (like $1)&lt;br /&gt;
&lt;br /&gt;
8. if not existing, create a lib directory within your home directory,&lt;br /&gt;
and into that a matlab directory, access the matlab directory&lt;br /&gt;
&lt;br /&gt;
9. link the Horace installation to the current directory: &amp;quot;ln -s $2 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. go to the parent folder (should be &amp;quot;lib&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
11. link the InstrumentFiles folder to this directory: &amp;quot;ln -s $3 .&amp;quot;&lt;br /&gt;
&lt;br /&gt;
12. create a file called startup.m within this directory&lt;br /&gt;
&lt;br /&gt;
13. edit it and insert the following:&lt;br /&gt;
try&lt;br /&gt;
    libisis_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$1/matlab&amp;#039;) %if there is a matlabfolder within the libsis&lt;br /&gt;
directory use that, if all the matlab routines are directly within the&lt;br /&gt;
libisis folder, then omit the &amp;quot;/matlab&amp;quot;&lt;br /&gt;
libisis_init&lt;br /&gt;
try&lt;br /&gt;
    horace_off&lt;br /&gt;
catch&lt;br /&gt;
end&lt;br /&gt;
addpath(&amp;#039;$2&amp;#039;)&lt;br /&gt;
horace_init&lt;br /&gt;
&lt;br /&gt;
14. Now you can start matlab, go to the lib folder and run the startup&lt;br /&gt;
routine -&amp;gt; Libisis and Horace should be initialised.&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User_experience&amp;diff=2982</id>
		<title>User experience</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User_experience&amp;diff=2982"/>
		<updated>2011-09-19T09:22:36Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: Created page with &amp;quot;== 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...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ISIS LET control machine ==&lt;br /&gt;
The PC came prepared for Libisis and Horace. NeXus, Matlab and Intel Fortran compilers are installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== University of Colorado Group ==&lt;br /&gt;
Spacial thanks to Dan Parshall; dan.parshall@colorado.edu, who shared his experience with us. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This took a while to get back to, but eventually we got this sorted out.&lt;br /&gt;
It was a combination of legacy files, compilers, permissions issues, and&lt;br /&gt;
typos.  I&amp;#039;m posting the solution here in order to help future Ubuntu&lt;br /&gt;
users.&lt;br /&gt;
&lt;br /&gt;
1) &amp;gt;&amp;gt;&amp;gt; get legacy file mwdebug.c in place &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     The file mwdebug.c (which one can get from Alex or Freddie) must be&lt;br /&gt;
placed into matlabroot/extern/src/ (one needs to make the src&lt;br /&gt;
directory).  Do the standard:&lt;br /&gt;
chown -R root matlabroot/*&lt;br /&gt;
chmod -R 755 matlabroot/*&lt;br /&gt;
&lt;br /&gt;
2) &amp;gt;&amp;gt;&amp;gt; set up IFORT &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
     A 30-day trial is free, academic licenses fairly cheap (I&amp;#039;ve mucked&lt;br /&gt;
about a bit, and gfortran seems to also be functional, but as a rule&lt;br /&gt;
it&amp;#039;s 20% slower).  &lt;br /&gt;
     In order to invoke IFORT on the command line, one has to use the&lt;br /&gt;
&amp;quot;source&amp;quot; command and link to the &amp;quot;compilervars.sh&amp;quot; script.  Because one&lt;br /&gt;
can&amp;#039;t use &amp;quot;source&amp;quot; in combination with &amp;quot;sudo&amp;quot;, one must change to the&lt;br /&gt;
root account, then complete the remaining steps:&lt;br /&gt;
     cd /path/to/libisis&lt;br /&gt;
     sudo su&lt;br /&gt;
     source /path/to/ifort/compilervars.sh intel64&lt;br /&gt;
&lt;br /&gt;
3) &amp;gt;&amp;gt;&amp;gt; run autogen.sh / configure / make (as root) &amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
One must set matlabroot directly- simlinks aren&amp;#039;t followed properly&lt;br /&gt;
   bash autogen.sh&lt;br /&gt;
   ./configure --with-f77=ifort --with-f90=ifort --with-matlabroot=/path&lt;br /&gt;
   make&lt;br /&gt;
&lt;br /&gt;
4) &amp;gt;&amp;gt;&amp;gt; set ownership and permissions of files made during compilation &amp;lt;&amp;lt;&lt;br /&gt;
   chown -R &amp;lt;username&amp;gt; *&lt;br /&gt;
   chmod -R 777 *&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Jülich Centre for Neutron Science ==&lt;br /&gt;
Special thanks to Johannes Reim, j.reim@fz-juelich.de; who shared his experience with us;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=2981</id>
		<title>Download and setup LIBISIS</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=2981"/>
		<updated>2011-09-19T08:36:48Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Download LIBISIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By downloading any of the files below, you accept the terms of the Matlab MCR Library License included with the distribution. Read the COPYING.rtf file in the License folder for information about which components may or may not be changed or redistributed. &lt;br /&gt;
&lt;br /&gt;
If you have any problems, email the [http://lists.libisis.org/mailman/listinfo/libisis-users libisis-users] mailing list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* Matlab 2007a (or later) &lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
&lt;br /&gt;
== Download LIBISIS ==&lt;br /&gt;
* Download the latest libisis build for your version of Matlab&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
! {{Headcellstyle}} |  Linux&amp;amp;MacOS&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions):&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;this is what you probably need&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/libisis_distribution_kit.zip Matlab 2007a and higher]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Old (compatibility) distributives for older versions of Matlab (32bit) (&amp;#039;&amp;#039;use this only if your Matlab is really old or you used Libisis before and want to process your previous data with your old libisis&amp;#039;&amp;#039;):&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab Ver 7.1]&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab 2006a]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2006b]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007a] &lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007b] &lt;br /&gt;
 &lt;br /&gt;
|You need to install [http://download.nexusformat.org/kits/ NeXus] and build the code from source using GNU autotools, see [[SubversionServer]] for instructions &lt;br /&gt;
You should be well familiar with Unix installation process to do it smoothly. There is [[user experience]] page, which summarises the experience of some users who have already done this. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;All versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Unpack downloaded file into &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;C:\mprogs&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or a directory of your choice eg &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;X:\ISIS&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
*  Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)&lt;br /&gt;
* Add the following lines to the startup.m file &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;addpath(&amp;#039;c:\mprogs\Libisis&amp;#039;) % where c:\mprogs\Libisis is the folder you unzipped Libisis into&lt;br /&gt;
libisis_init&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;for the latest versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Instead of above, you can unpack downloaded file into a folder of your choice. (ISIS by default so &amp;#039;&amp;#039;&amp;#039;&amp;#039;C:\ISIS\&amp;#039;&amp;#039;&amp;#039;&amp;#039; and this folder have two sub-folders namely &amp;#039;&amp;#039;&amp;#039;Libisis&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;InstrumentFiles&amp;#039;&amp;#039;&amp;#039; in it) &lt;br /&gt;
* Start MATLAB and navigate it to the folder where the Libisis has been unpacked. (e.g. C:\ISIS)&lt;br /&gt;
* Find the MATLAB function &amp;#039;&amp;#039;&amp;#039;install_isis&amp;#039;&amp;#039;&amp;#039; in this folder and run this function specifying the path (short or full) to the folder where you have Libisis unpacked. (e.g. if your Libisis is in C:\ISIS\Libisis, navigate MATLAB to the folder C:\ISIS and run &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;C:\ISIS\Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Type &amp;#039;&amp;#039;&amp;#039;libisis_on&amp;#039;&amp;#039;&amp;#039; in MATLAB command prompt to access Libisis functions&lt;br /&gt;
This is actually all you need having an administrative rights to the system. install_isis creates an folder &amp;#039;&amp;#039;&amp;#039;ISIS&amp;#039;&amp;#039;&amp;#039; in the toolbox folder of the MATLAB root directory, places files necessary to initiate Libisis there and modifies MATLAB search path to look for files in this folder. If you use startup file, the script also adds the rows, described above and necessary to initiate Libisis during MATLAB startup. These rows are added to the end of your startup file.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You need manually modify you startup file if you used Libsisis before to remove references to previous Libisis installations and avoid multiple Libisis initialisations.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Download Stand Alone Homer ==&lt;br /&gt;
* If you do not have matlab it is possible to download an executable which will run the homer GUI standalone&lt;br /&gt;
* Homer software created by Dr. [[User:Dickon Champion|Dickon Champion]], standalone installation developed by [[User:Dean Whittaker|Dean Whittaker]]. MCRInstaller and Matlab (c) [http://www.matlab.com The MathWorks, Inc.] 1984-2010&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
!{{Headcellstyle}} | Linux&lt;br /&gt;
! {{Headcellstyle}} | MacOS&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.libisis.org/kits/homer_standalone.zip Stand Alone Homer] or [http://download.libisis.org/kits/homer_standalone_kit_win64.zip Stand Alone Homer for win64 (with proper MCR installer)]- the standalone homer zip file &lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller] - required for the first run of homer.&lt;br /&gt;
&lt;br /&gt;
| not available&lt;br /&gt;
| not available&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
you must [[Homer Gui setup|set up]] Homer properly in order for it to work. Run the MCRInstaller once on your computer, if updating your homer installation, it is not required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Install Stand Alone Homer===&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;First&amp;#039;&amp;#039;&amp;#039; time you download homer:&lt;br /&gt;
** Download the MCRInstaller file above&lt;br /&gt;
** Run the MCRInstaller.exe file and follow the on-screen instructions&lt;br /&gt;
* Download the homer zip file above&lt;br /&gt;
* Unzip to directory of your choice&lt;br /&gt;
* Run homer.exe to start homer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
* Administrative Rights for Installation.&lt;br /&gt;
&lt;br /&gt;
== Setup Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
Sometimes when we are treating large datasets, such as on MAPS, we cannot load all the data into the memory of the computer at once, we need to &amp;#039;chunk&amp;#039; the data into smaller pieces. We therefore need to set the default number of workspaces in each &amp;#039;chunk&amp;#039; to treat at any one time during the population of an [[IXTrunfile]] and the total amount of memory to allow the computer to use. &lt;br /&gt;
&lt;br /&gt;
If the memory required for the number of workspaces in each chunk is greater than that defined then the number of workspaces is reduced until it fits in the memory or a failure status is raised. These two values are defined in &amp;lt;tt&amp;gt;./matlab/homer/default_homer_nchunk.m&amp;lt;/tt&amp;gt; which needs to be edited to suit the memory needs of your computer. Tests have shown that LIBISIS will populate data fastest when it is chunked in groups of 100 workspaces, so this is the default value in the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function nchunk=default_homer_nchunk&lt;br /&gt;
% nchunk = default_homer_nchunk&lt;br /&gt;
% nchunk is a two membered array&lt;br /&gt;
% the first element is the default number of workspaces to be treated at &lt;br /&gt;
% one time, and the second element is the maximum amount of memory (in MB)&lt;br /&gt;
% that you want the computer to use&lt;br /&gt;
nchunk=int32([100,500]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=2980</id>
		<title>Download and setup LIBISIS</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Download_and_setup_LIBISIS&amp;diff=2980"/>
		<updated>2011-03-31T11:07:34Z</updated>

		<summary type="html">&lt;p&gt;Alex Buts: /* Download LIBISIS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By downloading any of the files below, you accept the terms of the Matlab MCR Library License included with the distribution. Read the COPYING.rtf file in the License folder for information about which components may or may not be changed or redistributed. &lt;br /&gt;
&lt;br /&gt;
If you have any problems, email the [http://lists.libisis.org/mailman/listinfo/libisis-users libisis-users] mailing list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* Matlab 2007a (or later) &lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
&lt;br /&gt;
== Download LIBISIS ==&lt;br /&gt;
* Download the latest libisis build for your version of Matlab&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
! {{Headcellstyle}} |  Linux&amp;amp;MacOS&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions):&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;this is what you probably need&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/libisis_distribution_kit.zip Matlab 2007a and higher]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Old (compatibility) distributives for older versions of Matlab (32bit) (&amp;#039;&amp;#039;use this only if your Matlab is really old or you used Libisis before and want to process your previous data with your old libisis&amp;#039;&amp;#039;):&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab Ver 7.1]&lt;br /&gt;
[http://download.libisis.org/kits/libisis1.zip Matlab 2006a]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2006b]&lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007a] &lt;br /&gt;
[http://download.libisis.org/kits/libisis2.zip Matlab 2007b] &lt;br /&gt;
 &lt;br /&gt;
|You need to build the code from source using GNU autotools; see [[SubversionServer]] for instructions &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;All versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Unpack downloaded file into &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;C:\mprogs&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; or a directory of your choice eg &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;X:\ISIS&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
*  Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)&lt;br /&gt;
* Add the following lines to the startup.m file &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;addpath(&amp;#039;c:\mprogs\Libisis&amp;#039;) % where c:\mprogs\Libisis is the folder you unzipped Libisis into&lt;br /&gt;
libisis_init&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;for the latest versions : &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Instead of above, you can unpack downloaded file into a folder of your choice. (ISIS by default so &amp;#039;&amp;#039;&amp;#039;&amp;#039;C:\ISIS\&amp;#039;&amp;#039;&amp;#039;&amp;#039; and this folder have two sub-folders namely &amp;#039;&amp;#039;&amp;#039;Libisis&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;InstrumentFiles&amp;#039;&amp;#039;&amp;#039; in it) &lt;br /&gt;
* Start MATLAB and navigate it to the folder where the Libisis has been unpacked. (e.g. C:\ISIS)&lt;br /&gt;
* Find the MATLAB function &amp;#039;&amp;#039;&amp;#039;install_isis&amp;#039;&amp;#039;&amp;#039; in this folder and run this function specifying the path (short or full) to the folder where you have Libisis unpacked. (e.g. if your Libisis is in C:\ISIS\Libisis, navigate MATLAB to the folder C:\ISIS and run &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;install_isis(&amp;#039;C:\ISIS\Libisis&amp;#039;)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Type &amp;#039;&amp;#039;&amp;#039;libisis_on&amp;#039;&amp;#039;&amp;#039; in MATLAB command prompt to access Libisis functions&lt;br /&gt;
This is actually all you need having an administrative rights to the system. install_isis creates an folder &amp;#039;&amp;#039;&amp;#039;ISIS&amp;#039;&amp;#039;&amp;#039; in the toolbox folder of the MATLAB root directory, places files necessary to initiate Libisis there and modifies MATLAB search path to look for files in this folder. If you use startup file, the script also adds the rows, described above and necessary to initiate Libisis during MATLAB startup. These rows are added to the end of your startup file.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;You need manually modify you startup file if you used Libsisis before to remove references to previous Libisis installations and avoid multiple Libisis initialisations.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Download Stand Alone Homer ==&lt;br /&gt;
* If you do not have matlab it is possible to download an executable which will run the homer GUI standalone&lt;br /&gt;
* Homer software created by Dr. [[User:Dickon Champion|Dickon Champion]], standalone installation developed by [[User:Dean Whittaker|Dean Whittaker]]. MCRInstaller and Matlab (c) [http://www.matlab.com The MathWorks, Inc.] 1984-2010&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Windows&lt;br /&gt;
!{{Headcellstyle}} | Linux&lt;br /&gt;
! {{Headcellstyle}} | MacOS&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.libisis.org/kits/homer_standalone.zip Stand Alone Homer] or [http://download.libisis.org/kits/homer_standalone_kit_win64.zip Stand Alone Homer for win64 (with proper MCR installer)]- the standalone homer zip file &lt;br /&gt;
&lt;br /&gt;
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller] - required for the first run of homer.&lt;br /&gt;
&lt;br /&gt;
| not available&lt;br /&gt;
| not available&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
you must [[Homer Gui setup|set up]] Homer properly in order for it to work. Run the MCRInstaller once on your computer, if updating your homer installation, it is not required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Install Stand Alone Homer===&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;First&amp;#039;&amp;#039;&amp;#039; time you download homer:&lt;br /&gt;
** Download the MCRInstaller file above&lt;br /&gt;
** Run the MCRInstaller.exe file and follow the on-screen instructions&lt;br /&gt;
* Download the homer zip file above&lt;br /&gt;
* Unzip to directory of your choice&lt;br /&gt;
* Run homer.exe to start homer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Requirements===&lt;br /&gt;
&lt;br /&gt;
* 1GB RAM memory &lt;br /&gt;
* 40MB free hard drive space&lt;br /&gt;
* Administrative Rights for Installation.&lt;br /&gt;
&lt;br /&gt;
== Setup Memory Usage ==&lt;br /&gt;
&lt;br /&gt;
Sometimes when we are treating large datasets, such as on MAPS, we cannot load all the data into the memory of the computer at once, we need to &amp;#039;chunk&amp;#039; the data into smaller pieces. We therefore need to set the default number of workspaces in each &amp;#039;chunk&amp;#039; to treat at any one time during the population of an [[IXTrunfile]] and the total amount of memory to allow the computer to use. &lt;br /&gt;
&lt;br /&gt;
If the memory required for the number of workspaces in each chunk is greater than that defined then the number of workspaces is reduced until it fits in the memory or a failure status is raised. These two values are defined in &amp;lt;tt&amp;gt;./matlab/homer/default_homer_nchunk.m&amp;lt;/tt&amp;gt; which needs to be edited to suit the memory needs of your computer. Tests have shown that LIBISIS will populate data fastest when it is chunked in groups of 100 workspaces, so this is the default value in the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function nchunk=default_homer_nchunk&lt;br /&gt;
% nchunk = default_homer_nchunk&lt;br /&gt;
% nchunk is a two membered array&lt;br /&gt;
% the first element is the default number of workspaces to be treated at &lt;br /&gt;
% one time, and the second element is the maximum amount of memory (in MB)&lt;br /&gt;
% that you want the computer to use&lt;br /&gt;
nchunk=int32([100,500]);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex Buts</name></author>
	</entry>
</feed>