Skip to content

Commit

Permalink
fix no omp build (#984)
Browse files Browse the repository at this point in the history
Signed-off-by: albert <92109627+Albkat@users.noreply.github.com>
  • Loading branch information
Albkat committed Mar 6, 2024
1 parent 75e6a61 commit 80f2695
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/extern/orca.f90
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,12 @@ subroutine writeOrcaInp(env,io,mol,input,mode)
write(io,'("#",1x,a)') &
"ORCA input is generated automatically. Not correct way."

num_threads = 1 ! default

! number of cores !
!$omp parallel
!$omp master
num_threads = omp_get_num_threads()
!$ num_threads = omp_get_num_threads()
!$omp end master
!$omp end parallel

Expand Down

0 comments on commit 80f2695

Please sign in to comment.