Example Queue Template
Cyclone Manual - Example Queue Template
⌘K
This is an example queue template for OpenPBS with cyclone parameters (Section 12.14) filled in.
Example 1
This script essentially creates a temporary directory on the server in /prd/RUN/{:directory:}, where {:directory:} is generated by cyclone at the time. It copies all the files over and runs cyclone on them. Following completion it copies all the files back to the original location.
Bash1#!/bin/bash 2#PBS -l nodes=1:ncpus={:cpus:} 3#PBS -o {:cwd:}/pbs.log 4#PBS -j oe 5{:array:} 6umask 0002 7# might no be needed 8. /etc/bash.bashrc 9mkdir /prd/RUN/{:directory:} 10cp {:cwd:}/{:input-file:} /prd/RUN/{:directory:}/{:input-file:} 11cp {:cwd:}/{:mcnp-file:} /prd/RUN/{:directory:}/{:mcnp-file:} 12cd /prd/RUN/{:directory:} 13{:cyclone-path:}/{:cyclone:} -i {:input-file:} 14mkdir {:cwd:}/{:directory:}/ 15mv /prd/RUN/{:directory:}/* {:cwd:}/{:directory:}/ 16rm -rv /prd/RUN/{:directory:}
On this page
0 of 2