[CP2K:7462] parallel cp2k under Windows
ibet... at epcc.ed.ac.uk
Mon Feb 29 09:43:40 CET 2016
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.
Project Manager, EPCC
Email: ibet... at epcc.ed.ac.uk
Twitter: @IainBethune @PrimeGrid @CP2Kproject
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.
> 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.
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
More information about the CP2K-user