Difference between revisions of "Download and setup LIBISIS"

From LIBISIS
Jump to navigation Jump to search
Line 28: Line 28:
  
 
   
 
   
|You have to build your code from source using auto-tools; You need to be registered user to download the code from the repository at [https://svn.libisis.org/code/trunk Libisis Home]
+
|You need to build the code from source using GNU autotools; see [[SubversionServer]] for instructions
 
|}
 
|}
  

Revision as of 18:39, 9 March 2010

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.

If you have any problems, email the libisis-users mailing list.


Download LIBISIS

  • Download the latest libisis build for your version of Matlab
Windows Linux&MacOS
  • Old (compatibility) distributives for older versions of Matlab (32bit):

Matlab Ver 7.1 Matlab 2006a Matlab 2006b Matlab 2007a Matlab 2007b


  • Latest distributive for Matlab version 7.4(2007a) and higher (32 and 64 bit Matlab versions):

Matlab 2007a and higher


You need to build the code from source using GNU autotools; see SubversionServer for instructions

Windows

  • Older versions :
  • Unpack downloaded file into C:\mprogs or a directory of your choice eg X:\analysis
  • Latest versions :
  • Unpack the contents of the folder ISIS in the downloaded file into a folder of your choice. (ISIS by default e.g. 'C:\ISIS\' so that this folder would have two sub-folders namely Libisis and InstrumentFiles in it).

Requirements

  • Matlab 2007a (or later)
  • 1GB RAM memory
  • 40MB free hard drive space

Setup Paths

  • Edit the file libisis_on.mt and replace the variable $libisis_path$ by the real path where you placed libisis (e.g. by string 'c:\ISIS\Libisis' if you use the default Libisis location)
  • Rename the file libisis_on.mt to libisis_on.m and copy the files libisis_on.m and start_app.m into the directory where your Matlab starts.
  • Alternatively, add the directory where the files libisis_on.m and start_app.m are located to your Matlab search path (e.g. type addpath('c:\ISIS\Libisis') and savepath from Matlab command prompt or use Matlab GUI in File->Set Path to point to the place where these files are located)
  • Type libisis_on in Matlab command prompt to access libisis functions

Download Stand Alone Homer

  • If you do not have matlab it is possible to download an executable which will run the homer GUI standalone
  • Homer software created by Dr. Dickon Champion, standalone installation developed by Dean Whittaker. MCRInstaller and Matlab (c) The MathWorks, Inc. 1984-2008
Windows Linux MacOS
Stand Alone Homer - the standalone homer zip file

MCRInstaller - required for the first run of homer.

not available not available

you must 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.


Install Stand Alone Homer

  • The First time you download homer:
    • Download the MCRInstaller file above
    • Run the MCRInstaller.exe file and follow the on-screen instructions
  • Download the homer zip file above
  • Unzip to directory of your choice
  • Run homer.exe to start homer.


Requirements

  • 1GB RAM memory
  • 40MB free hard drive space
  • Administrative Rights for Installation.

Setup Memory Usage

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 'chunk' the data into smaller pieces. We therefore need to set the default number of workspaces in each 'chunk' to treat at any one time during the population of an IXTrunfile and the total amount of memory to allow the computer to use.

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 ./matlab/homer/default_homer_nchunk.m 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.

function nchunk=default_homer_nchunk
% nchunk = default_homer_nchunk
% nchunk is a two membered array
% the first element is the default number of workspaces to be treated at 
% one time, and the second element is the maximum amount of memory (in MB)
% that you want the computer to use
nchunk=int32([100,500]);