Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Installation of LCModel GUI

The use of LCModel in Oscar is no longer the reccomended method to analyze MRS data. We now suggest that users conduct MRS preprocessing, spectra fitting, and metabolite value extraction using Osprey. We provide documentation on Osprey in this user manual. This page on LCModel remains public for legacy purposes.

Installing LCModel in Oscar

Installing LCModel in Oscar for personal use is a simple process. Because LCModel has a graphical interface, you will need to connect to Oscar using the Desktop Application via OpenOnDemand, this will make sure we are using a node that can find its $DISPLAY.

0. Connecting to Oscar

Connecting via Desktop App in Open on Demand

  • Click on the Desktop Icon and start a Desktop job. If you receive an error the error you are already running a Desktop session, you will need to click on "My interactive sessions" at the top panel on the page. You will see your existing session. Click Launch to start this session.

  • Launch a terminal inside the Desktop interface.

1. Download LCModel tar under your HOME

# change directory to your HOME 
cd ~

2. Download LCModel binaries and uncompress file

# download LCModel
wget http://s-provencher.com/pub/LCModel/programs/lcm-64.tar -O lcm-64.tar
# un-tar file
tar xf lcm-64.tar

3. Run the installer script

At this point a GUI window will pop as follows:

The LCMgui pop up window, instructing users to use the default display command “evince” by pressing “Continue”.
LCModel Select PostScript Display or Print Command

Press Continue. A test report should show up as follows:

A LC Model PostScript file called test.ps, which shows various spectroscopy plots.
LC Model Sample PostScript Result

Close the result window. A new success window will follow

An “Installation/Update Successful” pop up. It notifies the user that the test runs were successful and allows them to opt in to “Further tests” or to “Exit LCMgui”.
Confirmation Screen for a Successful LCModel Test

Finally, you can Exit LCMgui

You may see the following error message: Infiniband hardware address can be incorrect! Please read BUGS section in ifconfig(8). This should not have any effect. It is a known message in Oscar that will go away in a future update

4. Install the License

LCModel is now free. However, you'll need to create an empty license file. You can do so from the terminal as follows.

5. Copy the Basis Set

Last updated

Was this helpful?