You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat test.f90program taskgroup_example use omp_lib implicit none integer :: i !$omp parallel !$omp single !$omp taskgroup do i=1,5 !$omp task call do_work(i) !$omp end task end do !$omp end taskgroup !$omp end single !$omp end parallelcontains subroutine do_work(i) integer, intent(in) :: i print*, "Task ", i, " started" ! Do some work here print*, "Task ", i, " finished" end subroutine do_workend program taskgroup_example
Stack dump:
#0 0x000055a3abe9dbac llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) #1 0x000055a3abe9e1ee SignalHandler(int) Signals.cpp:0:0 #2 0x00007f16043ef520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520) #3 0x000055a3ac27dc2b Fortran::frontend::CodeGenAction::executeAction() #4 0x000055a3abebd344 Fortran::frontend::FrontendAction::execute() #5 0x000055a3abeb57b1 Fortran::frontend::CompilerInstance::executeAction(Fortran::frontend::FrontendAction&) #6 0x000055a3abebf9c0 Fortran::frontend::executeCompilerInvocation(Fortran::frontend::CompilerInstance*) #7 0x000055a3abb9a7b2 fc1_main(llvm::ArrayRef<char const*>, char const*) #8 0x000055a3abb98980 main #9 0x00007f16043d6d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16#10 0x00007f16043d6e40 call_init ./csu/../csu/libc-start.c:128:20#11 0x00007f16043d6e40 __libc_start_main ./csu/../csu/libc-start.c:379:5#12 0x000055a3abb97f05 _startflang-new: error: unable to execute command: Segmentation faultflang-new: error: flang frontend command failed due to signal (use -v to see invocation)flang-new version 17.0.0 (https://github.com/llvm/llvm-project.git 7fff3bfe783953eee18446d30de2f17fe1b68bab)Target: x86_64-unknown-linux-gnuThread model: posix
Test code:
Stack dump:
Program arguments:
cf.
The text was updated successfully, but these errors were encountered: