Description:
Hello, I’m working through processing my DWI data and got the steps dwi_bedpostx_gpu
and dwi_pre_tractography
completed without issues. When I tried to run dwi_probtrackx_dense_gpu
, it had an error. Any thoughts on what is causing it?
Thank you.
Estephan
P.S.: What is the purpose of dwi_pre_tractography
command - is it equivalent to the “Registration within FDT” described in the FSL wiki https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FDT/UserGuide#Registration_within_FDT? What are the expected outputfiles from this command?
Call:
msi_resources_time=12:00:00; msi_resources_nodes=1; msi_resources_ntaskspernode=1; msi_resources_mem=64000; msi_queue=a100-4; msi_resources_gpu=gpu:a100:1; msi_resources_jobname=PROBTRACKX; \
study_sharedfolder=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02; \
qunex_container dwi_probtrackx_dense_gpu \
--batchfile=${study_sharedfolder}/processing/batch_K99Aim2.txt --sessionsfolder=${study_sharedfolder}/sessions \
--omatrix1="yes" --omatrix3="yes" --nsamplesmatrix1="10000" --nsamplesmatrix3="3000" --distancecorrection="yes" --storestreamlineslength="yes" --overwrite="yes" \
--nv \
--bash_pre="module load cuda/11.2" \
--scheduler=SLURM,time=${msi_resources_time},nodes=${msi_resources_nodes},cpus-per-task=${msi_resources_ntaskspernode},mem=${msi_resources_mem},partition=${msi_queue},gres=${msi_resources_gpu},jobname=${msi_resources_jobname} \
--bind=${study_sharedfolder}:${study_sharedfolder} --container=${HOME}/qunex/qunex_suite-0.98.0.sif
Logs:
# Generated by QuNex 0.98.0 on 2023-06-11_14.18.55.930987
#
-- qunex.sh: Specified Command-Line Options - Start --
Study Folder: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02
Sessions Folder: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions
Session: 10001
probtrackX GPU scripts Folder: /opt/qunex/bash/qx_utilities/diffusion_tractography_dense/tractography_gpu_scripts
Compute Matrix1: yes
Compute Matrix3: yes
Number of samples for Matrix1: 10000
Number of samples for Matrix3: 3000
Distance correction: yes
Store streamlines length: yes
Overwrite prior run: yes
No GPU: no
-- qunex.sh: Specified Command-Line Options - End --
e[32m ------------------------- Start of work -------------------------------- e[0m
e[32m --- probtrackX GPU for session 10001... e[0m
e[31m --- Removing existing Probtrackxgpu Matrix1 dense run for 10001... e[0m
e[32m Checking if ProbtrackX Matrix 1 and dense connectome was completed on 10001... e[0m
e[32m ProbtrackX Matrix 1 solution and dense connectome incomplete for 10001. Starting run with 10000 samples... e[0m
Running the following probtrackX GPU command:
---------------------------
/opt/qunex/bash/qx_utilities/diffusion_tractography_dense/tractography_gpu_scripts/run_matrix1.sh /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions 10001 10000 yes yes no
---------------------------
-- Queueing Probtrackx
PROBTRACKX2 VERSION GPU
Log directory is: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography
Running in seedmask mode
/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/commands_Mat1.sh: line 1: 1014741 Killed /opt/fsl/fsl/bin/probtrackx2_gpu10.2 --loopcheck --forcedir --fibthresh=0.01 --cthr=0.2 --sampvox=2 --randfib=1 --nsamples=10000 --nsteps=2000 --steplength=0.5 --pd --ompl --samples=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/T1w/Diffusion.bedpostX/merged --mask=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/T1w/Diffusion.bedpostX/nodif_brain_mask --meshspace=caret --seed=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Mat1_seeds --seedref=/opt/fsl/fsl/data/standard/MNI152_T1_2mm_brain_mask --xfm=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/xfms/standard2acpc_dc --invxfm=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/xfms/acpc_dc2standard --stop=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/stop --wtstop=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/wtstop --forcefirststep --waypoints=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/ROIs/Whole_Brain_Trajectory_ROI_2 --omatrix1 --dir=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography
-- Queueing Post-Matrix 1 Calls
While running:
/opt/workbench/workbench-1.5.0/bin_rh_linux64/../exe_rh_linux64/wb_command -probtrackx-dot-convert /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/fdt_matrix1.dot /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Mat1.dconn.nii -row-cifti /opt/qunex/qx_library/etc/diffusion_tractography_dense/templates/91282_Greyordinates.dscalar.nii COLUMN -col-cifti /opt/qunex/qx_library/etc/diffusion_tractography_dense/templates/91282_Greyordinates.dscalar.nii COLUMN
ERROR: error opening text file '/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/fdt_matrix1.dot'
While running:
/opt/workbench/workbench-1.5.0/bin_rh_linux64/../exe_rh_linux64/wb_command -cifti-transpose /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Mat1.dconn.nii /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Mat1_transp.dconn.nii
ERROR: failed to open file '/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Mat1.dconn.nii', file does not exist, or folder permissions prevent seeing it
While running:
/opt/workbench/workbench-1.5.0/bin_rh_linux64/../exe_rh_linux64/wb_command -cifti-average /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1.dconn.nii -cifti /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Mat1.dconn.nii -cifti /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Mat1_transp.dconn.nii
ERROR: failed to open file '/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Mat1.dconn.nii', file does not exist, or folder permissions prevent seeing it
While running:
/opt/workbench/workbench-1.5.0/bin_rh_linux64/../exe_rh_linux64/wb_command -cifti-reduce /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1.dconn.nii SUM /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1_sum.dscalar.nii
ERROR: failed to open file '/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1.dconn.nii', file does not exist, or folder permissions prevent seeing it
mv: cannot stat ‘/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/waytotal’: No such file or directory
cat: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1_waytotal: No such file or directory
While running:
/opt/workbench/workbench-1.5.0/bin_rh_linux64/../exe_rh_linux64/wb_command -cifti-math a/ /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1_waytotnorm.dconn.nii -var a /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1.dconn.nii
ERROR: failed to open file '/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1.dconn.nii', file does not exist, or folder permissions prevent seeing it
While running:
/opt/workbench/workbench-1.5.0/bin_rh_linux64/../exe_rh_linux64/wb_command -cifti-math 'log(1+a)' /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1_waytotnorm_log.dconn.nii -var a /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1_waytotnorm.dconn.nii
ERROR: failed to open file '/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1_waytotnorm.dconn.nii', file does not exist, or folder permissions prevent seeing it
gzip: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1.dconn.nii: No such file or directory
gzip: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1_waytotnorm.dconn.nii: No such file or directory
gzip: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn1_waytotnorm_log.dconn.nii: No such file or directory
gzip: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Mat1.dconn.nii: No such file or directory
gzip: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Mat1_transp.dconn.nii: No such file or directory
gzip: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/fdt_matrix1.dot: No such file or directory
-- Matrix 1 Probtrackx Completed successfully.
e[31m ERROR: dwi_probtracx_dense_gpu for 10001 failed! e[0m
e[31m --- Removing existing Probtrackxgpu Matrix3 dense run for 10001... e[0m
e[32m Checking if ProbtrackX Matrix 3 and dense connectome was completed on 10001... e[0m
e[32m ProbtrackX Matrix 3 solution and dense connectome incomplete for 10001. Starting run with 3000 samples... e[0m
Running the following probtrackX GPU command:
---------------------------
/opt/qunex/bash/qx_utilities/diffusion_tractography_dense/tractography_gpu_scripts/run_matrix3.sh /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions 10001 3000 yes yes no
---------------------------
-- Queueing Probtrackx
PROBTRACKX2 VERSION GPU
Log directory is: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography
Running in seedmask mode
/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/commands_Mat3.sh: line 1: 1015368 Killed /opt/fsl/fsl/bin/probtrackx2_gpu10.2 --loopcheck --forcedir --fibthresh=0.01 --cthr=0.2 --sampvox=2 --randfib=1 --nsamples=3000 --nsteps=2000 --steplength=0.5 --pd --ompl --samples=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/T1w/Diffusion.bedpostX/merged --mask=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/T1w/Diffusion.bedpostX/nodif_brain_mask --meshspace=caret --seed=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/ROIs/Whole_Brain_Trajectory_ROI_2 --seedref=/opt/fsl/fsl/data/standard/MNI152_T1_2mm_brain_mask --xfm=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/xfms/standard2acpc_dc --invxfm=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/xfms/acpc_dc2standard --stop=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/stop --wtstop=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/wtstop --waypoints=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/ROIs/Whole_Brain_Trajectory_ROI_2 --omatrix3 --target3=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Mat3_targets --dir=/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography
-- Queueing Post-Matrix 3 Calls
While running:
/opt/workbench/workbench-1.5.0/bin_rh_linux64/../exe_rh_linux64/wb_command -probtrackx-dot-convert /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/fdt_matrix3.dot /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3.dconn.nii -row-cifti /opt/qunex/qx_library/etc/diffusion_tractography_dense/templates/91282_Greyordinates.dscalar.nii COLUMN -col-cifti /opt/qunex/qx_library/etc/diffusion_tractography_dense/templates/91282_Greyordinates.dscalar.nii COLUMN -make-symmetric
ERROR: error opening text file '/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/fdt_matrix3.dot'
While running:
/opt/workbench/workbench-1.5.0/bin_rh_linux64/../exe_rh_linux64/wb_command -cifti-reduce /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3.dconn.nii SUM /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3_sum.dscalar.nii
ERROR: failed to open file '/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3.dconn.nii', file does not exist, or folder permissions prevent seeing it
mv: cannot stat ‘/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/waytotal’: No such file or directory
cat: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3_waytotal: No such file or directory
While running:
/opt/workbench/workbench-1.5.0/bin_rh_linux64/../exe_rh_linux64/wb_command -cifti-math a/ /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3_waytotnorm.dconn.nii -var a /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3.dconn.nii
ERROR: failed to open file '/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3.dconn.nii', file does not exist, or folder permissions prevent seeing it
While running:
/opt/workbench/workbench-1.5.0/bin_rh_linux64/../exe_rh_linux64/wb_command -cifti-math 'log(1+a)' /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3_waytotnorm_log.dconn.nii -var a /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3_waytotnorm.dconn.nii
ERROR: failed to open file '/home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3_waytotnorm.dconn.nii', file does not exist, or folder permissions prevent seeing it
gzip: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3.dconn.nii: No such file or directory
gzip: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3_waytotnorm.dconn.nii: No such file or directory
gzip: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/Conn3_waytotnorm_log.dconn.nii: No such file or directory
gzip: /home/moanae/shared/project_K99_ChrTMDHCP_qunex02/sessions/10001/hcp/10001/MNINonLinear/Results/Tractography/fdt_matrix3.dot: No such file or directory
-- Matrix 3 Probtrackx Completed successfully.
e[31m ERROR: dwi_probtracx_dense_gpu for 10001 failed! e[0m
e[31m ERROR: dwi_probtracx_dense_gpu run did not complete successfully e[0m
** For an example of how to report an issue, please refer to this post.