Running NeoHookeanPI Plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ishangupta000794
    Junior Member
    • Apr 2019
    • 27

    Running NeoHookeanPI Plugin

    Dear all,

    I'm trying to run the NeoHookean material plugin available on the website. I have
    • put in the path of .dll file in febio.xml.
    • PluginInitialise is already correct.

    After that I tied to run FEBio, I got the following errors
    • Failed loading plugin (Reason:failed to load the file)
    • dlopen failed:*path to .dll file*: invalid ELF header

    Can someone please help me to figure out the mistake I'm making?
  • maas
    Lead Code Developer
    • Nov 2007
    • 3400

    #2
    Hi,

    This error is only thrown when the file failed to load, which is either because the path you specified is incorrect, or the file is not a proper shared object. Given the dlopen error, I'm guessing the latter. Since you mention dll I suspect you are using the dll file on Linux, which won't work. The .dll file is only for Windows. On Linux you'll need the .so file which should be part of the zipped file you got from the febio website.

    Cheers,

    Steve
    Department of Bioengineering, University of Utah
    Scientific Computing and Imaging institute, University of Utah

    Comment

    • ishangupta000794
      Junior Member
      • Apr 2019
      • 27

      #3
      Hi Steve,

      You are right. I'm using Linux. I changed the address in .xml file from .dll to .so but still i get the following errors:
      -Failed loading plugin (Reason:failed to load the file)
      -dlopen failed:libimf.so: cannot open shared object file: No such file or directory

      Still can't solve it

      Comment

      • mherron
        Developer
        • Aug 2016
        • 95

        #4
        Hi,

        I think that there might be a problem with the linux library that we currently have on the website. Would you please download a new copy of the library from this link, and let me know if it works for you.

        If it does, we'll update the website.

        Thanks,

        Michael Herron

        Comment

        • ishangupta000794
          Junior Member
          • Apr 2019
          • 27

          #5
          Hi,

          I tried using it. Now it says 'Failed loading plugin. Reason: Invalid SDK Version'. I looked at the manual but I don't know how to correct this.

          Thank You,
          Ishan Gupta
          Institute of Applied Mechanics
          TU Graz

          Comment

          • mherron
            Developer
            • Aug 2016
            • 95

            #6
            You should only be getting this error if you're using an older version of FEBio. Run FEBio and check which version it says that you're using. If it's not at least 2.9, please download the newer version from the website.

            Thanks,

            Michael Herron

            Comment

            • ishangupta000794
              Junior Member
              • Apr 2019
              • 27

              #7
              Hi,

              Everything works fine now. Thank you so much for the support

              Thank You,
              Ishan Gupta
              Institute of Applied Mechanics
              TU Graz

              Comment

              Working...
              X
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎