Usage: jcmwave_set_num_threads(num_of_threads|cpu_affinity_list)

  Sets number of threads used by JCMsolve for parallelization on SMP
  machines. It is also possible to bind the threads to certain CPUs.

  num_of_threads: number of parallel threads to be used by JCMsuite
    , or,
  cpu_affinity: a string containing the CPU to be used.
    The string is expected in the format for the processor list (proclist)
    as inthe environmental variable
      GOMP_CPU_AFFINITY (Linux), or KMP_AFFINITY (google this)
      The number of threads is automatically adapted to the number of addressed

  If empty the default configuration is used.

  A value larger than the number of idle CPUs may cause a performance loss.