[torqueusers] Question about qsub file with argument

Vaibhav Pol vaibhavp at cdac.in
Thu Sep 30 23:17:35 MDT 2010


  Hi,
    You can do this in qsubfilter wrapper.

  Thanks and regards,
  Vaibhav Pol
  National PARAM Supercomputing Facility
  Centre for Development of Advanced Computing
  Ganeshkhind Road
  Pune University Campus
  PUNE-Maharastra
  Phone +91-20-25704176 ext: 176
  Cell Phone :  +919850466409


On Wed, 29 Sep 2010, Abraham Zamudio wrote:

> I have a mpich2 program , This program takes one ( argv[1] ) argument
> ( *./program    file_to_analyze
> *) .
>
> I send him to the queue  of torque
>
> #######################################################################################################################################
>
>
> #####################
> #### run_all_files.sh ####
> #####################
> *$FOLDER = /path/to/files
> for i in $(ls $FOLDER ); do
>    qsub cola.qsub $i
> done
> *#####################
>
>
> #######################################################################################################################################
>
> #################
> #### cola.qsub ####
> #################
> #PBS -S /bin/bash
> #PBS -N proof
> #PBS -q queue_2
> #PBS -l nodes=Four_processors:ppn=4+Eight_processors:ppn=8
> #PBS -j oe
> #PBS -o cola.$PBS_JOBID.$1
>
> mpiexec /PATH/TO/MPI_SOFTWARE/program   $1
> #################
>
>
> #######################################################################################################################################
>
>
> For run (all jobs , one per file_to_analyze)  :
>
> ./run_all_files.sh
>
> seems it can not work this way. can someone help ??? .
>
>
>
> -- 
> Abraham Zamudio Ch.
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the torqueusers mailing list