mrirecon / bart

BART: Toolbox for Computational Magnetic Resonance Imaging
https://mrirecon.github.io/bart/
BSD 3-Clause "New" or "Revised" License
301 stars 164 forks source link

How to install packages without sudo access #307

Closed thechidiya closed 1 year ago

thechidiya commented 1 year ago

Hi,

Thank you for making the code available. I want to install bart on Slurm cluster, however, I don't have sudo access. How can I install the binaries without sudo access? If you have leads on this that will be very helpful.

Thanks!

uecker commented 1 year ago

You may get a quicker answer via the mailing list...

One does not necessarily need sudo rights if all required libraries are already installed on the cluster. Then one can either compile it on the cluster or copy a binary to the cluster (then one has to compile it on a compatible environment). Another possible is to compile it statically (using the SLINK=1 flag in a Makefile.local, see doc/building.txt), then there are no dependencies and the binary should work on all recent Linux systems.