General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

    • pv00170
      Subscriber
    • Sampat Kumar
      Ansys Employee

      Please upload the question, Your question is not visible to us. 

      Thanks,
      Sampat

      • pv00170
        Subscriber

        Hi Sampat,

        I had some problems posting the questions! (I posted also in /forum/forums/topic/a-3/)

        The question is:

        I want to run Static Structural (ANSYS 2022R2 Workbench) in an HPC.
        But I cannot find which should be the package to be called (last row).
        Also, the HPC has two modules available: ANSYS/2022R2 and ansys/2022r2-fluids_structs.
        Which one should I use, or it does not matter?
         
        #!/bin/bash
        #SBATCH –job-name=Job
        #SBATCH –partition=shared
        #SBATCH –mem=1G
        #SBATCH –nodes=1
        #SBATCH –ntasks-per-node=20
        #SBATCH –cpus-per-task=1  
        #SBATCH –time=1:00:00
        #SBATCH –error=Error.err
        #SBATCH –output=Output.out
         
        module load ansys/2022r2-fluids_structs
        # module load ANSYS/2022R2
         
        ansys -b -i Project.wbpz
        I get: /var/spool/slurm/d/job194040/slurm_script: line 18: ansys: command not found
         
        ansys222 -b -i Project.wbpz
        I get: /opt/software/pkgs/ansys/2022r2-fluids_structs/ansys_inc/v222/ansys/bin/linx64/ansys.e: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
         
        Do projects have to be .wbpz or .wbpj, or do any of both works?

         

    • peteroznewman
      Subscriber

      Here is a discussion that outlines some steps to learn how to run the solver from a command line on a Windows computer. Practice that before you try to solve on a Linux compuer. You will have to update the command to reflect the version of Ansys you are using.

      /forum/forums/topic/is-there-a-way-to-run-ansys-in-headless-mode/

      • pv00170
        Subscriber

        Hi Peter,

        I have followed the link you sent and also this one
        https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v202/en/ans_ope/Hlp_G_OPE3_4.html

        But I am still encountering the following problems depending on the code

        module load ansys/2022r2-fluids_structs
        ansys222 -b -i Continuous.dat -o vm3.out
        /opt/software/pkgs/ansys/2022r2-fluids_structs/ansys_inc/v222/ansys/bin/linx64/ansys.e: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
        runwb2 -b -i Continuous.dat -o vm3.out or runwb222
        /var/spool/slurm/d/job195655/slurm_script: line 21: runwb2: command not found

        module load ANSYS/2022R2
        runwb2 -b -i Continuous.dat -o vm3.out
        Framework error caught :
        Unknown command line option -o vm3.out, valid options are :
         -A addinsfile: Use addins file 'addins'
         -B           : Run in batch
         -C configfile: Use configuration 'config'
         -D dataFile  : Import an application data file.
         -E statement : Execute a journal statement at startup.  May be repeated.
         -F WBProject : Open a Workbench project file (*.wbpj)
         -I           : Run interactively
         -L language  : Show UI in 'language'
         -R replayfile: Use replay file 'replay'
         -W workspace : Start UI with specified workspace
         -X           : Run interactively & exit upon journal replay end
        ansys222 -b -i Continuous.dat -o vm3.out
        /opt/software/pkgs/ANSYS/2022R2/v222/ansys/bin/linx64/ansys.e: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
        ansys -b -i Continuous.dat -o vm3.out
        /var/spool/slurm/d/job195662/slurm_script: line 23: ansys: command not found

    • peteroznewman
      Subscriber

      Don't waste your time with runwb2 because that is to open the Worbench program. It is not the solver.

      When you run this command: ansys222 -b -i Continuous.dat -o vm3.out
      show the error message to the Linux system admin or support team. That seems to me to be a problem only they can fix.

Viewing 3 reply threads
  • The topic ‘A’ is closed to new replies.