Menu

CompINFOS

A. Smith

INFOS via MATLAB Runtime: beta release notes

INFOS is now available to users without a MATLAB license. This is via the MATLAB Runtime libraries, which are available, free of charge at:

www.mathworks.com/products/compiler/mcr.html

Please install these before using the compiled version of INFOS.

General notes

Compiled INFOS creates a limited MATLAB environment to run the INFOS spectrum analysis software. All standard MATLAB commands (but not all libraries) are available at the provided command line, as are basic variable types (cells, structures, arrays, etc.). One may then run INFOS by typing commands at the command line (and using interactive features, such as FitEditor2D). One may also create scripts in any text editor, and these may also be executed from the command line (save as *.m). New functions, however, cannot be created. One may also create scripts to print the results from INFOS to file, or use the new print_fit function:

print_fit(filename,fit)

filename is a string giving the text file to print to, andfit is a variable containing the fit to be written out

Note that compiled INFOS should be regarded as a beta release. Although INFOS has been heavily tested, the compiled version has not been. Unfortunately, the automatic scrolling of the command history is not as stable as I would like. Some specific issues exist on Mac computers, which are addressed below.

PC notes

INFOS can be used simply by running INFOS.exe. Parallel processing may result in request for permission to accept incoming network connections (“ctfxlauncher”).

Unix notes

INFOS can be called using the run_INFOS.sh shell script

./run_INFOS.sh /path/to/Matlab_Runtime/files

The path included above should direct to the Matlab_Runtime files, with the last to file folders being Matlab_Runtime/v, where v gives the version number installed. One may also add the appropriate folders to the LD_LIBRARY_PATH manually, or with a script at startup, and then execute INFOS directly.

MAC notes

The MAC compilation is not working properly yet. In principle, one should just be able to run the INFOS application (INFOS.app). However, this is not currently working on my computer. Instead, one may open the INFOS.app folder (right click, “Show Package Contents”), then navigate Contents/MacOS/ and run the prelaunch executable. This should run INFOS as normal, but is less convenient then I would like.

One may also use the run_INFOS.sh script from a terminal, as follows

./run_INFOS.sh /path/to/Matlab_Runtime/files

The path included above should direct to the Matlab_Runtime files, with the last to file folders being Matlab_Runtime/v, where v gives the version number installed. One may also add the appropriate folders to the DYLD_LIBRARY_PATH manually, or with a script at terminal startup, and then execute INFOS directly.

Parallel processing may result in request for permission to accept incoming network connections (“ctfxlauncher”). Also, I’m having problems opening a parallel pool on all cores of my laptop. I should have access to 8 cores, but am only getting 4. So, I hope for an update soon, but the current version should be quite usable.

Please contact me with any problems,

although note that my expertise is in NMR and numerical problems via MATLAB, whereas my ability to solve general computer issues is more limited.