BLACS Build and Test Instructions: ---------------------------------- 1. Navigate to the 'ScaLAPACK 1.8.0 for Windows' directory. 2. Run the set_environment.bat script with BLACS parameter: > set_environment.bat BLACS where ARCH is x86 or x64 x86 architectre use MPICH2 and it will build 32 bits libraries. x64 architecture use Microsoft MPI and it will build 64 bits libraries. 3. Navigate to the base BLACS directory from command prompt and build BLACS and test programs: > nmake mpi what=clean (optional) > nmake tester what=clean (optional) > nmake mpi > nmake tester 4. Navigate to BLACS\TESTING\EXE directory and execute the following commands to test BLACS: > mpiexec -n 4 xCbtest_MPI-WIN64-0.exe > mpiexec -n 4 xFbtest_MPI-WIN64-0.exe SCALAPACK Build and Test Instructions: -------------------------------------- 1. Navigate to the 'ScaLAPACK 1.8.0 for Windows' directory. 2. Run the set_environment.bat script with the following parameters: > set_environment.bat ScaLAPACK [Precisions] where ARCH is x86 or x64 x86 architectre use MPICH2 and it will build 32 bits libraries. x64 architecture use Microsoft MPI and it will build 64 bits libraries. 3. Navigate to the base BLACS directory from command prompt and build BLACS: > nmake mpi what=clean (optional) > nmake mpi Please note that this step is optional and need to be performed if BLACS is not built earlier. 4. Navigate to the scalapack-1.8.0 directory from command prompt and execute the following command to build ScaLAPACK: > nmake all 5. Run the following script to test ScaLAPACK: > run_tests.bat Notes: a. Enclose the provided BLAS and LAPACK library paths in double quotes if they contain spaces. b. By default, SCALAPACK gets built in "all" precision mode. To build it in any specific precision mode, for instance in single precision mode, provide "single" as a 4th parameter to set_environment.bat script. SCALAPACK can also be built in multiple precision mode by providing the combination like "single double". c. Please modify BLACS\BMAKES\Bmake.MPI-WIN64 file in case you need to configure some other options (For instance, FORTRAN 77 to C interface) before running set_environment.bat script. You can directly modify BLACS\BMake.inc file if you have already setup the development environment. d. Please modify scalapack-1.8.0\INSTALL\SLmake.WIN64 file in case you need to configure some other options (For instance, FORTRAN 77 to C interface) before running set_environment.bat script. You can directly modify scalapack-1.8.0\SLmake.inc file if you have already setup the development environment. e. If you have not installed Intel's C++ and Fortran compilers at default location, modify set_environment.bat script to specify approprite paths of iclvars.bat and IFortVars.bat.