Command: Rank

NEST HelpDesk Command Index NEST Quick Reference

Name:
 Rank - Return the MPI rank of the process.
Synopsis:
 Rank -> int
Description:
     Returns the rank of the MPI process (MPI_Comm_rank) executing the
     command. This function is mainly meant for logging and debugging
     purposes. It is highly discouraged to use this function to write
     rank-dependent code in a simulation script as this can break NEST
     in funny ways, of which dead-locks are the nicest.
Availability:
 NEST 2.0
Author:
 Jochen Martin Eppler
FirstVersion:
 January 2006
SeeAlso:NumProcesses SyncProcesses ProcessorName
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/nestkernel/nestmodule.cpp

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative