Thread: ...

...

From
Nicolas Shatsky
Date:
Dear PostgreSQL Expert,

I'm looking for the help on the PostgreSQL installation matter.
Could you give me such an advice or readdress me to some other experienced
people?

The problem is following.
I got the PostgreSQL ver.7.0.2 from the Postgres site and compiled it on HP-UX machine under OS hppa1.1-hp-hpux10.20.
Whileconfiguring, I set the prefix= to subdirectory in my account since I'm not a root and have no superuser access
rights,and added explicitly "--template=hpux_cc". Also, I got GNU make to build the package.  
Following the INSTALL guide, I compiled the package and tried to start the Regression Test in parrallel mode to check
thesystem before installation. 
The Test passed until the following lines were diplayed:

"...
sequential test numerology           ...  ok
parallel group2 (15 tests)           ...
 lseg  point "

and then many hours passed with no change happened. I tried to recompile the binaries using the "-O" option for
cc-compiler,with or without-CXX. The test ran the same way every time.  
What TODO?
        thank you in advance

                Nicolai Shatsky
                Royal Observatory of Belgium



Re: Parallel regression tests on HPUX

From
Tom Lane
Date:
Nicolas Shatsky <Nicolas.Shatsky@ksb-orb.oma.be> writes:
> I got the PostgreSQL ver.7.0.2 from the Postgres site and compiled it
> on HP-UX machine under OS hppa1.1-hp-hpux10.20. While configuring, I
> set the prefix= to subdirectory in my account since I'm not a root and
> have no superuser access rights, and added explicitly
> "--template=hpux_cc". Also, I got GNU make to build the package.
> Following the INSTALL guide, I compiled the package and tried to start
> the Regression Test in parrallel mode to check the system before
> installation.  The Test passed until the following lines were
> diplayed:

> "...
> sequential test numerology           ...  ok
> parallel group2 (15 tests)           ...
>  lseg  point "

> and then many hours passed with no change happened.

This probably ought to be in our HPUX FAQ somewhere.  The standard HPUX
10.20 shell does not run the parallel regress script properly --- it
seems to get confused when it has too many open child processes.  You
can run the sequential tests OK, or you can run the parallel tests by
using ksh instead of sh.  I usually do the parallel tests this way:

    make SHELL=/bin/ksh runcheck

            regards, tom lane