Skip to content

Current version does not work for Singularity #1437

@araikes

Description

@araikes

Description

I pulled the current version of the Docker container as a Singularity image for use on our HPC. I'm using the example Docker to run this but cannot on the HPC for obvious reasons. In attempting to convert some data from DICOM to BIDS, I get the following:

[adamraikes@gpu56 Allo_test]$ export DATASETROOT=$PWD
[adamraikes@gpu56 Allo_test]$ export IMPORTMODULES=1
[adamraikes@gpu56 Allo_test]$ export PROCESSMODULES=0
[adamraikes@gpu56 Allo_test]$ singularity run -B $PWD:/data/incoming -B $PWD:/data/outgoing $XASL
=============================== Open ExploreASL v1.10.1 Docker ================================
mkdir: cannot create directory '/opt/incoming/': Read-only file system
cp: cannot create directory '/opt/incoming': Read-only file system
Run ExploreASL...
Root directory: /opt/incoming/
------------------------------------------
Setting up environment variables
---
LD_LIBRARY_PATH is .:/opt/mcr/v97//runtime/glnxa64:/opt/mcr/v97//bin/glnxa64:/opt/mcr/v97//sys/os/glnxa64:/opt/mcr/v97//sys/opengl/lib/glnxa64
Unable to obtain exclusive lock on CTF directory because of a file access error. If you are running multiple simultaneous instances of this application, initialization errors may occur.  (To disable this message set the environment variable MCR_INHIBIT_CTF_LOCK.  Additional diagnostic information may be available by setting the environment variables DSERVICES_FSLOCK_VERBOSE and DSERVICES_FSLOCK_WARNING.)
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.

cp: cannot stat '/opt/incoming/.': No such file or directory
=========================================== DONE =============================================

I am able to convert this same directory using Matlab and the current Github version but that's not a feasible solution for the application I'm looking at:
[x] = ExploreASL('/xdisk/adamraikes/testing/Allo_test', 1, 0)

Release Notes

Nothing

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions