Closed yukaizou2015 closed 2 years ago
Relocate to /local/scratch/software
to free up space
Update bashrc_yz23e20
:
export FREESURFER_HOME=/local/scratch/software/freesurfer/7.2.0-1
export FSFAST_HOME=/local/scratch/software/freesurfer/7.2.0-1/fsfast
export SUBJECTS_DIR=/local/scratch/disk2/research/freesurfer/subjects # avoid utilising the /local space
export PATH=/local/scratch/software/freesurfer/7.2.0-1/bin:$PATH
Code that can get fMRIprep #69 running:
docker run -ti --rm \
--volume $rawdatadir:/data:ro \
--volume $FREESURFER_HOME/license.txt:/opt/freesurfer/license.txt \
nipreps/fmriprep \
/data \
$studydir/derivatives/fmriprep \
participant \
--participant_label ${sID} \
> $logdir/sub-${sID}_fmriprep_participant.log 2>&1
Undefined variable $FREESURFER
caused termination of recon-all by error. See here for details. This has been fixed in an updated version.
To work around, add export $FREESURFER=$FREESURFER_HOME
to .bashrc
One can resume recon-all using the autorecon2-fill
flag.
Install Matlab Runtime for FS version 7 (see here):
fs_install_mcr R2014b
Experiencing space issue:
inflating: archives/3p/openssl_glnxa64_1406353978.xml
inflating: archives/3p/scalapack_glnxa64_1406353984.xml
inflating: archives/3p/commons-collections-generic_common_1406353959.enc
inflating: archives/3p/poco_glnxa64_1406353981.xml
inflating: archives/3p/opencv_glnxa64_1406353958.enc
inflating: archives/3p/emma_common_1406353959.enc
inflating: archives/3p/expat_glnxa64_1406353952.enc
inflating: archives/3p/tesseract-ocr_glnxa64_1406353979.enc
inflating: archives/3p/blacs_glnxa64_1406353983.xml
inflating: archives/3p/xml-commons_common_1406353956.enc
inflating: archives/3p/icebrowser_common_1406353959.xml
inflating: archives/3p/zip_glnxa64_1406353965.xml
inflating: archives/3p/dom4j_common_1406353960.xml
inflating: archives/3p/rookfastbp_glnxa64_1406353980.xml
inflating: archives/3p/spqr_glnxa64_1406355390.xml
inflating: archives/3p/cfitsio_glnxa64_1406353960.enc
inflating: archives/3p/tex-archive_common_1398199543.xml
inflating: archives/3p/colamd_glnxa64_1406353954.xml
inflating: archives/3p/jini_common_1406353964.enc
inflating: archives/3p/tablelayout_common_1406353956.xml
inflating: archives/3p/axis2_common_1406353979.enc
inflating: archives/3p/libunwind_glnxa64_1406353952.xml
inflating: archives/3p/xerces-j_common_1406353952.enc
inflating: archives/3p/openssl_glnxa64_1406353978.enc
inflating: archives/3p/jxbrowser-chromium_glnxa64_1406353961.xml
inflating: archives/3p/saxon_common_1406353954.xml
inflating: archives/3p/flexnet_common_1406353952.xml
inflating: archives/3p/proj4_glnxa64_1406353965.enc
inflating: archives/3p/emma_common_1406353959.xml
inflating: archives/3p/poco_glnxa64_1406353981.enc
inflating: archives/3p/sqlite_glnxa64_1406353954.xml
inflating: archives/3p/cuda_glnxa64_1406353968.enc
archives/3p/cuda_glnxa64_1406353968.enc: write error (disk full?). Continue? (y/n/^C)
Then create a symbolic link named MCRv84 in the FreeSurfer directory that points to the main matlab install directory:
cd <FreeSurferRootDirectory> && ln -s <MatlabRootDirectory> MCRv84
For FS version 7, MCR 8.4 (R2014b) is needed.
fs_install_mcr R2014b
R2014b installed successfully in /local/scratch/software/freesurfer/7.2.0-1/MCRv84. Closing this ticket now.
https://surfer.nmr.mgh.harvard.edu/fswiki/rel7downloads
https://surfer.nmr.mgh.harvard.edu/fswiki/MatlabRuntime