dvhar / shape

Enigma Shape adapted for Slurm and GridEngine clusters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shape

enigma shape adapted for GridEngine and Slurm clusters

setup:

In the 3 main scripts, there is a line saying "Change this to your enigma directory". Do that. You could also use the Ansible role in the MRI repo.

To enable the 3d renderer, make sure the "viewer" directory is being served by a webserver. Make sure the files directory is writable by whoever will be using it. Set the variable "urlPath" in loader.js to fit your server setup.

shape processor usage:

For slurm clusters, use the scripts ending in .slurm. For grid-engine clusters, use the scripts ending in .qsub. The after_shape.sh script doesn't care what kind of cluster you have.

Run each script without any arguments to get the usage information. First run "batch_shape" to submit jobs. If they don't all process for some reason, run "gettherest" to get the rest of the subjects. When all jobs are done, run "after_shape.sh" to generate 2 big csv files from the processed data. This one runs locally but should only take a few minutes.

shape viewer usage:

Go to a subject directory with the shape output files (specifically the resliced_mesh files) and run the "render" script (not render.js) in the viewer directory to copy the mesh files to the rendering directory. Go to the url where the rendering script is being served to see the 3d render.

License:

MIT

About

Enigma Shape adapted for Slurm and GridEngine clusters


Languages

Language:Mercury 47.0%Language:MATLAB 41.0%Language:M 9.1%Language:Shell 1.4%Language:Perl 0.8%Language:R 0.7%