In this blog, quick reference notes about OpenFOAM are posted in a form of a summary to address a specific topic per post, which I think could be helpful as a reminder for my Alzheimer condition
Processor Affinity to Enhance Speed
To enhance the speed of running a solver one can use a "hard" assignment of the job to a specific core. This reduces the work needed to switch jobs between cores and enhances the speed. It is really neat if you need to do some other work on the workstation while the run is going on in the background.
This command assigns job 10640 to the 5th core "cores start at zero".
# apt-get install schedtool
$ schedtool -a 5 10640
Total Comments 0