- Timestamp:
- 2013-04-14T22:52:17+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/parallel-building/trunk/src/perllib/ParallelInexport.pm
r26985 r27179 83 83 84 84 # invoke the farmer to start processing the files 85 $site = "" if (!defined $site); 86 my $gsdlhome = $ENV{'GSDLHOME'}; 87 my $farmer_exe = $gsdlhome . '/ext/parallel-building/linux/bin/mpiimport'; 88 my $mpi_cmd = $gsdlhome . '/ext/parallel-building/linux/bin/mpirun ' . $mpi_flags . ' -n ' . $jobs . ' ' . $farmer_exe . ' ' . $tmp_filelist . ' ' . $epoch . ' ' . $gsdlhome . ' ' . $collection . ' ' . $site; 85 my $gsdlhome; 86 87 if (defined $site) { 88 $gsdlhome = $ENV{'GSDL3HOME'}; 89 } 90 else { 91 $site = ""; 92 $gsdlhome = $ENV{'GSDLHOME'}; 93 } 94 95 # my $farmer_exe = $gsdlhome . '/ext/parallel-building/linux/bin/mpiimport'; 96 my $farmer_exe = 'mpiimport'; 97 98 # my $mpi_cmd = $gsdlhome . '/ext/parallel-building/linux/bin/mpirun ' . $mpi_flags . ' -n ' . $jobs . ' ' . $farmer_exe . ' ' . $tmp_filelist . ' ' . $epoch . ' ' . $gsdlhome . ' ' . $collection . ' ' . $site; 99 my $mpi_cmd = 'mpirun ' . $mpi_flags . ' -n ' . $jobs . ' ' . $farmer_exe . ' ' . $tmp_filelist . ' ' . $epoch . ' ' . $gsdlhome . ' ' . $collection . ' ' . $site; 89 100 print STDERR "MPI Command: \"" . $mpi_cmd . "\"\n"; 90 101 # system ($mpi_cmd);
Note:
See TracChangeset
for help on using the changeset viewer.