Next: , Previous: , Up: Shared-memory parallelization   [Contents][Index]


4.6.1.1 Allocating a new kernel

By default, FEMLISP starts in serial mode (this may change in later versions). You can allocate a new worker pool by issuing the command

(new-kernel)

This should allocate a worker pool (a “kernel”, as the underlying library lparallel calls it) which is adapted to your machine’s architecture (more precisely, it depends on how much Femlisp can find out about it using the system command “lscpu”).

Alternatively, you can give new-kernel as parameter the number of workers which you want to use.