Changeset 1036
- Timestamp:
- Mar 8, 2005, 12:33:03 PM (20 years ago)
- Location:
- inundation/ga/storm_surge/pyvolution
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/domain.py
r1020 r1036 583 583 import psyco 584 584 except: 585 msg = 'WARNING: psyco (speedup) could not import'+\ 586 ', you may want to consider installing it' 587 print msg 585 import os 586 if os.uname()[4] == 'x86_64': 587 pass 588 #Psyco isn't supported on 64 bit systems, but it doesn't matter 589 else: 590 msg = 'WARNING: psyco (speedup) could not import'+\ 591 ', you may want to consider installing it' 592 print msg 588 593 else: 589 594 psyco.bind(Domain.update_boundary) -
inundation/ga/storm_surge/pyvolution/shallow_water.py
r1025 r1036 1621 1621 import psyco 1622 1622 except: 1623 msg = 'WARNING: psyco (speedup) could not import'+\ 1624 ', you may want to consider installing it' 1625 print msg 1623 import os 1624 if os.uname()[4] == 'x86_64': 1625 pass 1626 #Psyco isn't supported on 64 bit systems, but it doesn't matter 1627 else: 1628 msg = 'WARNING: psyco (speedup) could not import'+\ 1629 ', you may want to consider installing it' 1630 print msg 1626 1631 else: 1627 1632 psyco.bind(Domain.distribute_to_vertices_and_edges)
Note: See TracChangeset
for help on using the changeset viewer.