How to query Slurm Array Task ID in Julia?

See discussion here: Combining distributed computing / multithreading

See a test post here: https://www.reddit.com/r/Julia/comments/cynbbb/question_multiprocessing_vs_multithreading/

See benchmarks here: https://phrb.github.io/2019-02-16-intro_parallel_julia/

If you google Distributed vs Threading in Julia, you’ll get a better idea.