Is there a way to start a (non-interactive) Julia process that automatically determines the sensible automatic number for theads but if that is higher than some threshold, limits it to the latter?
Eg on a laptop with 8 cores I would want to use 8 (which I get with julia -t auto), but on a server with 100+ cores I am sharing with others I would want to max out at, say, 24 to be a good citizen, and I want to use the same scripts on both without too much hassle.