Changeset 8512
- Timestamp:
- Aug 14, 2012, 8:38:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/compile_all.py
r8248 r8512 86 86 print msg 87 87 88 89 print '-----------------------------------------------' 90 print 'Attempting to compile pypar_extras' 91 print '-----------------------------------------------' 92 93 os.chdir('..') 94 os.chdir('pypar_extras') 95 96 cmd = 'python anuga_setup.py' 97 print cmd 98 err = os.system(cmd) 99 if err != 0: 100 msg = 'Could not compile pypar_extras ' 101 msg += 'on platform %s, %s\n' % (sys.platform, os.name) 102 msg += 'You need to compile pypar_extras manually ' 103 msg += 'if you want to run ANUGA in parallel.' 104 raise Exception, msg 105 else: 106 msg = 'Compiled pypar_extras succesfully.' 107 print msg 108 109 88 110 print 89 111 print 'That took %.3fs' %(time.time() - t0) 90 112 113 114 91 115 if sys.platform == 'win32': 92 116 raw_input('Press the RETURN key')
Note: See TracChangeset
for help on using the changeset viewer.