copied from stampede.
on stampede, dynamic threading seems working.