Changeset 8831 for trunk/anuga_core/source/anuga/shallow_water
- Timestamp:
- Apr 16, 2013, 7:09:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/shallow_water/shallow_water_domain.py
r8828 r8831 2342 2342 ################################################################################ 2343 2343 2344 def _raise_compile_exception():2345 """ Raise exception if compiler not available. """2346 msg = 'C implementations could not be accessed by %s.\n ' % __file__2347 msg += 'Make sure compile_all.py has been run as described in '2348 msg += 'the ANUGA installation guide.'2349 raise Exception(msg)2350 2351 from anuga.utilities import compile2352 if not compile.can_use_C_extension('shallow_water_ext.c'):2353 _raise_compile_exception()2344 #def _raise_compile_exception(): 2345 # """ Raise exception if compiler not available. """ 2346 # msg = 'C implementations could not be accessed by %s.\n ' % __file__ 2347 # msg += 'Make sure compile_all.py has been run as described in ' 2348 # msg += 'the ANUGA installation guide.' 2349 # raise Exception(msg) 2350 # 2351 #from anuga.utilities import compile 2352 #if not compile.can_use_C_extension('shallow_water_ext.c'): 2353 # _raise_compile_exception() 2354 2354 2355 2355 if __name__ == "__main__":
Note: See TracChangeset
for help on using the changeset viewer.