Command: nest_serial

NEST HelpDesk Command Index NEST Quick Reference

Name:
 nest_serial  - Returns a non-distributed call of nest as a string

Synopsis:
  (sli-filename) nest_serial -> (string with shell command)

Description:
If nest was compiled with MPI it may be unsafe to directly call the binary to
obtain a non-distributed version. The command nest_serial looks up the appropriate 
way to call nest and returns a suitable command as a string. The algorithm is as
follows:
  1. if nest is not compiled with MPI, return "nest"
  2. if sli command /mpirun is defined, return this with
     the -np 1 equivalent
  3. issue and error with the message that nest was compiled with MPI 
     but no method to call nest has been specified. 

Diagnostics:
This function issues an error if NEST was compiled with MPI but is not aware of 
a safe method to call a non-distributed version of nest.

Examples:
 (hello.sli) nest_serial -> (mpirun -mca btl self,tcp -np 1 /home/dummy/nest/bin/nest hello.sli)

Author:
 Diesmann

FirstVersion:
 090711

SeeAlso:nest_indirect
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/lib/sli/processes.sli

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative