Home My Page Projects PaStiX
Summary Activity Forums Lists Docs News Files

Forum: open-discussion

Monitor Forum | Start New Thread Start New Thread
RE: Is there any instruction to build PaStiX in Windows? [ Reply ]
By: Xavier Lacoste on 2014-09-22 07:37

Yes I recently tested to port on windows.
I did a README_WINDOWS.txt file that should contain the required steps to build PaStiX on windows.

First you need to install MinGW.
Then you have to build/get
- hwloc : http://www.open-mpi.org/software/hwloc/v1.8/
- pthread : http://sourceware.org/pthreads-win32/
- scotch :https://gforge.inria.fr/frs/download.php/28977/scotch_5.1.12b.tar.gz
- Get into scotch 5.1.12b source directory
- copy Make.inc/Makefile.inc.i686_pc_mingw32 into Makefile.inc.
- Edit the Makefile.in file:
- Add the missing # before "LDFLAGS variables."
- Add "-Drestrict= -DCOMMON_WINDOWS -DHAVE_STDINT_H" to the
- Run "make"
I used OpenBLAS : https://github.com/xianyi/OpenBLAS/releases
You need to disable thread support when building OpenBLAS.
You can also use any other BLAS library without thread support (i.e. MKL,ATLAS)

Then to build PaStiX :
- Get into src source directory
- Copy config/WINDOWS-MINGW.in into config.in
- Set the config.in to fit your installation.
- Run make examples

Please contact me if you get any trouble.



Is there any instruction to build PaStiX in Windows? [ Reply ]
By: Nobody on 2014-09-21 02:27
Dear all,

I got to know the powerful solver PaStiX today. However, it seems that it is built in Linux. Is there any instruction to build the solver in Windows?

Tang Laoya