Julia: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 175: Line 175:
  MPI.Barrier(comm)
  MPI.Barrier(comm)


= Configuring Julia's threading behavior = <!--T:35-->
= Configuring Julia's threading behaviour = <!--T:35-->
You can restrict the number of threads Julia can use by setting JULIA_NUM_THREADS=k, for example a single process on a 12 cpus-per-task job could use k=12.  
You can restrict the number of threads Julia can use by setting JULIA_NUM_THREADS=k, for example a single process on a 12 cpus-per-task job could use k=12.  
Setting the number of threads to the number of processors is a typical choice (although see [[Scalability]] for a discussion).  
Setting the number of threads to the number of processors is a typical choice (although see [[Scalability]] for a discussion).  
rsnt_translations
56,420

edits

Navigation menu