Jump to content
Sign in to follow this  
alpha

How to run Acusolve on Linux commands?

Recommended Posts

Hi Acusolve Experts,

 

I can submit Acusolve jobs via command windows. image.png.1b7790c128e587b0472b3de938f78077.png

However, I have to run from AcuSolve Cmd Prompt, not directly from Windows cmd. Then I do not know how to run on Linux CentO.S

image.png.423bbda9ba6fd91ccac5be61d0886af5.png

Could you advise for this case?

Thank you!

Share this post


Link to post
Share on other sites

Let's assume you've changed to the directory that contains the .inp file and MESH.DIR directory.

 

acuRun  -pb  demo  -inp  t1.inp  -np  4

 

should do it.  In general,  acuRun  -h  will give you complete set of options.  You can also review the 'acuRun' section of the Programs Reference Manual.

Share this post


Link to post
Share on other sites

Hi Acupro,

 

Thanks for your advice but I do the same as your instruction and face the below errors:

acuRun: Log is redirected to: demo.1.Log
acuRun: *** ERROR: error occurred executing acuPrep
acuRun: Fri Mar 29 23:12:09 2019

Share this post


Link to post
Share on other sites

Please post either the Log file, or the actual error messages in the Log file.  (Or is the above the entire contents of the Log file?)  Have you contacted your local Altair support team?

Share this post


Link to post
Share on other sites

Hi acupro,

 

Now I already can run Acusolve on Linux cluster successfully. We can close this topic.

Few mistakes I learnt here are:

1) Firstly, I need to CD(change directory) to ...Altair/2019/Acusolve/Linux64/bin

2) I have to define "-pdir". The input data must be:

         a) *.inp file

         b) Meshing folder "HYPERMESH.DIR"

3) I have to update license.

image.thumb.png.25efd8b575a83e349b1173aba4246402.png

Share this post


Link to post
Share on other sites

Right.  You need to establish the AcuSolve environment.  It looks like you're running bash.  As explained in the HyperWorks Installagion Guide, you should include the following in your ~/.profile file

 

source  $INSTALL_DIR/altair/acusolve/linux64/script/acusim.sh

 

$INSTALL_DIR is the chose installation directory.  Then you can issue the acuRun command with options from your problem directory.  (You can use     which  acuRun     to make sure you've correctly established the environment.)  You can also add that line to set the ALTAIR_LICENSE_PATH environment variable to your ~/.profile file.

 

We typically use the local (in the problem directory) Acusim.cnf file to specify the problem name and other options.
 

alpha likes this

Share this post


Link to post
Share on other sites

Hi AcuPro,

 

Now I am trying to submit Acusolve jobs via PBS command.

#!/bin/bash
#PBS -N Optistruct_Test_1
#PBS -l select=1:ncpus=24:mem=60GB

$ALTAIR_HOME/ Acusolve/Linux64/bin/acuRun -inp "1.inp"  -nt 14

 

But it does not generate any things.

I can do the same with Optistruct easily.

Share this post


Link to post
Share on other sites

You'll be better off using the   acuSub   command to submit through PBS.  It will create the script for you and submit the job.  See

 

acuSub  -h

 

for usage and options.  Again, you'll need to source the appropriate acusim.sh script first, in order to use acuSub.

 

In your script, it looks like you want to use 24 cores from a single compute node.  (select=1:ncpus=24).  You don't need to include anything about mem.  Then in your acuRun command, you don't need quotes around the name of the .inp file (and I suggest you not start the name of the .inp file with a number), then you have -nt 14.

 

Let's say your input file is test_run1.inp instead.  What about:

 

$ALTAIR_HOME/ Acusolve/Linux64/bin/acuRun  -inp  test_run1.inp  -np  24  -nt  _auto  -do  all  -pbs_attach  -pbs

 

Still - I suggest you try acuSub, and then look at the submit script it generates.

 

acuSub  -pb  test_run1  -np  24  -ppn  24  -sched  pbspro  -pbs_attach

 

again, assuming your inp file is test_run1.inp, you want to use 24 physical cores on a single compute node, and you're using the licensed pbs

 

alpha likes this

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...