Running DPABI with singularity

Submitted by ping on

Hello,

I am helping a user setting up a singularity container for DPABI. I have created a DPABI singularity image from the docker image. But when running 'run_DPABI_StandAlone.sh', I got the following error. It tries to extract the CTF file to a directory which doesn't seems to be writable. Any idea what's wrong and how to resolve it?

 

$ singularity exec -B /path/to/mydata:/data,/path/to/mylicense.txt:/opt/freesurfer/license.txt /tmp/dpabi.sif /opt/DPABI/DPABI_StandAlone/run_DPABI_StandAlone.sh /opt/mcr/v98

WARNING: Bind mount '/home/pl666 => /home/pl666' overlaps container CWD /home/pl543, may not be available
------------------------------------------
Setting up environment variables
---
LD_LIBRARY_PATH is .:/opt/mcr/v98/runtime/glnxa64:/opt/mcr/v98/bin/glnxa64:/opt/mcr/v98/sys/os/glnxa64:/opt/mcr/v98/sys/opengl/lib/glnxa64
Failed to create a directory required to extract the CTF file.
 Please make sure that you have appropriate permissions and re-run the
 application.
Error initializing CTF Archive: 
Some error has occurred in the file: core/mclCtfFileExtractor.cpp, at line: 62.
 The error message is: 
Failed to create a directory required to extract the CTF file.
 Please make sure that you have appropriate permissions and re-run the
 application.
 
MCL:ComponentDirectoryExtraction
Error: Error initializing CTF Archive: 
Some error has occurred in the file: core/mclCtfFileExtractor.cpp, at line: 62.
 The error message is: 
Failed to create a directory required to extract the CTF file.
 Please make sure that you have appropriate permissions and re-run the
 application.