[torqueusers] torque client install script problem
Donald E Tripp
dtripp at hawaii.edu
Wed Jul 18 15:02:12 MDT 2007
Why not just build the RPM packages for Torque, and install them on the compute nodes, then copy out the config file? This is the way I usually do it. I wrote a script to install the packages and setup the config automatically.
- Donald Tripp
dtripp at hawaii.edu
----------------------------------------------
HPC Systems Administrator
High Performance Computing Center
University of Hawai'i at Hilo
200 W. Kawili Street
Hilo, Hawaii 96720
http://www.hpc.uhh.hawaii.edu
----- Original Message -----
From: Garrick Staples <garrick at usc.edu>
Date: Wednesday, July 18, 2007 10:41 am
Subject: Re: [torqueusers] torque client install script problem
To: Tony Schreiner <schreian at bc.edu>
Cc: torqueusers at supercluster.org
> On Wed, Jul 18, 2007 at 03:26:02PM -0400, Tony Schreiner alleged:
> >
> > On Jul 18, 2007, at 3:17 PM, Garrick Staples wrote:
> >
> > >On Wed, Jul 18, 2007 at 10:13:52AM -0500, Adams, Samuel D Contr
> > >AFRL/HEDR alleged:
> > >>I am trying to install torque to my clients, but the
> > >>torque-package-clients-linux-x86_64.sh script keeps on dieing.
> I am
> > >>installing on RHEL5 nodes.
> > >>
> > >>[root at prodnode3 torque-2.1.8]# ./torque-package-clients-linux-
> > >>x86_64.sh
> > >>--install --verbose
> > >>
> > >>Installing TORQUE archive...
> > >>
> > >>tail: cannot open `+157' for reading: No such file or directory
> > >>
> > >>gzip: stdin: not in gzip format
> > >>setting file user and group ownerships
> > >>tail: cannot open `+157' for reading: No such file or directory
> > >>
> > >>gzip: stdin: not in gzip format
> > >>Done.
> > >>[root at prodnode3 torque-2.1.8]#
> > >>
> > >>>From the best I could find by searching the Internet, it seems
> the> >>possible problem is that the script is trying to use some
> kind of
> > >>deprecated option for tail hence the "+157" error. Hopefully
> someone> >>else has seen this problem and knows the workaround.
> > >
> > >Bleh. Now we have multiple incompatible 'tail' options on
> different> >platforms.
> > >
> > >Edit buildutils/self-extract-head-sh.in, and replace the 4
> > >instances of
> > >'tail +$SKIP' with 'tail -n +$SKIP', re-run configure and make.
> > >
> > >I'll figure out another way to do this.
> > >
> > >--
> > >Garrick Staples, GNU/Linux HPCC SysAdmin
> > >University of Southern California
> >
> >
> > I encountered this recently in another context.
> >
> > You can set the environment variable _POSIX2_VERSION=1 to force
> the
> > old syntax for tail.
> > This might be helpful in your script.
>
> I think I have a good, standards-compliant replace with 'sed':
> sed -n $SKIP,\$p
>
> Anyone have a better idea?
>
>
> --
> Garrick Staples, GNU/Linux HPCC SysAdmin
> University of Southern California
>
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.gnu.org/philosophy/no-word-attachments.html
>
More information about the torqueusers
mailing list