LS Dyna

LS Dyna

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

LS-DYNA Usermat Version – Compiling Issues

    • Dylan Centella
      Subscriber

      I am currently trying to compile a UMAT version of LS-DYNA R.12 but I do not have access to the Fortran compiler required for LS DYNA R.12 (Intel Parallel Studio 2017). As far as I am aware, the Intel Parallel Studio library has been deprecated and all of its components have been moved to Intel oneAPI toolkits so it is not possible to get a hold of a license for this library. We would like to ask what version of LS-DYNA would be compatible with the Intel oneAPI toolkit, specifically the 2023 version of this toolkit, which is the version that is currently available for download. Is it R.13 or R.14? Also, how can we access the corresponding UMAT version?

      Thanks in advance,

    • Ushnish Basu
      Ansys Employee

      The latest release version of LS-DYNA, which is R14, uses Intel Fortran 2019. We deliberately do not use the latest version of the compiler as it may have bugs that need to be sorted out. So you would have to arrange to get ifort 2019 from Intel, which should be available.

       

      • Oleg Makarov
        Subscriber

         

        Dear Ushnish Basu! I have issues with compiling LS-Dyna R14 too.

        Firstly I tried to use Microsoft VS 2022 + latest oneAPI. When I used ‘nmake’ to compile LS-Dyna executable I got some error (don’t remember the exact logs).

        Secondly, I saw this post and your recomendation to install Inter Fortran Compiler 19.0. Therefore I uninstall all abovementioned software, reinstall Win10, and installed VS 2015  + Intel Parallel Studio XE Cluster Edition 2019 Update 5 (Intel Fortran compiler 19.0). But unfortunately, I am still not able to compile the LS-Dyna executable. When I use ‘nmake’ in the command window I receive the following Error:

                /opt/intel/compilers_and_libraries_2019/linux/bin/intel64/ifort -sox -o lsdyna ./obj/init_once.o ./obj/init_dyn21.o ./obj/dynm.o ./obj/banner.o ./obj/sec.o ./obj/dyn21.o ./obj/dyn21umat.o ./obj/dyn21umats.o ./obj/dyn21umatv.o ./obj/dyn21umatc.o ./obj/dyn21tumat.o ./obj/dyn21utan.o ./obj/dyn21ueos.o ./obj/dyn21cnt.o ./obj/dyn21ushl.o ./obj/dyn21usld.o ./obj/dyn21extumat.o ./obj/dyn21em.o ./obj/dyn21icfd.o ./obj/couple2other_user.o ./obj/dynrfn_user.o ./obj/adummy_graph.o ./obj/orderByMetis.o ./obj/mod_impl_matrices.o ./lib/libdyna.a ./lib/libbcsext4.a ./lib/liblsda.a ./lib/liblsdb.a ./lib/liblssecurity.a ./lib/liblcpack.a ./lib/libmf2.a ./lib/libspooles.a ./lib/liblcpack.a ./lib/libspooles.a ./lib/libcparse.a ./lib/liblsm.a ./lib/liblscrypt.a ./lib/libresurf.a ./lib/libdsa.a ./lib/liblsmc.a ./lib/libsfg.a ./lib/libevl.a ./lib/libcminpack.a ./lib/libzmumps.a ./lib/libdmumps.a ./lib/libmumps_common.a ./lib/libmumps_mpiseq.a ./lib/libmetis.a ./lib/libim_rotor_dynamics.a ./lib/libarpack.a ./lib/libmcms.a ./lib/liblso.a ./lib/libunits.a ./lib/libem.a ./lib/libfemster_wrap.a ./lib/libfemster_wrap2d.a ./lib/libfemster_wrap1d.a ./lib/libfemster.a ./lib/libfemster2d.a ./lib/libfemster1d.a ./lib/libpfem.a ./lib/libcese.a ./lib/libchemistry.a ./lib/libem_tailsit.a ./lib/libem.a ./lib/libparticles.a ./lib/libeosfl2.a ./lib/libpfem.a ./lib/libmoving.a ./lib/libdualcese.a ./lib/libbattery.a ./lib/libfftw3.a ./lib/libfftw3_omp.a ./lib/libansysl.a ./lib/libdyna.a ./lib/libmetis.a ./lib/libspooles.a ./mkl/libmkl_intel_ilp64.a ./mkl/libmkl_intel_thread.a ./mkl/libmkl_core.a ./mkl/libmkl_intel_ilp64.a ./mkl/libmkl_intel_thread.a ./mkl/libmkl_core.a ./mkl/libmkl_intel_ilp64.a ./mkl/libmkl_intel_thread.a ./mkl/libmkl_core.a -qopenmp-link=static -static-intel  -qopenmp -lrt -lstdc++ -lpthread -lstdc++ -lpthread
        The system is unable to find the specified path.
        NMAKE : fatal error U1077:  : returned code “0x1″
        Stop.

        Why it is not working? How can I fix this issue?

         

    • Rachit Sharma
      Subscriber

      What about intel parallel studio and visual studio version compatibility with Ansys 2023 Ls dyna?

    • Ushnish Basu
      Ansys Employee

      The readme.txt for the R14 usermat package says that it uses VS 2019. Please try with that version and make sure to follow the instructions in the readme file

       

      • Oleg Makarov
        Subscriber

        Unfortunatelly it is impossible to correctly install Intel Fortran Compiler 19.0 with VS 2019 since recent updates to Microsoft.VisualStudio.Setup.Configuration.Native.dll library provided by Microsoft as part of the Visual Studio installation. See https://www.intel.com/content/www/us/en/developer/articles/technical/vs2022-and-oneapi-install-issue.html

        I tried to install VS 2019 (and also VS 2017) with Intel Parallel Studio 2019 but it was unsuccessful because of abovementioned problem. That's why I changed VS 2019 to VS 2015.

        What can I do in such situation?

         

         

    • Ushnish Basu
      Ansys Employee

      That page mentions only VS 2022 and 2017, 2019 should be OK ideally. We build our executables with that combination (VS 2019 and Parallel Studio 2019)

      • Oleg Makarov
        Subscriber

        Unfortunately VS 2019 doesn't work too. Could you please tell what exact version of VS 2019 do you use? The lastest is VS 2019 (v. 16.11), which was released much later than even Parallel Studio 2020. Maybe you use earlier version of VS 2019, for example, v. 16.2.0?

    • Ushnish Basu
      Ansys Employee

      I missed this earlier, but it seems you were trying to compile the Linux usermat package on Windows:

      " /opt/intel/compilers_and_libraries_2019/linux/bin/intel64/ifort ..."

       

Viewing 5 reply threads
  • The topic ‘LS-DYNA Usermat Version – Compiling Issues’ is closed to new replies.