--
You received this message because you are subscribed to the Google Groups "Gadgetron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gadgetron+...@googlegroups.com.
To post to this group, send email to gadg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gadgetron/7ba62345-2c0e-433b-9467-e0f539d732ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I think only the first aspect is directly relevant to getting Matlab working with Gadgetron itself. It's certainly necessary that the Docker container have access to the host Matlab if Gadgetron is going to have access at all.
My question is whether Gadgetron needs to be compiled from source in order to enable the Gadgetron Matlab API. I suspect that it does. I hoped to avoid that much by using the Docker containers where someone else has generously done the hard work of compiling from source.
Thus, I wondered if any of the Docker Gadgetron images came with the Matlab hooks compiled in.
It's been a while since I compiled Gadgetron from source. I need to go back and read the instructions. Perhaps it will be a simple matter of running cmake within the Docker container and turning on the Matlab hooks. Presumably, everything else is already compiled within the source tree (Is the source within the container? I haven't checked.) and only the Matlab affected elements will need recompiling.
I suggest that it might be possible to distribute Docker containers with the Matlab hooks compiled in. The user would still need to provide a valid Matlab installation on the host machine. At least for linux machines, Matlab installations follow a standard directory structure. As long as the Docker user mapped the host directory on to the same container directory (ex. /opt/LOCAL/matlab), the Gadgetron could be compiled assuming Matlab would always be at /opt/LOCAL/matlab.
I'll post an update here after I've had a chance to poke around the Docker Gadgetron installation.
John.
To view this discussion on the web visit https://groups.google.com/d/msgid/gadgetron/2d6503f8-2708-46bd-85a2-c80b03fca746%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gadgetron/63e44db0-920d-4fcb-b6d7-80c6785331c8%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gadgetron+unsubscribe@googlegroups.com.
To post to this group, send email to gadg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gadgetron/9807b49c-de0d-4903-aac9-eeb3e1dfe160%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gadgetron+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gadgetron/10ddcc13-65ba-4723-89a5-0e3d96c10f93%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gadgetron+unsubscribe@googlegroups.com.
To post to this group, send email to gadg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gadgetron/916d8a35-7292-47d0-9cd9-18b99cb52407%40googlegroups.com.
And one more thing. I don't think we have been testing with that version of Matlab (pretty old) so you may run into other problems.
One gotcha is that you need tcsh to be installed for the matlab engine startup script to operate!I'm happy to help you getting this working.Oliver
Yes. I have a complete recipe now. Can I tidy it up a little before submitting to the repo? But if John wants I don't mind sending him the (very) rough notes and associated scripts to try an make sense of.Oliver
I have not followed Oliver's notes for downloading via git into the Docker, recompiling the git download with matlab, or getting the x-windows aspect working.
John.
Now I'm currently working with:
--
You received this message because you are subscribed to the Google Groups "Gadgetron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gadgetron+unsubscribe@googlegroups.com.
To post to this group, send email to gadg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gadgetron/d28d5e34-e9a3-4546-b505-44655fda3320%40googlegroups.com.
https://en.m.wikipedia.org/wiki/Dependency_hell
Oliver