mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-21 11:53:32 +01:00
openMP bug corrected
This commit is contained in:
parent
6aa8f2d4a1
commit
23efc552ac
@ -57,15 +57,7 @@ subroutine irp_enter(irp_where)
|
||||
"""
|
||||
if not do_openmp:
|
||||
txt += """
|
||||
!$ integer, external :: omp_get_thread_num
|
||||
!$ integer, external :: omp_get_num_threads
|
||||
ithread = 0
|
||||
!$ ithread = omp_get_thread_num()
|
||||
if (ithread /= 0) then
|
||||
print *, 'Error: Provider is called by thread', ithread
|
||||
call irp_trace
|
||||
stop 1
|
||||
endif
|
||||
"""
|
||||
else:
|
||||
txt += """
|
||||
|
Loading…
Reference in New Issue
Block a user