Next: Working in parallel, Previous: Shared-memory parallelization, Up: Shared-memory parallelization [Contents][Index]
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.