4873
Comment:
|
6149
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
== Requirements == Before installing Brainstorm, you need to install either Matlab or the Matlab Compiler Runtime (MCR) library. * '''With a Matlab license''': No operating system restrictions, any Matlab version >= '''R2006b '''(7.3) * '''Without Matlab''': You need to be able to install the '''MCR R2013b''' (8.2): * __Windows__: Any version * __Linux__: Ubuntu 12.04+, RH 6.x, Debian 6.x, SUSE 11.3+ * __MacOS__: MacOSX 10.7.4+ (Lion), 10.8 (Mountain Lion), 10.9 (Mavericks) * Note that Linux and MacOSX need '''recent systems ''' * More details: [[http://www.mathworks.com/support/sysreq/current_release/index.html?sec=mac|Mathworks website]] For installing the MCR, those operating systems constrains can be very annoying. Please consider this problem in advance because you may need to upgrade your system before coming to the workshop. If you can't install the MCR on your laptop, you can chose between: * Upgrading MacOSX or your Linux distribution, * Installing Matlab (any version), * Borrowing another laptop for the workshop. |
|
Line 14: | Line 31: |
1. Note: if you already have Brainstorm installed, make sure that the version was released<<BR>><<HTML(<FONT color=red>)>>'''after November 18th'''<<HTML(</FONT>)>>. | 1. Note: if you already have Brainstorm installed, make sure that the version was released<<BR>><<HTML(<FONT color=red>)>>'''after November 23th'''<<HTML(</FONT>)>>. |
Line 33: | Line 50: |
1. Download the '''Matlab Compiler Runtime (MCR)''', version '''R2012b''', corresponding to your operating system. This is a set of libraries that will let you run Brainstorm on your computer without Matlab.<<BR>>Click here: [[http://www.mathworks.com/products/compiler/mcr/index.html|Link to the Mathworks website]]. 1. __Important note for Mac users__:<<BR>>It is not clear on the Mathworks website, but the current MCR requires a version of MacOSX >= 10.6.4 (Snow Leopard), with Apple Java installed ([[http://www.mathworks.com/support/sysreq/release2012b/macintosh.html|see link]]).<<BR>>If you can't install the MCR on your Mac, you can chose between: updating MacOS, installing Matlab, or borrowing another laptop for the workshop. |
1. Download the '''MCR R2013b (8.2)''' for your operating system: [[http://www.mathworks.com/products/compiler/mcr/|Mathworks website]] |
Line 39: | Line 55: |
1. Run the executable file located in ''brainstorm3/bin/R2012b/ '' | 1. On MacOSX, if you get errors installing the MCR, you may have to install Oracle Java 7 manually: * Google "download java 7" and follow the instructions * Google "download jdk 7" and follow the instructions (you need both the JRE and JDK) * Open a terminal, cd to the MCR installation folder, and run manually the install program:<<BR>>cd ~/Downloads/MCR_R2013b_maci64_installer/<<BR>>/install -javadir /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home -v * Thank Apple Inc. for making non-Apple platforms so complicated to install 1. Run the executable file located in ''brainstorm3/bin/R2013b/ '' |
Line 41: | Line 62: |
* __Linux__: From a terminal, ''cd brainstorm3/bin/R2012b/'' | * __Linux__: From a terminal, ''cd brainstorm3/bin/R2013b/'' |
Line 45: | Line 66: |
* Linux & MacOSX: If nothing happens when running brainstorm3.command: * Open a terminal and cd to brainstorm3/bin/R2013b/ * Type: ./brainstorm3.command MCR_DIR * MCR_DIR is where the MCR 8.2 is installed (ex: /Applications/MATLAB/MCR/v82) |
Aarhus, Denmark: December 10, 2013
Important notes
Working with MEG/EEG recordings involves a lot of computational resources and large display windows. Therefore we recommand that you bring a laptop with a decent processing capacity and a screen larger than 12".
You would also add to your comfort by bringing an external mouse. Most of the manipulations are done with the mouse, and some involve an intensive use of the scrolling operation. A mouse wheel or the "two-finger move" on MacBooks are perfect for this, but this operation is not always easy to perform on some laptops.
Don't forget your power adapter...
Requirements
Before installing Brainstorm, you need to install either Matlab or the Matlab Compiler Runtime (MCR) library.
With a Matlab license: No operating system restrictions, any Matlab version >= R2006b (7.3)
Without Matlab: You need to be able to install the MCR R2013b (8.2):
Windows: Any version
Linux: Ubuntu 12.04+, RH 6.x, Debian 6.x, SUSE 11.3+
MacOS: MacOSX 10.7.4+ (Lion), 10.8 (Mountain Lion), 10.9 (Mavericks)
Note that Linux and MacOSX need recent systems
More details: Mathworks website
For installing the MCR, those operating systems constrains can be very annoying. Please consider this problem in advance because you may need to upgrade your system before coming to the workshop. If you can't install the MCR on your laptop, you can chose between:
- Upgrading MacOSX or your Linux distribution,
- Installing Matlab (any version),
- Borrowing another laptop for the workshop.
Installation instructions
Before coming to the workshop, you need to download the software and the tutorial dataset from the Brainstorm website (300 to 650Mb). It requires a free registration for demographics purposes. To streamline troubleshooting and instructions during the session, please save all the downloaded files on your Desktop.
From the Brainstorm Download page, log in or create a Brainstorm account (registration is free)
You will then be able to download the following files to your Desktop folder:
Brainstorm software: brainstorm_YYMMDD.zip (45 Mb)
Tutorial dataset: sample_workshop_fullday.zip (250 Mb)
Note: if you already have Brainstorm installed, make sure that the version was released
after November 23th.- Unzip the two zip files
- Delete the zip files / the installation files
Create a folder "brainstorm_db" on your Desktop folder
- Final check: you should have now 3 folders on your Desktop:
brainstorm3: Program folder, with the Matlab source code and the compiled executable
brainstorm_db: Folder for the Brainstorm database (empty)
sample_workshop_fullday: Example dataset to be used during the training session
- Now run Brainstorm, to make sure it starts fine (read carefully the following section)
Running Brainstorm for the first time
With Matlab
- Start Matlab
DO NOT add the brainstorm3 folder to your path: Brainstorm will take care of that,
Go to the brainstorm3 folder from the Matlab command window,
Type "brainstorm" in the Matlab command window and press enter,
- When asked for the location of the Brainstorm database folder, pick the folder "brainstorm_db" you have just created on the Desktop.
Without Matlab
Download the MCR R2013b (8.2) for your operating system: Mathworks website
- Follow the instructions to install the MCR:
Windows: Double-click on the .exe and follow the instructions
Linux: From a terminal, unzip .zip, then run ./install
MacOS: Click on the zip file to unzip it, then click on "InstallForMacOSX"
- On MacOSX, if you get errors installing the MCR, you may have to install Oracle Java 7 manually:
- Google "download java 7" and follow the instructions
- Google "download jdk 7" and follow the instructions (you need both the JRE and JDK)
Open a terminal, cd to the MCR installation folder, and run manually the install program:
cd ~/Downloads/MCR_R2013b_maci64_installer/
/install -javadir /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home -v- Thank Apple Inc. for making non-Apple platforms so complicated to install
Run the executable file located in brainstorm3/bin/R2013b/
Windows: Double-click on brainstorm3.bat
Linux: From a terminal, cd brainstorm3/bin/R2013b/
Make sure that the file brainstorm3.command is executable:
=> chmod a+x brainstorm3.commandrun ./brainstorm3.command
MacOS: Double-click on brainstorm3.command and wait for instructions.
Linux & MacOSX: If nothing happens when running brainstorm3.command:
- Open a terminal and cd to brainstorm3/bin/R2013b/
- Type: ./brainstorm3.command MCR_DIR
- MCR_DIR is where the MCR 8.2 is installed (ex: /Applications/MATLAB/MCR/v82)
- When you start Brainstorm for the first time on Linux or MacOS, you will be prompted to select the folder where you installed the MCR
When asked for the location of the Brainstorm database folder, pick the folder brainstorm_db on your Desktop.
Getting ready for the workshop
In order to make sure that Brainstorm works properly, and to get more familiar with the software, we recommend that you read and follow at least the first three online tutorials:
Troubleshooting
For any technical problem, please contact Francois Tadel ( francois.tadel@mcgill.ca )