13.1 Utility routines to obtain parallel processes information

Products: Abaqus/Standard  Abaqus/Explicit  

Benefits: You can now obtain the number of processes and the rank of the process from any user subroutine in Abaqus.

Description: Utility routines GETNUMCPUS and GETRANK can be called from any Abaqus/Standard user subroutine. GETNUMCPUS returns the number of MPI processes, and GETRANK returns the rank of the MPI process from which the function is called. For example, in a hybrid MPI and thread parallel execution scheme, multiple threads may all return the rank of their parent MPI process.

Utility routines VGETNUMCPUS and VGETRANK can be called from any Abaqus/Explicit user subroutine in a domain-parallel run. VGETNUMCPUS provides the number of processes used for the parallel run, and VGETRANK provides the individual process rank.

References:

Abaqus Analysis User's Manual

Abaqus User Subroutines Reference Manual