Ignore:
Timestamp:
Nov 17, 2010, 3:45:44 PM (13 years ago)
Author:
gray
Message:

modified acceptance tests to test the cen-4470-test HPC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/anuga_1_2_0/misc/tools/acceptance_tests/test_latency_bandwidth.py

    r7656 r8071  
    3737    results = []
    3838    #machines_file = os.path.join('~', '.machines_%s' % cluster)
    39     for num_procs in Processor_Numbers:
    40         cmd = ('mpirun -nolocal -np %2d -hostfile %s %s'
    41                % (num_procs, util.machines_file, obj_file))
     39    for num_procs in Processor_Numbers:
     40        if cluster == 'cen-4470-test':
     41            cmd = ('mpirun -np %2d %s'
     42                   % (num_procs, obj_file))
     43        else:
     44            cmd = ('mpirun -nolocal -np %2d -hostfile %s %s'
     45                   % (num_procs, util.machines_file, obj_file))
    4246        util.log_print(logfile, cmd + ' ...')
    4347        (_, fd) = os.popen4(cmd)
Note: See TracChangeset for help on using the changeset viewer.