Changeset 147


Ignore:
Timestamp:
06/12/09 14:02:42 (7 years ago)
Author:
mmckerns
Message:

updated so prints useful alias when set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyina/applications/mpi_world.py

    r137 r147  
    3030def alias(nnodes): 
    3131    "set a bash shell alias to configure mpiexec to run python on nnodes" 
    32     raise NotImplementedError #FIXME: alias doesn't stick to user's console 
    3332    node = str(nnodes) 
    3433    alias = "mpython%s='mpiexec -np %s `which mpipython.exe`'" % (node,node) 
    3534    command = "alias %s" % alias 
     35    print command 
     36    raise NotImplementedError #FIXME: alias doesn't stick to user's console 
    3637    try: 
    3738        launch(command) 
Note: See TracChangeset for help on using the changeset viewer.