ó
í™xTc           @   s?   d  d l  m Z d  d l Z d „  Z e d k r; e ƒ  n  d S(   iÿÿÿÿ(   t   divisionNc          C   sÊ  t  j r d GHn  t  j r" d GHn  d Gt  j GHt  j rJ t  j sY t ‚ n t  j sY t ‚ t  j }  t |  _ |  j s{ t ‚ t |  _ t  j r® t  j d k r® |  j s¾ t ‚ n |  j s¾ t ‚ t |  _	 |  j	 s× t ‚ t |  _	 t  j rû |  j	 st ‚ n |  j	 st ‚ t |  _ t |  _	 xV t
 d d ƒ D]E } | |  _ t  j r]|  j | k srt ‚ q-|  j d k s-t ‚ q-Wd |  _ t  j r¦t  j j ƒ  d
 k sÁt ‚ n t  j j ƒ  d k sÁt ‚ d	 GHd  S(   Ns   omptbx.have_omp_hs   omptbx.have_stubs_hs   omtbx.omp_version:i‹ i   i   i   i   t   OK(   i   i   i   i   (   i   i   i   i   (   t   omptbxt
   have_omp_ht   have_stubs_ht   omp_versiont   AssertionErrort   envt   Falset   dynamict   Truet   nestedt   xranget   num_threadst   extt   tst_environment(   R   t   i(    (    s8   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/omptbx/tst.pyt   exercise   sB    	 	 													t   __main__(   t
   __future__R    R   R   t   __name__(    (    (    s8   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/omptbx/tst.pyt   <module>   s   	,