Changeset 26983

Show
Ignore:
Timestamp:
05.03.2013 10:16:48 (7 years ago)
Author:
jmt12
Message:

Changed the prefix in a log filename to a 'W' for worker rather than a 'P' for processor, just to tidy terminology (I guess - not sure why I made such a minor change

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/src/mpiterrierfileindexer-src/mpiterrierfileindexer.cpp

    r26239 r26983  
    183183        if (gsdlhometest != NULL) 
    184184        { 
    185           sprintf (command, "%s/bin/anyclass.sh org.terrier.applications.FileIndexer -index -path %s/var/manifest-%s.spec -prefix %s > /tmp/terrier-index-P%d-C%d.log 2>&1", terrier_dir, terrier_dir, incoming, incoming, rank, counter); 
     185          sprintf (command, "%s/bin/anyclass.sh org.terrier.applications.FileIndexer -index -path %s/var/manifest-%s.spec -prefix %s > /tmp/terrier-index-W%d-C%d.log 2>&1", terrier_dir, terrier_dir, incoming, incoming, rank, counter); 
    186186        } 
    187187        else 
    188188        { 
    189           sprintf (command, "bash -c \"cd %s && source setup.bash > /dev/null && %s/bin/anyclass.sh org.terrier.applications.FileIndexer -index -path %s/var/manifest-%s.spec -prefix %s > /tmp/terrier-index-P%d-C%d.log 2>&1\"", gsdlhome_dir, terrier_dir, terrier_dir, incoming, incoming, rank, counter); 
     189          sprintf (command, "bash -c \"cd %s && source setup.bash > /dev/null && %s/bin/anyclass.sh org.terrier.applications.FileIndexer -index -path %s/var/manifest-%s.spec -prefix %s > /tmp/terrier-index-W%d-C%d.log 2>&1\"", gsdlhome_dir, terrier_dir, terrier_dir, incoming, incoming, rank, counter); 
    190190        } 
    191191        fprintf(stderr, "[W%d] system('%s')\n", rank, command);