abort-2.f90 202 B

1234567891011121314
  1. program main
  2. implicit none
  3. integer :: argc
  4. argc = command_argument_count ()
  5. !$acc parallel copyin(argc)
  6. if (argc .ne. 0) then
  7. call abort
  8. end if
  9. !$acc end parallel
  10. end program main