Close

Forum

Technical problem with the installation of SwiftComp, PYTHONPATH

  1. salah elbarnaty

    Dear all,

    I have an issue with the execution of the command "abaqus swiftcomp" on Abaqus command window. It gives me back this error:

     

    "Line "PYTHONPATH $ABA_PATH:$ABA_PATH/$PYVERDIRNAME/lib:$ABA_PATH/tools/SMApy/$PYVERDIRNAME/lib:$ABA_PATH/tools/SMApy/$PYVERDIRNAME/lib/lib-tk:$ABA_PATH/tools/SMApy/$PYVERDIRNAME/lib/site-packages:$ABA_PATH/tools/SMApy/$PYVERDIRNAME/DLLs:$ABA_PATH/tools/SMApy/$PYVERDIRNAME/lib/$PYVERDIRNAME:$ABA_PATH/tools/SMApy/$PYVERDIRNAME/lib/$PYVERDIRNAME/lib-tk:$ABA_PATH/tools/SMApy/$PYVERDIRNAME/lib/$PYVERDIRNAME/site-packages:$ABA_PATH/tools/SMApy/$PYVERDIRNAME/lib/$PYVERDIRNAME/lib-dynload:$ABA_PATH/tools/SMApy/lib:$ABA_PATH/tools/SMApy/lib/lib-tk:$ABA_PATH/tools/SMApy/lib/site-packages:$ABA_PATH/tools/SMApy/DLLs:$ABA_PATH/tools/SMApy/lib/$PYVERDIRNAME:$ABA_PATH/tools/SMApy/lib/$PYVERDIRNAME/lib-tk:$ABA_PATH/tools/SMApy/lib/$PYVERDIRNAME/site-packages:$ABA_PATH/tools/SMApy/lib/$PYVERDIRNAME/lib-dynload:"C:\Users\salah\Desktop\SwiftComp\Windows\SwiftComp.exe".:$PYTHONPATH" has both UNIX and NT syntax"

     

    Do you have an idea about this kind of issues? 

    NB: The path I used is  "C:\Users\salah\Desktop\SwiftComp\Windows\SwiftComp.exe" as described in the Installation instructions.

    PJ: Screenshot of the error message

     

    Thank you very much in advance!

    Salah

    SwiftComp-Error.png

    Reply Report abuse

    Replying to salah elbarnaty

    1. salah elbarnaty

      Dear Su Tian,

      I already tried what you said but I still get this message:






      *D:\ABAQUS-DIRECTORY>abaqus swiftcompAbaqus Error: Command line option
      "swiftcomp" may not be used with "analysis". Valid options for
      use with "analysis" are:['after', 'background', 'convert', 'convert_sdi',
      'cpus', 'csedirector', 'domains', 'double', 'dynamic_load_balancing',
      'field', 'fil', 'globalmodel', 'help', 'history', 'host', 'information',
      'input', 'interactive', 'job', 'madymo', 'memory', 'mp_host_split',
      'mp_mode', 'listenerport', 'oldjob', 'order_parallel', 'output_precision',
      'parallel', 'port', 'performance_summary', 'performance_summary_detail',
      'queue', 'scratch', 'standard_parallel', 'timeout', 'user']Abaqus/Analysis
      exited with error(s).*

      I think I have an issue with the command itself, don't you think so?

      Thank you very much in advance!

      Salah

      Reply Report abuse

      Replying to salah elbarnaty

    2. Su Tian

      Use "/" instead of "\".

      Reply Report abuse

      Replying to Su Tian

    3. Su Tian

      Have you added the command "swiftcomp" in the file "abaqus.app"? Can I see how you did that?

      Reply Report abuse

      Replying to Su Tian

      1. salah elbarnaty

        Yes I have. Here is the screenshot of the of how I introduced the command into the "abaqus.app" file

        Thank you very much again!

         

        Salah

        Abaqus-app-SwiftComp.png

        Report abuse

    4. Su Tian

      Can you try this command?

          abaqus cae -custom SwiftCompGUI

      Reply Report abuse

      Replying to Su Tian

      1. salah elbarnaty

        No it doesn't work that way either, I keep getting the same error message

        SwiftComp-Error.png

        Report abuse

    5. Su Tian

      Here is what I did. This works.

      2023-08-19-10-40-02-Presentation1.pptx---PowerPoint.png

      Reply Report abuse

      Replying to Su Tian