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

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Prebuild on Windows [ Reply ]
By: Théophile Terraz on 2015-02-04 16:01

pastix_windows.zip (7) downloads

We never tried to use PaStiX through PETSc on windows.

I don't know if it will work but I attached a zip archive with a binary test of PaStiX and the required DLL (I hope).
Can you try running example.exe -lap 100 to validate it ?

We also have a procedure to install PaStiX on windows (it requires mingw) :

Get MinGW http://mingw.org/ and setup the installation of MSYS
Get a git client
Get into C:\MinGW\msys\1.0\home\<login>
Launch "Git BASH" from the contextual mnu
clone PaStiX using : git clone https://gforge.inria.fr/git/ricar/ricar.git
clone murge repository using :
- cd ricar/src
- git clone git://scm.gforge.inria.fr/murge/murge.git $@
- cd murge; git checkout f426f6cfbf20f55ae451b62212eaa8248721c36f
(Murge TAG should be copied from in src/Makefile)

Get hwloc from http://www.open-mpi.org/software/hwloc/v1.8/
Get PThread from http://sourceware.org/pthreads-win32/
Get OpenBLAS from https://github.com/xianyi/OpenBLAS/releases
BLAS implementaion
Retrieve scotch wether with :
- Subversion : svn://scm.gforge.inria.fr/svnroot/scotch/
- Tarball : https://gforge.inria.fr/frs/download.php/28977/scotch_5.1.12b.tar.gz

Launch MSYS C:/MinGW/msys/1.0/msys.bat
- 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"
- Get into ricar/src source directory
- Copy config/WINDOWS-MINGW.in into config.in
- Set the config.in to fit your installation.
- Run make examples

Please tell us if you have problems with this.



Prebuild on Windows [ Reply ]
By: Fabien Raphel on 2015-02-04 10:49

I have to port a code (using PETSc) on a Windows OS and I would like to use a LU factorization in parallel. But I don't have FORTRAN compiler on my machine (only VS2008 C and C++ compilers).
Is there any way to have a Windows prebuilt version?

Thanks in advance,