Deletions are marked like this. | Additions are marked like this. |
Line 8: | Line 8: |
* named 'nmrclass<number>', where <number> is 7 - 18 * user account named 'nmrclass', default shell is tcsh, with the default password, create user this way: |
* laptops are named 'nmrclass<number>', where <number> is 7 - 21 * user account named 'mneclass', default shell is tcsh, with the default password (ask Nick or Help), where 'mneclass' user created this way: |
Line 11: | Line 11: |
useradd -d /home/nmrclass -s /bin/tcsh nmrclass | useradd -d /home/mneclass -s /bin/tcsh mneclass |
Line 13: | Line 13: |
* the 'nmrclass' account .cshrc should contain this: |
followed by: {{{ passwd mneclass }}} * the 'mneclass' account .cshrc should contain this: |
Line 24: | Line 28: |
# Freesurfer and FS-FAST # if ( -e /home/apps/freesurfer/SetUpFreeSurfer.csh ) then setenv FREESURFER_HOME /home/apps/freesurfer if ( -e /media/disk/buckner_data/tutorial_subjs ) then setenv TUTORIAL_DATA /media/disk/buckner_data/tutorial_subjs setenv SUBJECTS_DIR $TUTORIAL_DATA endif source $FREESURFER_HOME/SetUpFreeSurfer.csh if ( -e /media/disk/fsfast-tutorial ) then setenv FSFTUTDIR /media/disk/fsfast-tutorial echo "FSFTUTDIR $FSFTUTDIR" endif endif # |
|
Line 44: | Line 32: |
setenv MATLAB_ROOT /home/apps/matlab echo "MATLAB_ROOT $MATLAB_ROOT" |
|
Line 49: | Line 39: |
if ( -e /media/disk/mne_sample_data ) then setenv MNE_DATA /media/disk/mne_sample_data echo "" echo "MNE sample data:" echo "MNE_DATA $MNE_DATA" |
if ( -e /home/apps/mne/current ) then setenv MNE_ROOT /home/apps/mne/current echo "MNE_ROOT $MNE_ROOT" if ( -e $MNE_ROOT/sample_data ) then setenv MNE_DATA $MNE_ROOT/sample_data echo "MNE_DATA $MNE_DATA" setenv SUBJECTS_DIR $MNE_DATA/subjects echo "SUBJECTS_DIR $SUBJECTS_DIR" endif source $MNE_ROOT/bin/mne_setup |
Line 56: | Line 51: |
# # Freesurfer and FS-FAST # if ( -e /home/apps/freesurfer/SetUpFreeSurfer.csh ) then setenv FREESURFER_HOME /home/apps/freesurfer source $FREESURFER_HOME/SetUpFreeSurfer.csh endif |
MNE Class Notes
These notes describe the setup of the laptops used for the MNE class. These notes complement the notes for the MultiModal course, which describes a course setup more generally.
CentOS config
- Centos 5 x86_64 SMP
laptops are named 'nmrclass<number>', where <number> is 7 - 21
- user account named 'mneclass', default shell is tcsh, with the default password (ask Nick or Help), where 'mneclass' user created this way:
useradd -d /home/mneclass -s /bin/tcsh mneclass
followed by:
passwd mneclass
- the 'mneclass' account .cshrc should contain this:
# exit if not an interactive shell if ($?USER == 0 || $?prompt == 0) exit alias dir "ls -alF" # turn-off error beep xset b off # # MATLAB # if ( -e /home/apps/matlab/bin ) then setenv PATH "/home/apps/matlab/bin":"$PATH" setenv MATLAB_ROOT /home/apps/matlab echo "MATLAB_ROOT $MATLAB_ROOT" endif # # MNE # if ( -e /home/apps/mne/current ) then setenv MNE_ROOT /home/apps/mne/current echo "MNE_ROOT $MNE_ROOT" if ( -e $MNE_ROOT/sample_data ) then setenv MNE_DATA $MNE_ROOT/sample_data echo "MNE_DATA $MNE_DATA" setenv SUBJECTS_DIR $MNE_DATA/subjects echo "SUBJECTS_DIR $SUBJECTS_DIR" endif source $MNE_ROOT/bin/mne_setup endif
# # Freesurfer and FS-FAST # if ( -e /home/apps/freesurfer/SetUpFreeSurfer.csh ) then
- setenv FREESURFER_HOME /home/apps/freesurfer source $FREESURFER_HOME/SetUpFreeSurfer.csh
endif