<div dir="ltr">Hi Iain,<div><br></div><div>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. </div><div><br></div><div>Thanks a lot!</div><div><br></div><div>Gary<br><br>On Monday, July 4, 2016 at 11:01:45 PM UTC-7, IBethune wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi Gary,
<br>
<br>Did you make sure to "make ARCH=Cygwin-i686-gfortran VERSION=sopt clean” after you modified the arch file?
<br>
<br>You can check if your run has used multiple threads by looking near the top of your output for a line like:
<br>
<br>"GLOBAL| Number of threads for this process 2”
<br>
<br>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.
<br>
<br>- Iain
<br>
<br>--
<br>
<br>Iain Bethune
<br>Project Manager, EPCC
<br>
<br>Email: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="iO_nOhsJBwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ibe...@epcc.ed.ac.uk</a>
<br>Twitter: @IainBethune @PrimeGrid @CP2Kproject
<br>Web: <a href="http://www2.epcc.ed.ac.uk/~ibethuneTel/Fax" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww2.epcc.ed.ac.uk%2F~ibethuneTel%2FFax\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFFX2aa_LeyI8qZrXJ4SWGN4STQIA';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww2.epcc.ed.ac.uk%2F~ibethuneTel%2FFax\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFFX2aa_LeyI8qZrXJ4SWGN4STQIA';return true;">http://www2.epcc.ed.ac.uk/~<wbr>ibethune
<br>Tel/Fax</a>: +44 (0)131 650 5201/6555
<br>Mob: +44 (0)7598317015
<br>Addr: 2404 JCMB, The King's Buildings, Peter Guthrie Tait Road, Edinburgh, EH9 3FD
<br>
<br>> On 5 Jul 2016, at 00:43, Gary Tom <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="iO_nOhsJBwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">gar...@mail.mcgill.ca</a>> wrote:
<br>>
<br>> Hello,
<br>>
<br>> 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: <a href="https://groups.google.com/forum/#!topic/cp2k/OyVoivjff3o" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/forum/#!topic/cp2k/OyVoivjff3o';return true;" onclick="this.href='https://groups.google.com/forum/#!topic/cp2k/OyVoivjff3o';return true;">https://groups.google.com/<wbr>forum/#!topic/cp2k/OyVoivjff3o</a><wbr>)
<br>>
<br>> 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?
<br>>
<br>> Thanks,
<br>>
<br>> Gary
<br>>
<br>> --
<br>> You received this message because you are subscribed to the Google Groups "cp2k" group.
<br>> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="iO_nOhsJBwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp2k+uns...@googlegroups.<wbr>com</a>.
<br>> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="iO_nOhsJBwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>.
<br>> Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/group/cp2k';return true;" onclick="this.href='https://groups.google.com/group/cp2k';return true;">https://groups.google.com/<wbr>group/cp2k</a>.
<br>> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.
<br>
<br>
<br>--
<br>The University of Edinburgh is a charitable body, registered in
<br>Scotland, with registration number SC005336.
<br>
<br></blockquote></div></div>