Changeset 8512


Ignore:
Timestamp:
Aug 14, 2012, 8:38:24 PM (12 years ago)
Author:
steve
Message:

Added in pypar_extras compiling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/compile_all.py

    r8248 r8512  
    8686    print msg
    8787
     88
     89print '-----------------------------------------------'
     90print 'Attempting to compile pypar_extras'
     91print '-----------------------------------------------'
     92
     93os.chdir('..')
     94os.chdir('pypar_extras')
     95
     96cmd = 'python anuga_setup.py'
     97print cmd
     98err = os.system(cmd)
     99if 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
     105else:
     106    msg = 'Compiled pypar_extras succesfully.'
     107    print msg
     108
     109
    88110print       
    89111print 'That took %.3fs' %(time.time() - t0)
    90112
     113
     114
    91115if sys.platform == 'win32':
    92116    raw_input('Press the RETURN key')
Note: See TracChangeset for help on using the changeset viewer.