Skip to content

ciftify_recon_all fails occasionally with returncode 1 #168

@CompuNeuroPsychiatryLabEinKerem

Description

Hi,

I'm running ciftify_bids_app using singularity. Usually it works great, but sometimes it fails with message:

cmd: ciftify_recon_all --n_cpus 1 --ciftify-work-dir /data/ciftify --fs-subjects-dir /data/freesurfer --surf-reg MSMSulc sub-SBJ1
 Failed with returncode 1

setNativeLocks failed: Resource temporarily unavailable
. . .

For the subjects I get this error for, I always get this error - also if I run them again. However, if I try to run them via docker on my desktop with the same inputs, it runs properly.

The shell I'm using is:

singularity run --cleanenv \
    -B $DATA_DIR:/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} \
    --fs-license="/fs-license/license.txt"  \
    --read-from-derivatives /data --debug --anat_only

And I'm running it via sbatch

Any Ideas?

Thanks you so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions