nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Solaris newbie: How to install IOzone in Solaris

This is a discussion on Solaris newbie: How to install IOzone in Solaris within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; Hello, I'm new to Solaris. I have here a Sun Blade 150, SUNOS Release 5.8. I am searching the net ...


Go Back   nixCraft Linux Forum > UNIX operating systems > Solaris/OpenSolaris

Linux answers from nixCraft.


Solaris/OpenSolaris Discuss all about the SUN Solairs/OpenSolaris. You are free to talk about any issues related to Solaris administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-03-2006, 11:12 AM
Member
User
 
Join Date: Jun 2005
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
warren
Default Solaris newbie: How to install IOzone in Solaris

Hello,

I'm new to Solaris. I have here a Sun Blade 150, SUNOS Release 5.8.
I am searching the net for days on how to install IOzone in Solaris but not able to find one.
There are also no instruction in the IOzone web site on how to install it in Solaris. What's available in the site is the tar file and rpm file.
May anyone please help me or just point me to any links i'll just read it.

Thanks,
warren
Reply With Quote
  #2 (permalink)  
Old 23-03-2006, 01:37 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
Default

Warren,

You need to download source code and compile it on Solaris. On solaris it support both Gcc and Sun C compiler.

Download http://www.iozone.org/src/current/iozone3_260.tar file

Untar using tar command:
Code:
tar xvf  iozone3_260.tar
Then goto iozone3_260/src/current directory and type make command:
Code:
make
It will display the supported operating system, for example to compile on Solaris 10 with GCC compiler I need to type command:
Code:
make Solaris10gcc
OR just type Solaris for 32 bit version
Code:
make Solaris
Detailed installation information is provided ms-word doc file called iozone3_260/docs/IOzone_msword_98.doc there is also a pdf file in iozone3_260/docs directory.
Reply With Quote
  #3 (permalink)  
Old 24-03-2006, 07:38 AM
Member
User
 
Join Date: Jun 2005
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
warren
Default

ok, thanks for the reply.

After I typed the command "make", i've got an error message.
bash: make: command not found

# find / -name \*make -print
/usr/share/lib/make
/usr/lib/spell/hashmake
/usr/lib/svr4.make
/usr/lib/lu/lumake
/usr/openwin/bin/imake
/usr/ccs/bin/make
/usr/ccs/lib/svr4.make
/usr/sbin/lumake
/usr/xpg4/bin/make

Have I installed make? or maybe the $PATH is broken, how can I set it in my environment variables?

Thanks,
warren
Reply With Quote
  #4 (permalink)  
Old 24-03-2006, 07:58 AM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
OS: Suse, RHEL, Vista
Posts: 199
Thanks: 12
Thanked 9 Times in 9 Posts
Rep Power: 7
sweta has a spectacular aura about sweta has a spectacular aura about
Default

Quote:
# find / -name \*make -print
/usr/share/lib/make
/usr/lib/spell/hashmake
/usr/lib/svr4.make
/usr/lib/lu/lumake
/usr/openwin/bin/imake
/usr/ccs/bin/make
/usr/ccs/lib/svr4.make
/usr/sbin/lumake
/usr/xpg4/bin/make
I hope you have compiler installed; following command will give full path of C compiler:
which cc
which gcc

make command
You can setup PATH or you can type full path:
/usr/ccs/bin/make
OR
/usr/xpg4/bin/make

If you are using bash or sh shell then setup path using following command:
export PATH=$PATH:/usr/css/bin:/usr/xpg4/bin
Display new path:
echo $PATH
__________________
Reply With Quote
  #5 (permalink)  
Old 24-03-2006, 08:46 AM
Member
User
 
Join Date: Jun 2005
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
warren
Default

ok, thank you so much. I've got it.

I have modified the $PATH or by just typing the full path of the make command.

output of:
bash-2.03# which cc
/usr/ucb/cc
bash-2.03# which gcc
no gcc in /usr/sbin /usr/bin /usr/dt/bin /usr/openwin/bin /bin /usr/ucb /usr/ccs/bin /usr/xpg4/bin

One more question. I'm not sure if my Solaris is 32bit or 64bit.
This box is Sun Blade 150.
but during boot up, there a message:
SUNOS Release 5.8 Version Generic_108528-29 64 bit

The hardware is 32 bit, right? but why is it that there is a 64 bit message?

Thanks,
warren
Reply With Quote
  #6 (permalink)  
Old 24-03-2006, 11:54 AM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 5
tom is on a distinguished road
Default

Sun Blade 150 is 64-bit workstation, so uname is reporting it as a 64 bit version
Reply With Quote
  #7 (permalink)  
Old 24-03-2006, 11:57 AM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Hmm...

64 bit os on 32 bit hardware, not possible dude. It is a 64 bit hadware see spec at http://www.sun.com/desktop/workstation/sunblade150/
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #8 (permalink)  
Old 24-03-2006, 03:45 PM
Member
User
 
Join Date: Jun 2005
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
warren
Default

There is no compiler installed....
#make Solaris8-64
..........
/usr/ucb/cc: language optional software package not installed

I installed gcc and then modify the PATH. Verify, make a helloworld.c and then compile using "gcc helloworld.c -o helloworld"
ok....no problem
Run again:
#make Solaris8-64
the same error.
the script is set to use cc

what the.....
Reply With Quote
  #9 (permalink)  
Old 26-03-2006, 12:05 AM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 506
Thanks: 0
Thanked 8 Times in 6 Posts
Rep Power: 7
monk has a spectacular aura about monk has a spectacular aura about
Default

-> Solaris (32bit) <-
-> Solaris-2.6 (32bit) <-
-> Solaris7gcc (32bit) <-
-> Solaris8-64 (64bit) <-
-> Solaris8-64-VXFS (64bit) <-
-> Solaris10gcc (32bit) <-

Try
Code:
make Solaris8-64
OR
Code:
make Solaris10gcc
Else create softlink to gcc as cc command using ln -s command.
Reply With Quote
  #10 (permalink)  
Old 27-03-2006, 09:08 AM
Member
User
 
Join Date: Jun 2005
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
warren
Default

# make Solaris10gcc
ok, no error. I can run ./iozone
but "Solaris10gcc" option is for 32 bit and Solaris 10. My machine is Solaris 8 and 64 bit, maybe this will result to an incorrect benchmark.

I created a softlink to gcc as cc.
# make Solaris8-64
Building iozone for Solaris8-64

cc -fast -xtarget=generic64 -v -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO \
-D__LP64__ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-DNAME='"Solaris8-64"' -Dsolaris -DHAVE_PREAD \
iozone.c -o iozone_solaris8-64.o
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
cc: language target=generic64 not recognized
cc: iozone.c: linker input file unused since linking not done
cc -fast -xtarget=generic64 -v -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO \
-D__LP64__ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-Dsolaris -DHAVE_PREAD libasync.c -o libasync.o
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
cc: language target=generic64 not recognized
cc: libasync.c: linker input file unused since linking not done
cc -fast -xtarget=generic64 -v -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO \
-D__LP64__ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-Dsolaris -DHAVE_PREAD libbif.c -o libbif.o
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
cc: language target=generic64 not recognized
cc: libbif.c: linker input file unused since linking not done
cc -c libasync.c
libasync.c:101: sys/timers.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `libasync.o'

I am now downloading Sun Studio 11, I hope I can successfully installed this without errors, again
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Newbie here...looking to install Newlnx Getting started tutorials 4 24-03-2008 11:26 PM
Solaris p_narahari Solaris/OpenSolaris 1 04-05-2005 05:14 PM
Solaris p_narahari Solaris/OpenSolaris 1 04-05-2005 04:59 PM
Solaris 10 NIC support weichong78 Solaris/OpenSolaris 1 02-03-2005 10:37 AM
Solaris 10 monk Solaris/OpenSolaris 6 07-02-2005 12:52 PM


All times are GMT +5.5. The time now is 11:13 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38