Changeset 8534


Ignore:
Timestamp:
Aug 23, 2012, 2:59:30 PM (13 years ago)
Author:
steve
Message:

there is a problem in setup in riun_command using subprocess (only works for python 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga_parallel/pypar_extras/setup.py

    r8533 r8534  
    2323import distutils.debug
    2424import os, sys
    25 import popen2 # FIXME: Replace with subprocess - http://docs.python.org/library/subprocess.html#replacing-older-functions-with-the-subprocess-module
     25#import popen2 # FIXME: Replace with subprocess - http://docs.python.org/library/subprocess.html#replacing-older-functions-with-the-subprocess-module
    2626import string
    2727import tempfile
     
    5252    import subprocess
    5353
     54    #FIXME SR: This only works for python 2.7!
    5455    print 'running ' + cmd
    5556    try:
     
    6970    output = _run_command('mpicc -show')
    7071
     72
     73    print '****',output
    7174
    7275    if output:
Note: See TracChangeset for help on using the changeset viewer.