[torquedev] nqs2pbs

Paul Buerger paul at osc.edu
Mon Feb 4 14:14:27 MST 2008


We are running torque 2.1.8 on RHEL 5.  The script nqs2pbs in the torque bin directory tries to use the command nawk which does not appear in PHEL 5.  What is the recommended way to resolve this?  It would be nice if it were resolved in the distributed Torque so that we do not have to carry a local mod around forever.  Below is a trivial diff to get nqs2pbs working on RHEL 5.

*** nqs2pbs~    2007-07-20 13:19:53.000000000 -0400
--- nqs2pbs     2007-07-27 12:54:12.000000000 -0400
***************
*** 87,93 ****
        OUT=$1.new
  fi
  echo Converting NQS script \"$1\" into \"$OUT\"
! nawk  '
  #
  # Rule 0 - Initialize a few variables
  #
--- 87,93 ----
        OUT=$1.new
  fi
  echo Converting NQS script \"$1\" into \"$OUT\"
! awk  '
  #
  # Rule 0 - Initialize a few variables
  #
[opt-login04.osc.edu]$ 


Paul Buerger                                    paul at osc.edu
Ohio Supercomputer Center          (614) 292 4170
1224 Kinnear Rd         Columbus OH 43212-1163





More information about the torquedev mailing list