InterviewSolution
| 1. |
Is There A Way To Run My Pascal Programs In Parallel? |
|
Answer» There is indeed, but it's not going to be easy. One WAY of "parallelizing" your programs is to include "message passing" in the CODE. Different portions of the code are there by executed by different processors, and information is shared by passing messages between the processors. The most widely USED method to do this is called Message Passing Interface (MPI), and is available in the form of libraries on the SUN Fire muti-processor machines of HPCVL. However, MPI works only with FORTRAN and C directly. The libraries consist of subroutines that can be called from code written in those two languages. In ORDER to write parallel code in Pascal, you therefore have to do the following things.
There is indeed, but it's not going to be easy. One way of "parallelizing" your programs is to include "message passing" in the code. Different portions of the code are there by executed by different processors, and information is shared by passing messages between the processors. The most widely used method to do this is called Message Passing Interface (MPI), and is available in the form of libraries on the SUN Fire muti-processor machines of HPCVL. However, MPI works only with FORTRAN and C directly. The libraries consist of subroutines that can be called from code written in those two languages. In order to write parallel code in Pascal, you therefore have to do the following things. |
|