External Email - Use Caution Dear Yujing,
Thank you for your response and help. I’m replying to your two points below. 1. make sure ‘tcsh’ is in her PATH I can confirm that I’ve loaded tcsh via the module system and it’s correctly in my PATH. Running which tcsh returns: /apps/fsv2/software/2024a/tcsh/6.24.10-GCCcore-12.3.0/bin/tcsh. Initially, as the system doesn’t have tcsh at /bin/tcsh, this caused errors (e.g., even recon-all --version would fail), but Roberto kindly provided a workaround. Since then, I’ve been able to run recon-all --help and recon-all --version without issues. However, when I try to run the full recon-all command on a subject, it exits within a few seconds due to UpdateNeeded being looked for in an inaccessible location. I’ve included the full console output below for context. This happens regardless of whether I run it from a bash or tcsh shell. 1. It looks like she has ‘/opt/cycle/jetpack/bin/’ in her PATH. Is ‘/campaign/VB-FM5HPC-001/Marlene/software/freesurfer/freesurfer_backup’ her Freesurfer install directory? I’m assuming she sourced Freesurfer environment correctly. After sourcing Freesurfer environment correctly, ‘echo $PATH’ should show $FREESURFER_HOME/bin in the very beginning. Also, check if executables in $FREESURFER_HOME/bin have executable permissions. * Yes, /campaign/VB-FM5HPC-001/Marlene/software/freesurfer/freesurfer_backup is my FreeSurfer installation directory. * I believe I’ve sourced the FreeSurfer environment correctly — I’ve successfully tried sourcing from both bash and tcsh and did not previously have these issues on a local Linux machine. * Running echo $PATH confirms that $FREESURFER_HOME/bin appears at the beginning: /campaign/VB-FM5HPC-001/Marlene/software/freesurfer/freesurfer_backup/bin:… opt/cycle/jetpack/bin/ is also in my Path but at the very end. Regarding the UpdateNeeded error — when I run which UpdateNeeded, it correctly returns: /campaign/VB-FM5HPC-001/Marlene/software/freesurfer/freesurfer_backup/bin/UpdateNeeded. So I’m unsure why, at runtime, it's still attempting to use /opt/cycle/jetpack/bin/UpdateNeeded, which leads to the following error: /opt/cycle/jetpack/bin/UpdateNeeded: Permission denied. if: Expression Syntax. Please let me know if there is anything else I can check of provide to help resolves this – and thank you again for your support. Best wishes, Marlene $ recon-all -s sub-315A_T1w -i /campaign/VB-FM5HPC-001/Marlene/Data_tmp/input/sub-315A_T1w.nii -sd $SUBJECTS_DIR -all fs-check-version --s sub-315A_T1w --o /tmp/tmp.eCskko Tue Jun 17 17:43:12 BST 2025 setenv SUBJECTS_DIR /campaign/VB-FM5HPC-001/Marlene/Data_tmp/output cd /campaign/VB-FM5HPC-001/Marlene/Data_tmp/output /campaign/VB-FM5HPC-001/Marlene/software/freesurfer/freesurfer_backup/bin/fs-check-version --s sub-315A_T1w --o /tmp/tmp.eCskko -rwxr-xr-x 1 ms2290 rce_VB-FM5HPC-001 18565 Jun 17 09:40 /campaign/VB-FM5HPC-001/Marlene/software/freesurfer/freesurfer_backup/bin/fs-check-version freesurfer-linux-centos7_x86_64-7.4.1-20230613-7eb8460 $Id$ Linux nimbus-1-spot-fsv2-2-4 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64 x86_64 x86_64 GNU/Linux pid 15581 Current FS Version freesurfer-linux-centos7_x86_64-7.4.1-20230613-7eb8460 Subject does not have a bstampfile, copying /campaign/VB-FM5HPC-001/Marlene/software/freesurfer/freesurfer_backup/build-stamp.txt Subject FS Version: freesurfer-linux-centos7_x86_64-7.4.1-20230613-7eb8460 No constraints on version because REQ=UnSet and FsVerFile=NotThere #@#% fs-check-version match = 1 fs-check-version Done INFO: SUBJECTS_DIR is /campaign/VB-FM5HPC-001/Marlene/Data_tmp/output Actual FREESURFER_HOME /campaign/VB-FM5HPC-001/Marlene/software/freesurfer/freesurfer_backup Linux nimbus-1-spot-fsv2-2-4 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64 x86_64 x86_64 GNU/Linux /campaign/VB-FM5HPC-001/Marlene/Data_tmp/output/sub-315A_T1w mri_convert /campaign/VB-FM5HPC-001/Marlene/Data_tmp/input/sub-315A_T1w.nii /campaign/VB-FM5HPC-001/Marlene/Data_tmp/output/sub-315A_T1w/mri/orig/001.mgz mri_convert /campaign/VB-FM5HPC-001/Marlene/Data_tmp/input/sub-315A_T1w.nii /campaign/VB-FM5HPC-001/Marlene/Data_tmp/output/sub-315A_T1w/mri/orig/001.mgz reading from /campaign/VB-FM5HPC-001/Marlene/Data_tmp/input/sub-315A_T1w.nii... TR=7.80, TE=0.00, TI=0.00, flip angle=0.00 i_ras = (1, 0, 0) j_ras = (0, 0.999974, 0.00720242) k_ras = (0, -0.00720242, 0.999974) writing to /campaign/VB-FM5HPC-001/Marlene/Data_tmp/output/sub-315A_T1w/mri/orig/001.mgz... @#@FSTIME 2025:06:17:17:43:13 mri_convert N 2 e 5.88 S 0.03 U 5.81 P 99% M 54872 F 0 R 1094 W 0 c 20 w 109 I 0 O 30376 L 0.07 0.10 0.14 @#@FSLOADPOST 2025:06:17:17:43:19 mri_convert N 2 0.15 0.12 0.14 #-------------------------------------------- #@# MotionCor Tue Jun 17 17:43:20 BST 2025 Found 1 runs /campaign/VB-FM5HPC-001/Marlene/Data_tmp/output/sub-315A_T1w/mri/orig/001.mgz Checking for (invalid) multi-frame inputs... /opt/cycle/jetpack/bin/UpdateNeeded: Permission denied. if: Expression Syntax. From: Huang, Yujing <[email protected]> Sent: 17 June 2025 15:50 To: Freesurfer support list <[email protected]> Subject: [Freesurfer] Re: Running Freesurfer on HPC (Almalinux OS, CycleCloud Compute nodes) 1. make sure ‘tcsh’ is in her PATH 2. It looks like she has ‘/opt/cycle/jetpack/bin/’ in her PATH. Is ‘/campaign/VB-FM5HPC-001/Marlene/software/freesurfer/freesurfer_backup’ her Freesurfer install directory? I’m assuming she sourced Freesurfer environment correctly. https://secure-web.cisco.com/1OPa-utClpZzYVZAm7UT1FwJaDX8H6HzbnM9eZHYpViNrGZ6onAnAuXW6bLXqCQbSQHcYyLlYilzSoDYSvEG-OkfZn3lK9t3rP1laV8n8OvKfFcyUCyvogoyMc5ODN2j84YMyK2xGqqevs-56Vafeoko7eJIqUGONcrjb-e0U3LPiohqmpGH9dhXh-nxxjJgwsC5UhD-o1fyXl1N2fxlLOS9MoFcahpBTMUqUx94PgrMmvTtemjcKcqJelknJvqlxOPAViURp1mXApLEAW_yNB2IqNpAs18gzwp7uXV0LZ0csjCnDAhSiIZBE_0dqTstq/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FSetupConfiguration_Mac https://secure-web.cisco.com/1C3fygtctOGKgwcSFtU7swK_Up5CoYO6M1TZ7S739PLgjU8QfcPqyX__ikpNIOPPEwBCP5b2YIr2igYrv4bT9m3NSaizNB0aLoxHHnarHDQjHmOCbQO0ryFZ8WZ2LoORgEGP11sR622roGLWoJG7jS55vlwFWXt6T_l62nMnhMeIIXEEOl5kGLrhuvb9z98pn9ExsslPjk1dFKeq2e4aE-ot1Tx9_04b91RqiYEyyxys7LtMaA_q0BX7J9pCwqmKKywsFgWwabaTkcNfqThdOHl66tlPDOpmeGm3HAewABqu0c8ebFp_4kyLMDFggb2Is/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FSetupConfiguration_Linux After sourcing Freesurfer environment correctly, ‘echo $PATH’ should show $FREESURFER_HOME/bin in the very beginning. Also, check if executables in $FREESURFER_HOME/bin have executable permissions. Yujing From: Roberto Scipioni <[email protected]<mailto:[email protected]>> Sent: Tuesday, June 17, 2025 10:34 AM To: [email protected]<mailto:[email protected]> Subject: [Freesurfer] Running Freesurfer on HPC (Almalinux OS, CycleCloud Compute nodes) External Email - Use Caution Dear Sir or Madam, I am an HPC admin who has been contacted by a user who has installed the Freesurfer in his local directory. However, she keeps getting errors in using the software., for instance: 1. tcsh ONLY works if it is actually present in /bin . This defeats the purpose of using the HPC and its module environment especially using the Cloud as compute nodes are ephemeral. 1. Update needed is searched in /opt/cycle/jetpack/bin/UpdateNeeded rather than in the Software folder /campaign/VB-FM5HPC-001/Marlene/software/freesurfer/freesurfer_backup/bin where it is. Is there any obvious reason why this may happen. The user is knowledgeable and she has already trying different environment options like those suggested in: https://secure-web.cisco.com/1CCwHd0B7yIez3RoL6XJ5pWTdKUBQ8lUK_gtbn0lLhpB5CQXNKrHIITEdp-RlJ3aPkPzqV2itIJUcOeNZ1IP5fsk3NhsEazd0NvVQn-XMuXx6cCcVXbgGaa7UrQ0-OFVOogHYNd4Mim5OLYEW9i-O14Fk2eB-jIHXmxkh_ouXF7LXwIaOF655qZ6GwD0g2aon8aUqEnCSdPX7pQbI8ZvBHCkVM3QVymnHeM42hSqABOdYy2b-As9sxCmNmlt6pkTWcn-opEqtkRsyz1Fv1Kz7UzoM1XWOkHWKFQH8zEhTWzSTLJN72N2GJLPvMPdHRh9t/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2Frel6downloads<https://secure-web.cisco.com/1MlpAewP0l0b-LfNakbZ011g7UhgKbNFb1Xo5kZEtuRQnXEAECu9FmWBZm65-GZQWdvjcO5hkdZoZkHg0wxkpxalrCyIv-Hz2MjKulkVmPp4Jgceh-yH1R8Su4ULTsjJWVmROXuxOFVdbKcfgN_ob42Yz6zYYYxTKSq1HEYGlHhnEHTACMaUXyZ8Tn-MlMhG91GrhSAZS5qi_ecW_7aMnqkB0VWXDgx0xkX3zEno1zcTX1HPWteHEPhzZ512aSjt6ZbiPBerZServOdUOh2ZTab8hINMTmeZn7G40uMxocANYL1X81bZ9lxS15OL_9VzsO723Ea2vQwI8OzZ7kOyfDQ/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2Frel6downloads> Your help with this would be greatly appreciated. Kind regards Dr Roberto Scipioni Senior HPC specialist, Red Oak Consulting, UK
_______________________________________________ Freesurfer mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.nmr.mgh.harvard.edu/mailman3/lists/[email protected]/ The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
