Fixed the python script (set_smp_affinity)