How to submit VWT job in cluster

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

How to submit VWT job in cluster with the generated .par file & .nas file in linux cluster ?

 

For acusolve i'm using the command:

acuSub -pb <filename> -np <??> -ppn 12 -q acusim -time <????>

 

similarly how to submit a vwt analysis with the generated .par file & .nas file in linux cluster ?

Tagged:

Answers

  • ydigit
    ydigit
    Altair Employee
    edited March 2014

    Job submission via command line

    $ path_to_acuVwt/acuVwt  path_to_working_directory  parfile_prefix  sub  num_processors(np) num_processors_per_node(ppn)

     

    If there is  cluster management tool (like PBS), then job submission script would have to be altered by cluster admin. You have to invoke acuVwt.sh and not acuRun.

     

    Are you using cluster or workstation?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2014

    Thank you for your reply. I'm using a cluster. In that I've to submit the job in queue. I think PBS is there. below is the output which I got when I submitted a job to the cluster

     

    ........................../Abhi/............ 82 > acuSub -pb AB35_2 -np 60 -ppn 12 -q acusim -time 4320

     

    So, which command should I use to submit the job ?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2014

    the path posted above at 12:08 (today) seems to be correct.

     

    xvfb needs to be installed on the cluster, since the VWT automation calls AcuConslole in the background to setup the case.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2014

    Thank you for your reply.

    So 

    path_to_acuVwt/ ??acuVwt /acuVwt.sh ?? path_to_working_directory  parfile_prefix  sub  num_processors(np) num_processors_per_node(ppn-q ??acusim?? -time 4320

    I've to use acuVwt (or) acuVwt.sh & at the end -q acusim -time xxxx is needed or not ?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2014
    I'm getting error If i execute the following commands :

    /soft/usr/acusim/HyperWorks/V12.0.310/altair/acusolve/linux64/plugins/bin/acuVwt.sh /soft/scratch/Abhi/BusM1-1/ Bus-M-1 sub -np 48 -ppn 12 

    /soft/usr/acusim/HyperWorks/V12.0.310/altair/acusolve/linux64/plugins/bin/acuVwt.sh: Command not found.


    Also getting error if i try with AcuVwt command instead of AcuVwt.sh


    /soft/usr/.../V12.0.310/altair/.../bin/acuVwt /soft/scratch/Abhi/BusM1-1/ Bus-M-1 sub -np 48 -ppn 12

    Executing....<'/soft/.../linux64/plugins/bin/acuVwtScript' '/soft/scratch/Abhi/BusM1-1/' Bus-M-1 sub -np 48>

    Error 1 Executing: '/soft/.../acusolve/linux64/plugins/bin/acuVwtScript' '/soft/scratch/Abhi/BusM1-1/' Bus-M-1 sub -np 48

     

    What to do ?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2014

    instead of '-np 48 -ppn 12' just use '48 12'.

     

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2014

    I am getting the same error 

     

    $ /altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwt /stage/adarshp/vwttest1-07-25-16-44-27 vwtAnalysis sub '10 10'

    Executing....<'/altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwtScript' '/stage/adarshp/vwttest1-07-25-16-44-27' vwtAnalysis sub 10 10>

    Error 1 Executing: '/altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwtScript' '/stage/adarshp/vwttest1-07-25-16-44-27' vwtAnalysis sub 10 10

     


    $ /altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwt /stage/adarshp/vwttest1-07-25-16-44-27 vwtAnalysis sub 10 10

    Executing....<'/altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwtScript' '/stage/adarshp/vwttest1-07-25-16-44-27' vwtAnalysis sub 10 10>

    Error 1 Executing: '/altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwtScript' '/stage/adarshp/vwttest1-07-25-16-44-27' vwtAnalysis sub 10 10

     

    I am unable to find the acuVwt.sh

     

    The shell we are using is : /usr/bin/csh

     

    Could anyone help ?

     

    Also, request the URL to a manual where i can find the commands and their arguments ( there is no help given upon using --help or -help after the scripts or the commands )

  • ydigit
    ydigit
    Altair Employee
    edited July 2014

    AcuSolve commands have a help, that can be called by using '-h' option.

    Eg. acuVwt -h

               Usage: /soft/usr/hw12.0.1/altair/acusolve/linux64/plugins/bin/acuVwt working_directory par_file_prefix

     

    I am bit skeptical about number_of_proc=10 and proc_per_node=10 in the arguments you are using.

     

    Are you using a cluster with job scheduler like PBS or is it a standalone Linux workstation?

    What version of AcuSolve and VWT are you using? Is it AcuSolve 12.0 or 12.0.311? You could check using 'acuRun -h'

  • ydigit
    ydigit
    Altair Employee
    edited July 2014

    AcuSolve commands and their arguments are listed in AcuSolve-Programs-Reference-Manual.pdf

     

    Check for a path similiar to this in your installation. It would PDF documents for help.

    C:\HW12\acusolve\win64\doc

     

    Alternatively, these manuals are available via Resource Library:

    http://www.altairhyperworks.com/ResLibSearchResult.aspx?keywords=AcuSolve&industry=All&product_service=All&category=All

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2014
    @ ydigit: Thanks for the reply

     


    acuRun: Release: 12.0.310

     


     

    [adarshp@admin vwtest]$ /altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwtScript /stage/adarshp/vwtest vwtAnalysis

    X11 connection rejected because of wrong authentication.

    -c: cannot connect to X server localhost:10.0

    acuRun: *** ERROR: undefined problem

    acuRun: Tue Jul 29 19:43:24 2014

    Set Up

    Log File = _undefined.1.Log

    Traceback (most recent call last):

      File '<string>', line 1, in ?

      File 'repMain.py', line 104, in ?

      File 'repWin.py', line 138, in run

      File 'repWin.py', line 402, in compileAndRun

      File '<string>', line 1649, in ?

    ValueError: need more than 2 values to unpack

     


    [adarshp@admin vwtest]$ /altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwtScript /stage/adarshp/vwtest vwtAnalysis sub 20

    Xvfb failed to start

    acuRun: *** ERROR: undefined problem

    acuRun: Tue Jul 29 19:46:17 2014

    acuSub: *** ERROR: undefined problem

     


    [adarshp@admin vwtest]$ /altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwtScript /stage/adarshp/vwtest vwtAnalysis sub 1 20

    Xvfb failed to start

    acuRun: *** ERROR: undefined problem

    acuRun: Tue Jul 29 20:17:14 2014

    acuSub: *** ERROR: undefined problem

     


     

    Each node has 20 CPU cores (2 sockets per node, each socket CPU has 10 CPU cores) and there are 8 nodes.

    My question is : 

    number_of_proc refers to  CPU sockets or number of processor cores

    proc_per_node : refers to CPU sockets or number or processor cores

     

    Request to construct a command requesting    4 nodes  (totaling 80 cores)

     

    Thank you

  • ydigit
    ydigit
    Altair Employee
    edited July 2014

    np & ppn  were misisng from the first command.

    Try starting with following. That would be the easiest way to get started and reduce number of error source.s

     

    /altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwtScript /stage/adarshp/vwtest vwtAnalysis 4 4

     

    It seems Xvfb might not be installed or running.

     

    To see if Xvfb is running: ps -ef  | grep -i xvfb

     

    To check if Xvfb is installed:  rpm -qa | grep -i xvfb   (this is for a RHEL based Linux)

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2014
     


    [adarshp@admin vwtest]$ /altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwt /stage/adarshp/vwtest vwtAnalysis sub 4 4

    Executing....<'/altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwtScript' '/stage/adarshp/vwtest' vwtAnalysis sub 4 4>

    Error 1 Executing: '/altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwtScript' '/stage/adarshp/vwtest' vwtAnalysis sub 4 4

     


    [root@admin aeihwula ~]# lsb_release  -a

    LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch

    Distributor ID: RedHatEnterpriseServer

    Description:    Red Hat Enterprise Linux Server release 6.4 (Santiago)

    Release:        6.4

    Codename:       Santiago

     

     

    [root@admin aeihwula ~]# rpm -qa | grep -i xvfb

     

    [root@admin aeihwula ~]# ps -ef | grep -i xvfb

    root      63074  62483  0 21:13 pts/1    00:00:00 grep -i xvfb

     

    Xvfb  is not installed on the system.

     

    I will install virtual frame buffer and check

     

    Thank you
  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2014

    I installed Xvfb on the system after that:

     

    [adarshp@admin vwtest]$ rpm -qa | grep Xvfb

    xorg-x11-server-Xvfb-1.13.0-11.el6.x86_64

     

     

    [adarshp@admin vwtest]$ /altair/hw/12.0/altair/acusolve/linux64/plugins/bin/acuVwtScript /stage/adarshp/vwtest vwtAnalysis sub 4 4

    Coin error in SoQtGLWidget::SoQtGLWidget(): OpenGL not available!

     

    ^C-c: Fatal IO error: client killed ( it was in hung state, so i have to do Ctrl + C to abort) 

     

    /altair/hw/12.0/altair/acusolve/linux64/plugins/bin/xvfb-run: line 178: kill: (69702) - No such process

    acuRun: *** ERROR: undefined problem

    acuRun: Tue Jul 29 21:37:22 2014

    acuSub: *** ERROR: undefined problem

     

    - Could you please let me know the list of packages to be installed for acuVwt ?

     

    Thank you
  • ydigit
    ydigit
    Altair Employee
    edited July 2014

    If you can run AcuConsole on the system, then acuVwt requires additionally Xvfb.

     

    AcuConsole requires Coin3D and that in turns OpenGL. Check this post.

    http://forum.altairhyperworks.com/index.php?/topic/1941-why-cant-i-get-acuconsole-to-display-properly-on-my-linux-machine/#entry4328