/[pdpsoft]/trunk/nl.nikhef.ndpf.tools/nikhef-torque-prologue-epilogue/template.spec
ViewVC logotype

Contents of /trunk/nl.nikhef.ndpf.tools/nikhef-torque-prologue-epilogue/template.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2678 - (show annotations) (download)
Fri Oct 11 10:57:20 2013 UTC (8 years, 3 months ago) by ronalds
File size: 1001 byte(s)
use /bin/bash and full hostname
1 #
2 # spec file for nikhef-torque-pro-epilogue
3 #
4 %define debug_package %{nil}
5 %define _unpackaged_files_terminate_build 0
6
7
8 Summary: Collection of Torque prologue and epilogue scripts
9 Name: @NAME@
10 Version: @VERSION@
11 Release: @RELEASE@
12 License: -
13 Group: -
14 Source: @NAME@-@VERSION@.src.tgz
15 Packager: %{packager}
16 BuildRoot: %{_tmppath}/%{name}-%{release}-build
17 BuildArch: noarch
18 Prefix: @INSTALL_ROOT@
19
20 Requires: torque >= 2.1
21 Requires: prune_userprocs
22 Requires: when_idle
23
24
25 %description
26 Collection of Torque prologue and epilogue scripts, including:
27 - set_taskset (prologue): restrict each job to the cores corresponding to the job index
28 - prune_userprocs (epilogue): clean up user processes that are unrelated to active batch jobs
29 - when_idle (epilogue): perform actions defined by the administrator after a node has drained
30
31 %prep
32 %setup -c
33
34 %build
35 make filelist
36
37 %install
38 make install PREFIX=$RPM_BUILD_ROOT/%{prefix}
39
40
41 %files -f %{name}.filelist
42 %defattr(-,root,root)
43
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28