We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General

General

How to check the task ID via User Fortran Subroutine in a parallel Autodyn run

    • FAQFAQ
      Participant

      When executing Autodyn with a subroutine in a parallel mode, each task will have and execute its own instance of the subroutine. In order to differentiate which task is executing the subroutine the user can check the variable MYTASK. In order to access this variable the user has to add the line USE mdpp, ONLY : MYTASK in the section with the USE statement of the subroutine of interest. If the user runs Autodyn with n cores, he will have n+1 processes: 1 master process and n slave processes. MYTASK will then have values between 0 (master process) and n (1-n is the range of the slave tasks).