tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: PBS (Portable Batch System)
@ 2001-04-22  9:16 Padiyath Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Padiyath Kumar @ 2001-04-22  9:16 UTC (permalink / raw)
  To: tru64-unix-managers


    I got replies from the following people and many thanks.
    Uwe Linig and Ole Holm Nielson. I took the suggestion from Ole Holm
Nielson and I could compile
    the code on Tru64 V4.0G without errors. Now I have to configure the
system for PBS usage.
    I compiled Tcl and Tkl (version 8) with gcc and with gmake installed
first. Then I ran PBS configure
    and gmake with compaq compiler CC.

    My question follows at the end. The replies are

   Ole Holm Nielson wrote:
   ----------------------
   We run OpenPBS 2.3.12 on Tru64 UNIX 4.0F without problems like yours.
Details about our PBS installation are documented on 
   http://www.fysik.dtu.dk/CAMP/pbs.html
You may need to upgrade your Tru64 UNIX and/or Compaq compilers, though,
since I don't know if 4.0D is considered obsolete or not.

 QUESTION:
===========


Hi,
    Iam trying to compile PBS on tru64 with V4.0D. I could create most of
the libraries. But Iam getting
    the following error. Iam using "OpenPBS_2_3_12" version. Can any one
help?


    Configure command:

    configure --prefix=/scratch1/kumar/Tools/PBS
--with-tcl=/scratch1/kumar/Tools/PBS/Tcl8 --set-cflags="-std0"
    which has NOT given any error

     The gmake command gives me the following error:

   Making all in resmom
gcc -std0 -I../include -I../../src/include -I./digitalunix -DHAVE_CONFIG_H
-DPBS_MOM -DDEMUX=\"/scratch1/kumar/Tools/PBS/sbin/pbs_demux\"
-DRCP_PATH=\"/scratch1/kumar/Tools/PBS/sbin/pbs_rcp\" -c
./digitalunix/mom_mach.c
gcc: unrecognized option `-std0'
In file included from /usr/include/sys/table.h:55,
                 from ./digitalunix/mom_mach.c:110:
/usr/include/net/if.h:182: warning: `struct rtentry' declared inside
parameter list
/usr/include/net/if.h:182: warning: its scope is only this definition or
declaration,
/usr/include/net/if.h:182: warning: which is probably not what you want.
/usr/include/net/if.h:182: warning: `struct mbuf' declared inside parameter
list
In file included from /usr/include/sys/table.h:55,
                 from ./digitalunix/mom_mach.c:110:
/usr/include/net/if.h:462: warning: `struct rtentry' declared inside
parameter list
In file included from /usr/include/machine/cpuconf.h:126,
                 from ./digitalunix/mom_mach.c:114:
/usr/include/c_asm.h:193: parse error before `asm'
./digitalunix/mom_mach.c:1075: warning: static declaration for `cput'
follows non-static
./digitalunix/mom_mach.c:1173: warning: static declaration for `mem' follows
non-static
./digitalunix/mom_mach.c:1304: warning: static declaration for `sessions'
follows non-static
./digitalunix/mom_mach.c:1376: warning: static declaration for `nsessions'
follows non-static
./digitalunix/mom_mach.c:1394: warning: static declaration for `pids'
follows non-static
./digitalunix/mom_mach.c:1456: warning: static declaration for `nusers'
follows non-static
./digitalunix/mom_mach.c:1605: warning: static declaration for `size'
follows non-static
./digitalunix/mom_mach.c:1650: warning: static declaration for `idletime'
follows non-static
./digitalunix/mom_mach.c: In function `cpuspeed':
./digitalunix/mom_mach.c:1809: warning: passing arg 2 of `getsysinfo' from
incompatible pointer type
./digitalunix/mom_mach.c: In function `cputype':
./digitalunix/mom_mach.c:1846: warning: passing arg 2 of `getsysinfo' from
incompatible pointer type
gmake[2]: *** [mom_mach.o] Error 1
gmake[1]: *** [all] Error 2
gmake: *** [all] Error 2


   Thanks in afdvance,
     Kumar

^ permalink raw reply	[flat|nested] 2+ messages in thread

* SUMMARY:   PBS (Portable Batch System)
@ 2001-05-05 16:03 Padiyath Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Padiyath Kumar @ 2001-05-05 16:03 UTC (permalink / raw)
  To: tru64-unix-managers




     I could solve the problem with a tip from Ralf Eichmann.Thanks to
Thomas Blinn
     and Ralf Eichmann.
     I was defining one parameter path wrongly with configure command.
     I donot have a file system /var. var is a directory in /usr file
system.
     The solution is:

     configure --set-server-home=/usr/var/spool/.. .
     instaed of 
     configure --set-server-home=/var/spool/..     

     The directory /usr/var/spool/.. is used to store all the necessary
     parameters to start the daemon. 

  The reply from Ralf Eichmann:
  -----------------------------

what is your PBS_HOME directory? Is it somewhere inside /var? Note, that
on most Tru64 systems, var ist linked to usr/var in /. This leads to
some endless recursion during startup of pbs_server, pbs_mom and
pbs_sched, when these try to find the working directory. I forgot the
name of the function, I did the debugging some time ago.
The solution for us was to specify --set-server-home=/usr/var/...
instead of --set-server-home=/var/... for ./configure.

HTH,
Ralf Eichmann

The reply from Thomas Blinn:
========================

Your max-per-proc-stack-size is larger than your per-proc-stack-size,
so if you unlimit the process (e.g., ulimit command or whatever, it
depends on your shell), you will get a somewhat larger stack size.

But that will only help if it's really perfectly normal for this app
to need more than a 2048 kbytes stack size.  If the application has a
bug that makes it recurse forever, for example, then increasing the
stack size is likely to only make it run a while longer before it just
dies again.

You need to get to the root cause of why the app consumed a 2048K stack
and still wanted more.

Did this app EVER work before on this or any other system?

 

My Question:
============

      I get the following error when I start pbs_server on a Tru64 work
station with the following specifications:
      If it is a stack problem how can I increase it?


     Error:
     ====
    # pbs_server -t create

      "Stack overflow: pid 2790, proc pbs_server, addr 0x11dffff30, pc
0x12003909c
      Segmentation fault (core dumped)"


      The configuration of the machine:
      ========================
   limit command output:
    ================

cputime         unlimited
filesize        unlimited
datasize        131072 kbytes
stacksize       2048 kbytes
coredumpsize    unlimited
memoryuse       86376 kbytes
vmemoryuse      1048576 kbytes
descriptors     4096 

    sysconfig -q proc output:
    ==================

# sysconfig -q proc
proc:
max-proc-per-user = 64
max-threads-per-user = 256
per-proc-stack-size = 2097152
max-per-proc-stack-size = 33554432
per-proc-data-size = 134217728
max-per-proc-data-size = 1073741824
max-per-proc-address-space = 1073741824
per-proc-address-space = 1073741824
autonice = 0
autonice-time = 600
autonice-penalty = 4
open-max-soft = 4096
open-max-hard = 4096
ncallout_alloc_size = 8192
round-robin-switch-rate = 0
round_robin_switch_rate = 0
sched-min-idle = 0
sched_min_idle = 0
give-boost = 1
give_boost = 1
maxusers = 32
task-max = 277
thread-max = 552
num-wait-queues = 64
num-timeout-hash-queues = 32
enable_extended_uids = 0
enhanced-core-name = 0
enhanced-core-max-versions = 16

    Operating System:
    ==============

    Tru64 V4.0D

   swapon -s output:
   =============

   # swapon -s
Swap partition /dev/rz3b (default swap):
    Allocated space:        15872 pages (124MB)
    In-use space:             441 pages (  2%)
    Free space:             15431 pages ( 97%)

Swap partition /dev/rz2b:
    Allocated space:        15872 pages (124MB)
    In-use space:             488 pages (  3%)
    Free space:             15384 pages ( 96%)


Total swap allocation:
    Allocated space:        31744 pages (248MB)
    Reserved space:          3930 pages ( 12%)
    In-use space:             929 pages (  2%)
    Available space:        27814 pages ( 87%)

Total Memory:    96Mbytes


     with regards,
     Kumar

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-05 16:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-22  9:16 SUMMARY: PBS (Portable Batch System) Padiyath Kumar
  -- strict thread matches above, loose matches on Subject: below --
2001-05-05 16:03 Padiyath Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox