[CP2K:7888] Running CP2K with multiple cores on Cygwin for Windows 7 32

Gary Tom gary... at mail.mcgill.ca
Tue Jul 5 16:56:54 UTC 2016


Hi Iain,

Thanks for the reply. I renamed the modified file with extenssion "ssmp". 
And then I tried "make ARCH=Cygwin-i686-gfortran VERSION=ssmp", and it 
seems to work. The output file indicates that 4 threads are being used. 

Thanks a lot!

Gary

On Monday, July 4, 2016 at 11:01:45 PM UTC-7, IBethune wrote:
>
> Hi Gary, 
>
> Did you make sure to "make ARCH=Cygwin-i686-gfortran VERSION=sopt clean” 
> after you modified the arch file? 
>
> You can check if your run has used multiple threads by looking near the 
> top of your output for a line like: 
>
> "GLOBAL| Number of threads for this process                               
>      2” 
>
> Usually, if you don’t set the OMP_NUM_THREADS variable, it should spawn as 
> many threads as there are available cores, but I’m not sure what the 
> expected behaviour on Cygwin is, you might want to set OMP_NUM_THREADS 
> manually before running CP2K. 
>
> - Iain 
>
> -- 
>
> Iain Bethune 
> Project Manager, EPCC 
>
> Email: ibe... at epcc.ed.ac.uk <javascript:> 
> Twitter: @IainBethune @PrimeGrid @CP2Kproject 
> Web: http://www2.epcc.ed.ac.uk/~ibethune 
> Tel/Fax <http://www2.epcc.ed.ac.uk/~ibethuneTel/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 5 Jul 2016, at 00:43, Gary Tom <gar... at mail.mcgill.ca <javascript:>> 
> wrote: 
> > 
> > Hello, 
> > 
> > I am still very new to CP2K. I am trying to create an OpenMP binary file 
> (cp2k.ssmp) to have the projects run faster (refer to: 
> https://groups.google.com/forum/#!topic/cp2k/OyVoivjff3o) 
> > 
> > I have attempted to just use the "Cygwin-i686-gfortran.sopt" file, with 
> an additional -fopenmp tag in FCFLAGS, but I do not see any improvement in 
> the run time. What do I need to have in the ARCH file to properly get a 
> "cp2k.ssmp" file for Cygwin? 
> > 
> > Thanks, 
> > 
> > Gary 
> > 
> > -- 
> > 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+... at googlegroups.com <javascript:>. 
> > To post to this group, send email to cp... at googlegroups.com 
> <javascript:>. 
> > 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. 
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20160705/9e042658/attachment.htm>


More information about the CP2K-user mailing list