edickie / ciftify

The tools of the Human Connectome Project (HCP) adapted for working with non-HCP datasets
https://edickie.github.io/ciftify/
MIT License
116 stars 157 forks source link

setNativeLocks failed on ciftify_bids_app #165

Open CompuNeuroPsychiatryLabEinKerem opened 2 years ago

CompuNeuroPsychiatryLabEinKerem commented 2 years ago

Hi,

On a HPC I run:

singularity run --cleanenv \
    -B $DATA:/data \
    -B $FS_LICENSE:/fs-license \
    $LAB_PATH/Singularity/tigrlab_fmriprep_ciftify_latest-2019-08-16-6ea864911724.simg \
    /data/BIDS /data participant  \
    --participant_label=${SBJ} \
    --session_label=01  \
    --fs-license="/fs-license/license.txt"  \
    --read-from-derivatives /data --debug --anat_only --rerun-if-incomplete

About once of every 10 subjects I get

Found freesurfer outputs for sub-XXX
Running: ciftify_recon_all --n_cpus 1 --ciftify-work-dir /data/ciftify --fs-subjects-dir /data/freesurfer --surf-reg MSMSulc sub-XXX
cmd: ciftify_recon_all --n_cpus 1 --ciftify-work-dir /data/ciftify --fs-subjects-dir /data/freesurfer --surf-reg MSMSulc sub-XXX
 Failed with returncode 1
setNativeLocks failed: Resource temporarily unavailable
setNativeLocks failed: Resource temporarily unavailable
...
setNativeLocks failed: Resource temporarily unavailable

cmd: mris_convert --annot /data/freesurfer/sub-YeNa/label/rh.aparc.annot /data/freesurfer/sub-YeNa/surf/rh.white /tmp/tmprcca2i5t/MNINonLinear/native/sub-YeNa.R.aparc.native.label.gii
 Failed with returncode 139

Any ideas?

Other than that, thanks so much for creating this tool! Uri,