Skip to content

Commit

Permalink
fix no omp build (grimme-lab#984)
Browse files Browse the repository at this point in the history
Signed-off-by: albert <[email protected]>
Signed-off-by: Johannes Gorges <[email protected]>
  • Loading branch information
Albkat authored and gorges97 committed Mar 27, 2024
1 parent 6f5ce46 commit dd95346
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 dd95346

Please sign in to comment.