LAPACK and ScaLAPACK for Windows
Nmake Install
Build Instructions for LAPACK 3.1.1 for Windows
- 1. Change directory to < Extracted Directory >\LAPACK 3.1.1 for Windows.
- 2. Execute "set_environment.bat" script from command prompt with the following
arguments:
a. Machine architecture to be used:
This parameter is mandatory and currently 32-bit and 64-bit machine architectures are supported.
b. Compiler to be used:
This parameter is mandatory and currently Intel and PGI compilers are supported.
c. BLAS library to be used:
This parameter is optional and by default it uses BLAS library shipped with the package.
Here is the usage of the set_environment.bat script:
set_environment.bat < x86 | x64 > < Intel | PGI > [BLAS Library Path]
Type /? to get the help/usage message on command prompt. - 3. Please execute "nmake cleanall" command if you have built the package earlier in different environment i.e. by using different compiler and/or for different machine architecture.
- 4. Type 'nmake /NOLOGO all' on command prompt to build and test LAPACK package.
Build and Test Instructions for BLACS for Windows
Microsoft MPI for 64bits build or MPICH2 for Windows for 32 bits build
- 1. Navigate to the 'ScaLAPACK 1.8.0 for Windows' directory.
- 2. Run the set_environment.bat script with BLACS parameter:
> set_environment.bat "arch" BLACS
"arch " should be x86 for 32 bits build, and x64 for 64 bits build. - 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 localy on your node:
> mpiexec -n 4 xCbtest_MPI-WIN64-0.exe
> mpiexec -n 4 xFbtest_MPI-WIN64-0.exe
Build and Test Instructions for ScaLAPACK for Windows
Microsoft MPI for 64bits build or MPICH2 for Windows for 32 bits build
- 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 arch ScaLAPACK < BLAS library path > < LAPACK library path > [Precisions]
"arch " should be x86 for 32 bits build, and x64 for 64 bits build. - 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
Fortran Interface
- a.Using 64-bit PGI compiler: The FORTRAN interface names are similar to AMD's 64-bit ACML library and they can be called directly.
- b. Using 32-bit PGI compiler: The FORTRAN interface names are similar to AMD's 32-bit ACML library and they can be invoked by providing -Munix flag to the pgf77 compiler.
- c. Using 64-bit Intel compiler: The FORTRAN interface names are similar to AMD's ACML and Intel's MKL 64-bit library and they can be called directly.
- d. Using 32-bit Intel compiler: The FORTRAN interface names are similar to AMD's ACML and Intel's MKL 32-bit library and they can be called directly.
Download
nmake build
Microsoft MPI (64 bits build) or MPICH2 (32 bits build) for BLACS and ScaLAPACK
Prebuilt libraries using nmake
Microsoft MPI (64 bits build) or MPICH2 (32 bits build) for BLACS and ScaLAPACK
Intel Compiler for Windows |
||||
PGI Compiler for Windows |
Future of LAPACK for Windows
Demo
FAQ
Support
- Forum : http://icl.cs.utk.edu/lapack-forum/index.php
- Mailing List: lapack@cs.utk.edu or scalapack@cs.utk.edu
