optistruct parallel job on multi node

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

Hi,

I have installed optistruct solver on cluster. I have 4 nodes in cluster and each node have 32 cpus.

I want to run optistruct analysis job via command line on linux system.

 

/gscratch/apps/hwsolvers/altair/scripts/optistruct  input_file.fem -nproc 64 &

 

the job is running on only 32 cpus not on 64 cpus.

please let me know what options i need to place on command line to run on multiple nodes.

Answers

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited July 2019

    Normally on any cluster system, you have a 'Job scheduler' like SGE, Moab, PBS,...

    So you have to run your job through this such system.

    Ask your Cluster admin.

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited July 2019

    Basically if you have the hostnames in a hostfile.txt:

     

    optistruct input.fem –hostfile ./hostfile.txt [-np <NUMBER OF MPI PROCESSES>] [-mpi <i|pl>]

     

    • The input files must be available from all nodes in the same path. This can be done by copying the input files to identical paths on all nodes or mount the folder containing the input files to all nodes.
    • Scratch files ought to be written to local high performance disk on each node.

    Please check advanced installation guide for more details.

    Unable to find an attachment - read this blog

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited July 2019

    You could run job by that way. But it's NOT a good idea bypassing the Cluster's Job scheduler.

    Myself I'm HPC Cluster admin, so I know what you have to do. My best advice for you is asking your Cluster admin.