Using executables from multiple containers #261
-
Dear, I have a question regarding using executables from multiple containers. For example, I want to use the executable However, that is not the case in my test:
Am I missing something in my setup to have this working? In the discussion here, https://github.com/orgs/NeuroDesk/discussions/210, the I would appreciate any feedback or suggestion you can provide. Thank you! -- |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Dear @npavlovikj Excellent question :) The reason that mris_convert cannot be found in your example is the following: Once you execute @SUMA_Make_Spec_FS then this is running inside the afni container and this script can only see things that are on the path inside the afni container. You are using The module loading of executables will only work if binaries are not nested, e.g. you can call @SUMA_Make_Spec_FS and it will run inside afni and you can call mris_convert and it will run inside the freesurfer container. But the afni container (and therefore @SUMA_Make_Spec_FS) cannot talk to the freesurfer container - otherwise we would end up in an unreproducible setup. Let us know if this works for you and makes sense :) |
Beta Was this translation helpful? Give feedback.
Dear @npavlovikj
Excellent question :)
The reason that mris_convert cannot be found in your example is the following:
Once you execute @SUMA_Make_Spec_FS
then this is running inside the afni container and this script can only see things that are on the path inside the afni container. You are using
the afni/21.2.00 container, which didn't have mris_convert included yet. If you switch to a later afni container version (e.g. 23.0.07) mris_convert is included and on the path inside the afni container, so your error will disappear :)
The module loading of executables will only work if binaries are not nested, e.g. you can call @SUMA_Make_Spec_FS and it will run inside afni and you can call mri…