LS Dyna

LS Dyna

Topics related to LS-DYNA, Autodyn, Explicit STR and more.

User subroutine with Parallel Processing using Autodyn

    • Myunghyun Shin
      Subscriber

      Hi there,


      I'm experiencing difficulties in performing parallel computations with subroutine code.

      I'm using the subroutine code sample provided by Autodyn (mdstr_user_1.f90).

      I've built the subroutine code, creating "ad_usrsub.exe" and "ad_usrsub_worker.exe" files.


      When I run ad_usrsub.exe and proceed with parallel operations, I encounter the error shown in the image below.

      Additionally, when I attempt parallel computations through the Autodynwrapper.exe(without ad_usrsub.exe), there's an issue with the recognition of the subroutine code, as illustrated below.

       

      Could you provide guidance on the sequence or method for performing parallel computations with subroutine code?

       

      Thanks and best regards,

      Myunghyun Shin

    • Chris Quan
      Ansys Employee

      To run Autodyn User Subroutine with HPC, you should not use AutodynWrapper.exe. It is used for standard Autodyn release.

      You need to manually create a HPC configuration file "applfile" in your user's ANSYS folder (For example, C:\Users\user_name\AppData\Roaming\Ansys\v232\AUTODYN) and then run mpiexec from there. The detailed instructions can be found from Autodyn Parallel Processing Guide in ANSYS Help at

      Intel MPI: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v232/en/adyn_para/adyn_para_runintel.html

      MS MPI:  https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v232/en/adyn_para/adyn_para_runMS.html

      You need to make sure replace "autodyn.exe" with "adusrsub.exe" and "adworker.exe" with "ad_usrsub_worker.exe"

      • Myunghyun Shin
        Subscriber

        Thank you for your response.

        As you suggested, I successfully executed the "ad_usrsub.exe", which is the result of the subroutine code, using "MS MPI" in serial.

        Unfortunately, when attempting "parallel processing" with "ad_usrsub_worker.exe", I encountered the error shown in the attached image.

        What does this error signify, and are there any solutions to resolve it?

         

        Thanks and best regards,

        Myunghyun Shin

Viewing 1 reply thread
  • The topic ‘User subroutine with Parallel Processing using Autodyn’ is closed to new replies.