Skip to content

Commit

Permalink
commented call omp_set_dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
ctroupin committed May 30, 2013
1 parent 0c27e8a commit 40d88cc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions DIVA3D/src/Fortran/Calc/newsol.f
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,12 @@ subroutine newsol(skmatx,VKGD,VFG,KLD,NEQ,IFAC,ISOL)
! Get (actual) number of threads

write(6,*) 'Dynamic threading'
call omp_set_dynamic(ntt)
! Commented 30 May 2013
! need further tests
! possible problem with certain Linux distributions
! call omp_set_dynamic(ntt)
!--------------------------------------------------

nthreads=omp_get_max_threads()
write(6,*) 'NTHREADS',nthreads
! Initializations
Expand Down Expand Up @@ -365,4 +370,4 @@ subroutine newsol(skmatx,VKGD,VFG,KLD,NEQ,IFAC,ISOL)

#endif
return
end
end

0 comments on commit 40d88cc

Please sign in to comment.