Using a normal processors for HPC

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
hagopbul
Messages
397
Reaction score
45
Hello all:

Can you use current of shelf multicore PC as a high performance computer

Can it handle the job ?
Dose the outcome data tables and simulation results , is correct and with low error margins

With out gpu like cuda or opencl

Best
Hagop
 
on Phys.org
Can you utilities the multiple core or it will look like single core
 
hagopbul said:
Can you utilities the multiple core or it will look like single core
That entirely depends on the program you are running. The correct term is 'thread'. If your program is made to utilize multiple threads ('multithreading') then (by default) it might run on more than one core: if it is a single thread code then it will 'see' only one core.
The term 'core' is a bit misleading since these days a core might run multiple threads in the same time (depending on the core/CPU type).
 
If you write your own program you can write it in a language that allows you to define many independent threads that can be run in parallel. The operating system will run those threads on many cores as cores becomes available. Semaphores between the threads must synchronise the execution of the threads.

OpenCL makes it easier to generate the many parallel threads.
You do not need GPU hardware to benefit from the OpenCL software library. If you use Opencl when writing your program, it will optimise code to run on a multicore processor. If you later get GPU hardware, the same code will use the GPU and run faster again. You are future proofing your program by using OpenCL software.