Changeset 3247

Show
Ignore:
Timestamp:
01/12/12 13:47:31 (4 months ago)
Author:
jos
Message:

Warn when ignoring the MPI flag

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/mcrun2/main.py

    r3246 r3247  
    185185        options.mpirun = 'mpirun' 
    186186    else: 
     187        if not options.mpi is None: 
     188            LOG.warning('Ignoring MPI flag: not enough nodes (%d).', 
     189                        options.mpi) 
    187190        options.use_mpi = False 
    188191        options.cc = 'gcc'