[FORTRAN]Pack and scatterv for discontinuous data

Categories: MPI
The following code is used for MPI parallel computing. The main purpose of the code is used to pack discontinuous data and scatter them averagely to other process. for example: In Zero process: sendvar is a matrix, the size of it is 4 * 8, the data is below 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 21 22 23 24 25 26 27 28 31 32 33 34 35 36 37 38 the number of process is npros, npros=2

Read More →

How-To: Compile, Link, Run and Debug FORTRAN MPI Programs Using Microsoft Visual Studio

Categories: Software Use
Test-system(s) used: VMware virtual machine of WinXP x64 Pro, MS Visual Studio 2008 with Intel Visual Fortran 11.0.047 running mpich2 Installation For the 64 bit test system, care has to be taken regarding compatibility of components one wishes to use together. Given only a 32 bit Visual Studio (VS) 2008 is available for free to Univ of Manchester researchers, a 32 bit version of mpich2 is used. We downloaded the 32 bit Windows binary from the mpich2 web site.

Read More →

How to configure MPICH2 under windows

Categories: CFD Software Use
Download http://www.mpich.org/downloads/ Install Install MPICH2 version 1.4.1p1 on your machine using the installer downloaded from the downloads page http://www.mpich.org/downloads. Be aware to choose either a 32-bit version or 64-bit one depending on your machine. Uninstall any previous installed MPI Library including MPICHINTEL MPIOPEN MPI etc. During installation select MPICH2 to be installed for Everyone. Also make sure that you keep the default setting for passphrase (usually behappy) during the installation.

Read More →