Question QG-002:

How can I run the ADINA programs in batch mode?

Answer:

The ADINA programs on are usually run in the interactive mode. However, sometimes you may want to use the programs in batch mode in order to run several jobs consecutively without user input (for example, submitting jobs for an overnight program run).

In Windows, the batch command to run ADINA-AUI is:

    ...\aui.exe -b -m <MEM>[b|w] <file>.[in|plo]
  
where ...\ refers to the full path where aui.exe is located. The memory value, <MEM> is specified in bytes(b) or words(w). (1 word = 4 bytes on 32-bit Windows and 1 word = 8 bytes on 64-bit Windows.)

For example, to run the input file prob02.in in batch mode with 20 Megabytes of memory the command will be (assuming ADINA is installed in c:\adinaNN\):

On 32-bit Windows (node-locked or floating license):

    c:\adinaNN\x32\aui.exe -b -m 20mb prob02.in
  

On 64-bit Windows (node-locked license):

    c:\adinaNN\x64\aui.exe -b -m 20mb prob02.in
  

On 64-bit Windows (floating license):

    c:\adinaNN\bin\aui.exe -b -m 20mb prob02.in
  

Note that in specifying the <MEM> value, m can be used for Mega, k for Kilo, and g for Giga.

In Linux, the batch command to run ADINA-AUI, version N.N, is:

    auiN.N  -m <MEM>[b|w] -cmd -s <file>.[in|plo]
  

The memory value, <MEM> is specified in bytes(b) or words(w). (1 word = 4 bytes on 32-bit Linux and 1 word = 8 bytes on 64-bit Linux.) When specifying the <MEM> value, m can be used for Mega, k for Kilo, and g for Giga.

For example, to run the input file prob02.in in batch mode with 20 Megabytes of memory the command will be:

    auiN.N -m 20mb -cmd -s prob02.in
  

 

 

 
In Windows, the batch command to run the ADINA solution is:
     ...\<prog>.exe -b -s -mm <MMAX>[b|w] -t <#cpu> <file>.dat
  
where <prog> is adina, adinaf, adinat, adfsi, or adtmc and ...\ refers to the full path where <prog>.exe is located. <MMAX> is the maximum memory that is allowed for the solution and <#cpu> specifies the number of processors to use.

For example, to run an ADINA analysis on file prob02.dat in batch mode with maximum memory of 100 Megawords, and using 2 processors, the command will be:

On 32-bit Windows (node-locked or floating license):

    c:\adinaNN\x32\adina.exe -b -s -mm 100mw -t 2 prob02.dat
  

On 64-bit Windows (node-locked license):

    c:\adinaNN\x64\adina.exe -b -s -mm 100mw -t 2 prob02.dat
  

On 64-bit Windows (floating license):

    c:\adinaNN\bin\adina.exe -b -s -mm 100mw -t 2 prob02.dat
  

Note that in specifying the <MMAX> value, m can be used for Mega, k for Kilo, and g for Giga.

In Linux, the batch command to run the ADINA solution, version N.N, is:

     adinaN.N -mm <MMAX>[b|w] -t <#cpu> <file>.dat
  
where <MMAX> is the maximum memory that is allowed for the solution and <#cpu> specifies the number of processors to use. When specifying the <MMAX> value, m can be used for Mega, k for Kilo, and g for Giga.

For example, to run an ADINA analysis on file prob02.dat in batch mode with maximum memory of 100 Megawords, and using 2 processors, the command will be:

    adinaN.N -mm 100mw -t 2 prob02.dat
  

The adinaN.N script can run any of the solver programs (Structures, CFD, etc.); the corresponding program is invoked depending on the type of data (.dat) file. For more details on its use, type:

    adinaN.N -help
  

 

ADINA logo