[mpich-discuss] reading data into a parallel program

Jayesh Krishna jayesh at mcs.anl.gov
Tue Dec 7 10:45:25 CST 2010


Hi,
 This will depend on how much data is read and where your MPI processes are launched. Are you using MPI-IO functions (like MPI_File_read_all()) for reading the data ?

Regards,
Jayesh
----- Original Message -----
From: Prashanth <prashanth.dumpuri at gmail.com>
To: mpich-discuss at mcs.anl.gov
Sent: Mon, 06 Dec 2010 10:44:53 -0600 (CST)
Subject: [mpich-discuss] reading data into a parallel program

All,
   I have a main program that reads input data from files and 3
filters/classes instantiated within the main program that process the
datasets. I have parallelized 2 of those 3 classes (using MPICH2). Is it
faster to read data on the root processor and then broadcast it to all the
child nodes or should I let all the nodes read the data?
    I'm running my main program on a Windows XP machine with an Intel Quad
core processor.
Thanks
Prashanth



More information about the mpich-discuss mailing list