External Email - Use Caution OK, then try setting FREESURFER_HOME and setting the environment in a terminal window with the commands, $ bash $ export FREESURFER_HOME=/usr/local/freesurfer$ source $FREESURFER_HOME/SetUpFreeSurfer.sh Then you should see what the output reports for the freesurfer version.
- R. On Sep 23, 2021, at 15:30, Banik, Rana <rana.ba...@vanderbilt.edu> wrote: External Email - Use Caution External Email - Use Caution Hello, There is no directory called /7.2.0 rather the directory i am finding the files is: <pre><font color="#8AE234"><b>banikr2@banikr</b></font>:<font color="#729FCF"><b>/usr/local/freesurfer</b></font>$ pwd/usr/local/freesurfer</pre>Trying the same in the /freesurfer folderRana BanikFrom: fsbuild <fsbu...@contbay.com>Sent: Wednesday, September 22, 2021 7:11 PMTo: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>Cc: Banik, Rana <rana.ba...@vanderbilt.edu>Subject: Re: [Freesurfer] freesurfer running error at start Hello Rana,Running that script (or any other freesurfer commands/binaries) assumes you’ve setup the freesurfer environment by,1) setting FREESURFER_HOME in your shell to point to the top of the freesurfer tree2) source’ing a shell init file to set PATH and other environment variables in order to run freesurfer commandsThere is info on the wiki about this for linux,MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to behttps://surfer.nmr.mgh.harvard.edu/fswiki/SetupConfiguration_Linux- and the Mac,MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to behttps://surfer.nmr.mgh.harvard.edu/fswiki/SetupConfiguration_MacJust find the absolute path to the top of the freesurfer tree. For the latest 7.2.0 release installed by the package installers the version number is already in the absolute pathname to the top of the freesurfer tree. On linux that path would be /usr/local/freesurfer/7.2.0 and on the Mac that path would be /Applications/freesurfer/7.2.0For that linux path using bash you would do,$ bash$ export FREESURFER_HOME=/usr/local/freesurfer/7.2.0$ source $FREESURFER_HOME/SetUpFreeSurfer.shWhen you run the source command to read the SetUpFreeSurfer script for the shell you are using, the version of freesurfer will get printed out automatically for you.Using the 7.2.0 linux release you would see the string between the dashes no matter what the absolute path is to FREESURFER_HOME on your system.tmp$ export FREESURFER_HOME=/usr/local/freesurfer/7.2.0tmp$ source $FREESURFER_HOME/SetUpFreeSurfer.sh-------- freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b --------Setting up environment for FreeSurfer/FS-FAST (and FSL)FREESURFER_HOME /usr/local/freesurfer/7.2.0FSFAST_HOME /usr/local/freesurfer/7.2.0/fsfastFSF_OUTPUT_FORMAT nii.gzSUBJECTS_DIR /usr/local/freesurfer/7.2.0/subjectsMNI_DIR /usr/local/freesurfer/7.2.0/mniFSL_DIR /usr/pubsw/packages/fsl/current… now run any freesurfer commands …- ROn Sep 22, 2021, at 18:04, Banik, Rana <rana.ba...@vanderbilt.edu> wrote: External Email - Use Caution External Email - Use Caution Running freesurfer from terminal with the following error: banikr2@banikr:~/freesurfer/bin$ ./freesurfer FreeSurfer is a set of tools for the analysis and visualization of structural and functional brain imaging data. FreeSurfer also refers to the structural imaging stream within the FreeSurfer suite. Users should consult the online documentation available at: MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be http://secure-web.cisco.com/1BX9WO2ZIUDU9BmWuM0YkMFQ5KPQ0N_6lDMeyaiAbyQnDa-ptDA2mcQ_O9ajB_UNqiwneoMs-Rgh95PsYFuqTAWnbvjg4WUnkg5SpzyIQf6fRBRx2lGYAd2_EceLEPiZsnFQIJerF5LsyGqtRVPjZ7fznXg2MEhKJLzQgxnvGofw2_hXdsuYaDFX1WGIwktjoVK0f449AxNlWxYg8Z2LJ55DgNdaKfmbmJACtJwpmCkd6LeLLn1O2NAeX7un87eqhpeIjI5tHQzW4L20PQvOLQQ/http%3A%2F%2Fsurfer.nmr.mgh.harvard.edu Alternatively, the 'recon-all' command help-text provides adequate information to begin processing subject data, such as the sample subject 'bert' found in the 'freesurfer/subjects' directory. Type 'recon-all --help' to view this help-text. Direct comments and questions to: freesurfer@nmr.mgh.harvard.edu You are running this version of FreeSurfer: cat: /build-stamp.txt: No such file or directory Any idea what went wrong or how to fix it? Rana BanikGraduate StudentDept. of Biomedical Engineering Vanderbilt University, Nashville, TN_______________________________________________Freesurfer mailing listfreesur...@nmr.mgh.harvard.eduhttps://secure-web.cisco.com/1OK46XhJ4f_3Ospz1-ee0_xWo4bRUc2OoqTABw2Ah_pe27RdS-aW_pQibZAl974Pt0PYOjUCLJT08iSBJwOy6FkDfGIKfPAZJvrEb-GG4HlOoKmGJMj2V-gnQbGbxXbtVxxpQoXTWcLQn7m7cisnAWyh_xUTKuSmFr-ecgOAENC8xA_cpcBL982rkplEg2kgVAt--kwwzQSi8ocDZ5LOJkI5ulY2HiNfAIUe8X_dvuN797OzEM5V45r0DW-llL6qeJabxGSUsj3JljdC9xOCqmQ/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer_______________________________________________Freesurfer mailing listfreesur...@nmr.mgh.harvard.eduhttps://secure-web.cisco.com/1BELKLcx6vgPMRdbYs-4tYZraPJcxSMRMxvDPgZ6p3a19TxnKVgkfMht9L_2VlznjdQDFxez5HBbIyXgrXkWk_Lc6S2ghMN25SNzHEo5jakTOjKVR1vXcR2zKWVVmVYgvD31PbL99JuXSTXIQk2Jq1REbdeDeXUawe6UFm7-IxrcoCnkmlgYIaC8Dg2rlzCxHrbacEqizESsgVtSde41PUjRMLJOoveJOe7cYqS5ndpqfY9g1UorY4kIuVgJjDUmk4xXbl037m0GcYyizM05PpQ/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer