Ignore:
Timestamp:
2011-09-28T13:21:02+13:00 (13 years ago)
Author:
jmt12
Message:

Changed order of arguments to mpiimport to make site (a GS3 thing) last and optional

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/perllib/ParallelInexport.pm

    r24626 r24684  
    4949   }
    5050   close ($filelist);
    51    
     51
    5252   # invoke the farmer to start processing the files
    53    $site = "localsite" if ((!defined $site) || ($site eq ""));
     53   $site = "" if (!defined $site);
    5454   my $gsdlhome = $ENV{'GSDLHOME'};
    55    my $farmer_exe = &util::filename_cat($gsdlhome,"bin",$ENV{'GSDLOS'},"farmer".&util::get_os_exe());
    56 
    57    my $mpi_cmd = "mpirun -np $jobs $farmer_exe $tmp_filelist $epoch $gsdlhome $site $collection";
    58 
     55   my $farmer_exe = 'mpiimport'; # will be on PATH
     56   my $mpi_cmd = "mpirun -np $jobs $farmer_exe $tmp_filelist $epoch $gsdlhome $collection $site";
    5957   system ($mpi_cmd);
    6058}
Note: See TracChangeset for help on using the changeset viewer.