03-10-2004
If I extract, and don't compile, and just type ./Run, I get this:
Wed Mar 10 19:34:43 EST 2004
~/unixbench/bm
gklofa@beast: pts/1: 15 files 277Kb -> ./Run
-bash: ./Run: Permission denied
Then, if I compile, this is the output of make:
Wed Mar 10 19:34:46 EST 2004
~/unixbench/bm
gklofa@beast: pts/1: 15 files 277Kb -> make
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./doc exists
exists
./results exists
gcc -o ./pgms/arithoh -DTIME -O -Darithoh ./src/arith.c
gcc -o ./pgms/register -DTIME -O -Ddatum=register ./src/arith.c
gcc -o ./pgms/short -DTIME -O -Ddatum=short ./src/arith.c
gcc -o ./pgms/int -DTIME -O -Ddatum=int ./src/arith.c
gcc -o ./pgms/long -DTIME -O -Ddatum=long ./src/arith.c
gcc -o ./pgms/float -DTIME -O -Ddatum=float ./src/arith.c
gcc -o ./pgms/double -DTIME -O -Ddatum=double ./src/arith.c
gcc -o ./pgms/hanoi -DTIME -O ./src/hanoi.c
gcc -o ./pgms/fstime -DTIME -O -Dawk=1 ./src/fstime.c
src/fstime.c: In function `main':
src/fstime.c:86: warning: passing arg 2 of `signal' from incompatible pointer type
src/fstime.c: In function `w_test':
src/fstime.c:107: warning: passing arg 2 of `signal' from incompatible pointer type
src/fstime.c: In function `r_test':
src/fstime.c:145: warning: passing arg 2 of `signal' from incompatible pointer type
src/fstime.c: In function `c_test':
src/fstime.c:188: warning: passing arg 2 of `signal' from incompatible pointer type
gcc -o ./pgms/syscall -DTIME -O ./src/syscall.c
gcc -o ./pgms/context1 -DTIME -O ./src/context1.c
gcc -o ./pgms/pipe -DTIME -O ./src/pipe.c
gcc -o ./pgms/spawn -DTIME -O ./src/spawn.c
gcc -o ./pgms/execl -DTIME -O ./src/execl.c
In file included from src/execl.c:30:
src/big.c: In function `dummy':
src/big.c:268: warning: passing arg 2 of `signal' from incompatible pointer typesrc/big.c:269: warning: passing arg 2 of `signal' from incompatible pointer typesrc/big.c:350: warning: passing arg 2 of `signal' from incompatible pointer typesrc/big.c: In function `onalarm':
src/big.c:389: warning: passing arg 2 of `signal' from incompatible pointer typesrc/big.c: In function `getwork':
src/big.c:439: warning: passing arg 2 of `fprintf' from incompatible pointer type
/tmp/cccTBai1.o(.text+0x102d): In function `getwork':
: warning: the `gets' function is dangerous and should not be used.
cd ./src; gcc -c -DTIME -DHZ= -O dhry_1.c
cd ./src; gcc -c -DTIME -DHZ= -O dhry_2.c
gcc -o ./pgms/dhry2 -DTIME -O ./src/dhry_1.o ./src/dhry_2.o
cd ./src; rm -f dhry_1.o dhry_2.o
cd ./src; gcc -c -DTIME -DREG=register -DHZ= -O dhry_1.c
cd ./src; gcc -c -DTIME -DREG=register -DHZ= -O dhry_2.c
gcc -o ./pgms/dhry2reg -DTIME -O ./src/dhry_1.o ./src/dhry_2.o
cd ./src; rm -f dhry_1.o dhry_2.o
gcc -o ./pgms/looper -DTIME -O ./src/looper.c
And then when I type ./Run:
Wed Mar 10 19:34:54 EST 2004
~/unixbench/bm
gklofa@beast: pts/1: 15 files 277Kb -> ./Run
Flavor of UNIX is not known.
Please define FLAVOR in Run script
So using the existing binary, or re-compiling with make does not work.
Thanks
Greg
10 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
New Linux mail servers benchmarks website. Check out
http://benchmarks.dmz.ro . (0 Replies)
Discussion started by: cipango
0 Replies
2. UNIX for Advanced & Expert Users
Hello everyone.
Does anyone know where to I could find published benchmarks for how a Linux box performs. It would be nice if I could find a comparison to the Windows OS.
Thanks,
Lance (2 Replies)
Discussion started by: lcstephens
2 Replies
3. Linux Benchmarks
STEP 1: Get the source here:
https://www.unix.com/source/bm.zip
or
https://www.unix.com/source/unix_linux_bench.tar.gz
STEP 2: unzip or untar and cd into the bm directory
STEP 3: make
(Note: there is a pre-compiled Linux binary in the distro, so Linux users don't have to make a... (0 Replies)
Discussion started by: Neo
0 Replies
4. Linux Benchmarks
I created two computers with identical hardware, and run the benchmark programs in both starting at the same exact time.
What makes no sense is that the computer that has the lower average index (121) finished the race a good 30 minutes ahead of the computer wich showed the higher avg index... (0 Replies)
Discussion started by: philip_38
0 Replies
5. Linux
My system bench mark results
INDEX VALUES
TEST BASELINE RESULT INDEX
Arithmetic Test (type = double) 2541.7 876123.7 344.7
Dhrystone 2 without register variables 22366.3 5411602.3 ... (1 Reply)
Discussion started by: chandra s
1 Replies
6. Linux Benchmarks
FYI:
Here is the archive site for the original Linux benchmarks (1994 - 1996)
http://linux.silkroad.com/
Neo (3 Replies)
Discussion started by: Neo
3 Replies
7. Shell Programming and Scripting
Hello,
I am using suse 10.1 and isql from unixodbc to connect to a MS SQL server. I got everything to work fine. What do I need to unload the results from the sql to a file? I attempted to put unload to in my sql statement but got a error. I don't see in the isql help where it has a option to... (0 Replies)
Discussion started by: benefactr
0 Replies
8. Shell Programming and Scripting
Here is my script:
#
# Capture the current directory.
export -p CurrentDir="`pwd`"
echo $CurrentDir
#
# Capture the new directory name in the form YYYYMMDD.
export -p DateDir="`date +"%Y%m%d"`"
echo $DateDir
#
# Store the desired target directory.
export -p... (6 Replies)
Discussion started by: imprimisxo
6 Replies
9. Red Hat
I seem to be somewhat baffled by the results of the -L option of the ls command on our new Linux system.
I have a symbolic link defined like the following:
ptmawpmfld.sqr as /u21/xxxx/m/moranp1/yyyy/fixpaths/tests20091218/awpmfld.sqr
When I issue the command ls -l ptmawpmfld.sqr, I see the... (2 Replies)
Discussion started by: ptmoran
2 Replies
10. UNIX for Dummies Questions & Answers
I am trying to sort a file . The file looks like this:
DDFF 2 /ztpfrepos/pgr/load
DDFQ 2 /ztpfrepos/pgr/load
DDFX 2 /ztpfrepos/pgr/load
DDUA 2 /ztpfrepos/pgr/load
My command:
sort -k1 /home/c153507/Bin/OPL1.txt -o /home/c153507/Bin/OPL1.txt
The results are OK except for one line where... (4 Replies)
Discussion started by: Yahalom
4 Replies
LEARN ABOUT OPENSOLARIS
mlib_imagedivalpha
mlib_ImageDivAlpha(3MLIB) mediaLib Library Functions mlib_ImageDivAlpha(3MLIB)
NAME
mlib_ImageDivAlpha - alpha channel division
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_ImageDivAlpha(mlib_image *dst, const mlib_image *src,
mlib_s32 cmask);
DESCRIPTION
The mlib_ImageDivAlpha() function divides color channels by the alpha channel on a pixel-by-pixel basis.
For the MLIB_BYTE image, it uses the following equation:
dst[x][y][c] = src[x][y][c] / (src[x][y][a] * 2**(-8))
For the MLIB_SHORT image, it uses the following equation:
dst[x][y][c] = src[x][y][c] / (src[x][y][a] * 2**(-15))
For the MLIB_USHORT image, it uses the following equation:
dst[x][y][c] = src[x][y][c] / (src[x][y][a] * 2**(-16))
For the MLIB_INT image, it uses the following equation:
dst[x][y][c] = src[x][y][c] / (src[x][y][a] * 2**(-31))
where c and a are the indices for the color channels and the alpha channel, respectively, so c != a.
In the case of src[x][y][a] = 0,
dst[x][y][c] = 0 if src[x][y][c] = 0
dst[x][y][c] = DATA_TYPE_MAX if src[x][y][c] > 0
dst[x][y][c] = DATA_TYPE_MIN if src[x][y][c] < 0
where DATA_TYPE is MLIB_U8, MLIB_S16, MLIB_U16, or MLIB_S32 for an image of type MLIB_BYTE, MLIB_SHORT, MLIB_USHORT, or MLIB_INT, respec-
tively.
PARAMETERS
The function takes the following arguments:
dst Pointer to destination image.
src Pointer to source image.
cmask Channel mask to indicate the alpha channel. Each bit of the mask represents a channel in the image. The channel corresponding to
the 1 bit of cmask is the alpha channel.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
mlib_ImageDivAlpha_Inp(3MLIB), mlib_ImageDivAlpha_Fp(3MLIB), mlib_ImageDivAlpha_Fp_Inp(3MLIB), attributes(5)
SunOS 5.11 2 Mar 2007 mlib_ImageDivAlpha(3MLIB)