Open rssk opened 1 year ago
VBM preprocessor
How should the computation step be configured?
Is this the right mapping?
There are 2 issues here:
isSingularityImageLatest
check but the image is bad
rm -rf
the image gets permission denied
sudo works
It looks like permission is denied to add the files when downloading
Adding the --fix-perms
option so singularity build
was a suggested solution in the error text.
That seemed to potentially fix the problem but now there's an error saying 'not enough space on device'
I'll clear some space to see if it works.
There is a warning in the error text that says: WARNING: The --fix-perms option modifies the filesystem permissions on the resulting container.
Let's revisit to make sure it isn't a security issue.
We may need more space on this volume
Increased size of storage on the EC2 instance from 30GB to 60GB. No longer running int device space limits.
Running VBM pre
It looks like the docker image for the remote isn't pulled
Computation is running
Is this the expected result from VBM pre?
@rssk which of these computations is "VBM regression"? I'm guessing it's Regression - VBM
Configuring the VBM regression pipeline step this way:
Files are showing up in the wrong place
VBM preprocessor is taking a while. Moving on to VBM regression to see if that completes. Using this configuration:
It isn't necessarily true that these runs are hanging because we're using Singularity. It's likely there is some other issue.
Line 79 in the startscript is exec $@
. To see the contents of $@
, the values can be echoed and sent to the logs. The container must be rebuilt from this container recipe to run the modified startscript.
Modify runscript and not startscript
Echo successfully logged. It looks like a json object is being passed into the exec command. Are these the expected arguments?
Are these the correct args?
ServiceFunctionGenerator is not getting a compspecVersion argument so it defaults to 1.
the opts
parameter to createService does contain a key called version
that appears to reflect the compspec version.
After feeding the correct compspecVersion to serviceFunctionGenerator, the code goes down compspecVersion 2 switch case. it then encounters this error
The error executing the exec
function in the startscript happens as well.
This is what gets passed to spawn when starting the container
Are these the commands that need to be executed by the exec
line in the runscript?
We must not be running from the .sif
ws error not bubbling up
The python server inside the singularity container for compspecVersion 2 needs to know what port to listen on for ws connections.
Investigate if a non zero exit code process triggers singularity instance to propagate or other show the error
The above comment is referring to the entry command script. For example:
"command": [
"python",
"\/computation\/scripts\/local.py"
],
Got vbm working, had to fix the passed in env to singularity's start, they need to be comma separated --env B=1,C=1
Task Description
Test