Skip to Main Content
Table 1:
Commands Commonly Used in This Paper.
FunctionUsageDescription
Housekeeping functions 
     Return the number of ranks; generally taken from mpiexecn
     Return identity (rank) of this process as number from 0 (the Master) to nhost −1 
     Hold execution until all ranks reach this point in program 
Internode communication 
     Send the ith object in the LIST (length nhost) to rank i 
  (often only LIST[0] populated in order to send just to Master) 
Simulation functions 
        Interval between spike exchange computed as the smaller of MAX and the global minimum NetCon delay 
        Integrate simulation up to tstop 
Cell and synapse function 
     Global identifier (gid) exists on this rank (only if this rank == RANK) 
     Returns 0 if the gid does not exist on this rank 
     Associate GID with a specific source of spikes defined by the source argument of h.NetCon() 
  (can only be executed on the rank where both the GID and spike source exist) 
     Connects the spike source PREGID with synapse SYN 
  (this retained NetCon establishes the weight vector and delay and must exist on the rank where SYN exists) 
     Times go in VEC1, gids in VEC2, -1 means to record from all cells (on per node basis) 
     Return cell associated with GID 
Review of major variables, objects, functions, etc used in NEURON 
        Time step for numerical integration (preset for fixed time step method) 
        Current simulation time 
        An unbranched cylinder (cable) in NEURON 
        Network connection object 
        r.Random123(gid,…) then provides independent per gid streams 
        Create (allocate) a vector and start with it empty for recording 
        Python routine will be called at time t 
      State variable pointer  Example of pointer to v at location 0.5 in section soma; in hoc: &soma.v(0.5) 
FunctionUsageDescription
Housekeeping functions 
     Return the number of ranks; generally taken from mpiexecn
     Return identity (rank) of this process as number from 0 (the Master) to nhost −1 
     Hold execution until all ranks reach this point in program 
Internode communication 
     Send the ith object in the LIST (length nhost) to rank i 
  (often only LIST[0] populated in order to send just to Master) 
Simulation functions 
        Interval between spike exchange computed as the smaller of MAX and the global minimum NetCon delay 
        Integrate simulation up to tstop 
Cell and synapse function 
     Global identifier (gid) exists on this rank (only if this rank == RANK) 
     Returns 0 if the gid does not exist on this rank 
     Associate GID with a specific source of spikes defined by the source argument of h.NetCon() 
  (can only be executed on the rank where both the GID and spike source exist) 
     Connects the spike source PREGID with synapse SYN 
  (this retained NetCon establishes the weight vector and delay and must exist on the rank where SYN exists) 
     Times go in VEC1, gids in VEC2, -1 means to record from all cells (on per node basis) 
     Return cell associated with GID 
Review of major variables, objects, functions, etc used in NEURON 
        Time step for numerical integration (preset for fixed time step method) 
        Current simulation time 
        An unbranched cylinder (cable) in NEURON 
        Network connection object 
        r.Random123(gid,…) then provides independent per gid streams 
        Create (allocate) a vector and start with it empty for recording 
        Python routine will be called at time t 
      State variable pointer  Example of pointer to v at location 0.5 in section soma; in hoc: &soma.v(0.5) 
Close Modal

or Create an Account

Close Modal
Close Modal