forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14147 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
869b8f9d3a
commit
3830813864
|
@ -178,6 +178,9 @@ FixIntel::FixIntel(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg)
|
|||
// nomp is user setting, default = 0
|
||||
|
||||
#if defined(_OPENMP)
|
||||
#if defined(__INTEL_COMPILER)
|
||||
kmp_set_blocktime(0);
|
||||
#endif
|
||||
if (nomp != 0) {
|
||||
omp_set_num_threads(nomp);
|
||||
comm->nthreads = nomp;
|
||||
|
|
Loading…
Reference in New Issue