[CP2K:7463] parallel cp2k under Windows

Dariusz Pogocki po... at univ.rzeszow.pl
Mon Feb 29 17:50:34 UTC 2016

Thank you Iain,

I will try to use your suggestions.


On 2016-02-29 09:43, Iain Bethune wrote:
> Hi Dariusz,
> If you just want to use multi-core CPUs then an easy way to get started is to compile yourself an OpenMP (cp2k.ssmp) binary.  Basically all you need to do is all the -fopenmp flag to the compiler and linker, and link thread-aware versions of libraries e.g. FFTW.  There are examples in the cp2k/arch directory.
> If you want to have an MPI parallel version (cp2k.popt), then you need to have an MPI library, Scalapack/BLACS libraries available.  Add -D__parallel and -D__SCALAPACK to your DFLAGS, set FC and LD to your mpi compiler/wrapper (usually called mpif90), and add the scalapack library to LIBS.  Exactly what is needed depends on what MPI you have installed.  OpenMPI and MPICH are commonly used, if you have something else on Windows you might be a bit on your own, sorry!
> Finally, it’s worth saying that even once you get your binary, be sure to run the regression tests since we don’t routinely test on Windows, it is possible there might be some bugs.
> - Iain
> --
> Iain Bethune
> Project Manager, EPCC
> Email: ibet... at epcc.ed.ac.uk
> Twitter: @IainBethune @PrimeGrid @CP2Kproject
> Web: http://www2.epcc.ed.ac.uk/~ibethune
> Tel/Fax: +44 (0)131 650 5201/6555
> Mob: +44 (0)7598317015
> Addr: 2404 JCMB, The King's Buildings, Peter Guthrie Tait Road, Edinburgh, EH9 3FD
>> On 28 Feb 2016, at 16:26, po... at univ.rzeszow.pl wrote:
>> I am wonder if anyone managed to compile parallel (!) cp2k for MSWindows 64. Unfortunately pretty nice cluster at my university works under windows.  I did some compilation of cp2k under cygwin getting serial binary (cp2k.sopt). It works nicely but for jobs like band(neb)-calculations is not able to use multicore processors. I will be very happy if someone can give me some hints.
>> Dariusz
>> -- 
>> You received this message because you are subscribed to the Google Groups "cp2k" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+uns... at googlegroups.com.
>> To post to this group, send email to cp... at googlegroups.com.
>> Visit this group at https://groups.google.com/group/cp2k.
>> For more options, visit https://groups.google.com/d/optout.

Dariusz M. Pogocki, Ph.D. D.Sc.
Associate Professor
University of Rzeszów. Faculty of Biology and Agriculture. Ćwiklińskiej 1a,
35-601 Rzeszów, Poland
email: po... at univ.rzeszow.pl, po... at ichtj.pl
Institute of Nuclear Chemistry and Technology
Dorodna 16
03-195 Warsaw, Poland
phone: +48225041268
mobile phone: +48697594025
email:d... at ichtj.waw.pl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20160229/b9827585/attachment.htm>

More information about the CP2K-user mailing list