These are the steps we follow....ARe you sure you have the latest patches for IFOR and lum? Maybe a step was missed? Read through it and see...If you find a solution , please let us know...You may end up calling IBM if you still have problems...
------------------
IBM C for AIX Installation
Prerequisites
Check that the following prerequisite software is installed on the RS/6000 computer getting the C compiler.
1.Run the following commands to determine if the prerequisite software is installed:
lslpp -h bos.adt.include
lslpp -h bos.adt.lib
lslpp -h bos.adt.libm
2.Optionally, check for the graphical package that will allow graphical maintenance utilities to run:
lslpp -h X11.base.rte
If any packages list above are not installed, stop here and install these from the original operating system
CDROMs.
LUM
The IBM C for AIX uses a new, different license manager called LUM. LUM software is
available on the CDROM.
1.Log in as root.
2.Run the following commands:
installp -acd /tmp/ibmc/bosnet.ncs -XFq all
installp -acd /tmp/ibmc/iforls.bas -XFq all
installp -acd /tmp/ibmc/iforls.com -XFq all
installp -acd /tmp/ibmc/iforlsen.msg -XFq all
3.New paths to the license server commands were added to the system .profile file. Log out now to have them take effect at the next login:
exit
-----------------------
Remove IBM C for AIX version 3.1
If you have IBM C for AIX version 3.1 installed, remove it now.
1.Log in as root.
2.Run the command smit.
3.Click on Software Installation and Maintenance.
4.Click on Software Maintenance and Utilities.
5.Click on Remove Installed Software.
6.The remove installed software dialog box will appear
7.Click on the List button next to Software Name.
8.In the SOFTWARE name list, click on all items that begin with xlC., except for xlC.rte.
9.Click on OK to remove the software list box.
10.Select No in the Preview only? (remove operation will NOT occur).
11.Click on OK to remove the old C compiler.
12.It will ask to confirm the removal. Click on OK.
13.Wait for the operation to complete.
14.Click on Done.
15.Click on Cancel.
16.Click on Exit -> Exit Smit.
Also, remove the old license certificate from the nodelock file.
1.Log in as root.
2.Edit the file /var/ifor/nodelock and remove the two licenses for the C compiler. Leave the Fortran
compiler lines intact.
-------------------------------------------
Install IBM C for AIX
Now we're finally getting to the installation of the new C compiler.
1.Log in as root.
2.Run the command xinstallm.
3.Click on Directory to select the product installation directory.
4.Inside the Please enter the full path to the directory containing the software to install box, enter
/tmp/ibmc.
5.Click on OK.
6.Three products should appear in the Software for Installation box.
7.Click on the following products. The attention to only selecting U.S. English is the only reason that the entire products are not installed:
memdbg/memdbg
memdbg/memdbg.msg.en_US
vac/vac.C
vac/vac.C.readme.ibm
vac/vac.html.en_US
vac/vac.msg.en_US
xldb
8.Click on Install.
9.Wait for the operation to complete.
10.The installation will have a failure. Carefully check the log file and make sure that the failure was only caused by foreign language support files failing to install. Otherwise, the installation really was successful.
11.Click on Exit.
Setting up license services
The LUM license manager needs adjusting to handle nodelocked licenses, and to automatically start when the system boots.
1.Log in as root.
2.Run the command i4config.
3.A license manager configuration tool window will appear.
4.Of the four choices for license service, click on Nodelocked License Server (NodLS) and click off the other three entries.
5.Switch to the tab labeled Start up.
6.Click on Start services at system startup.
7.Close the window. A dialog box will appear saying Do you want to save changes?. Click Yes.
8.A new dialog box may come up asking to start the new configuration. Click OK.
The license server needs starting:
1.Log in as root.
2.Run the command i4cfg -start.
Installing license codes
The best part of the new C compiler is that the license codes are included on the CDROM and it is no longer necessary to call or e-mail IBM for codewords. Install the codes now.
1.Log in as root.
2.Run the command i4blt.
3.A basic license tools window will appear.
4.Click on Products -> Enroll product....
5.Inside the Enroll Product dialog box, click on Import....
6.Inside the Import dialog box, transverse to the directory /usr/vac and click on c50aix_cn.lic.
7.Click OK.
8.Click OK.
9.An Enroll Licenses dialog box will appear.
10.Fill out the Company and Address fields as appropriate.
11.In the Enrolled licenses field, I put 50.
12.Click on OK.
13.A cool graphic showing 50 licenses should show up on the main screen.
14.Click on Products -> Exit.
Putting cc into the path
Some unknown IBM wisdom has proclaimed that the new compiler will not be available unless the user puts /usr/vac/bin into their path. But, thanks also to IBM's wisdom, an optional script file is available to put cc into the main path if desired by the administrator. I do desire this. So, to add cc to the main path, perform the following:
1.Log in as root.
2.Run the command /usr/vac/bin/replaceCSET.
Test
Run tests to make sure that everything is installed okay, and that C and Fortran are cooperating:
1.Log in as yourself.
2.Compile a basic C program with cc sample.c -lm:
---------------------------------
Spinning license manager
The license manager has a bug where it goes into a spin loop. Turn off the license manager.
1.Log in as root.
2.Change to the directory /var/ifor.
3.Stop the running license manager, enter ./i4cfg -stop.
Modify the auto-startup feature.
1.Start the configuration program with ./i4cfg.
2.Switch to the tab labeled Start up.
3.Click off Start services at system startup.
4.Close the window. A dialog box will appear saying Do you want to save changes?. Click Yes.
5.A new dialog box may come up asking to start the new configuration. Click OK.
----------------
Make a change to the configuration file for the C compiler.
1.Edit the file /etc/vac.cfg.
2.Go to the section that begins with common definitions near the bottom.
3.At the end of the line for options, add the switch -qnolm.
4.Write out the new configuration file.
Run the C compiler tests again to make sure the configuration was successfully changed.
----------------------------
For LUM 4.5
To add the license to the server, run the following command :-
/var/ifor/i4blt -a -f {license file} -R u -T {number of licenses}
example :-
/var/ifor/i4blt -a -f /usr/vac/c44aix_cn.lic -R u -T 5
------------------------
sites for IBM floating license, Nodelock license and LUM manuals:
ftp://ftp.software.ibm.com/software/lum/aix/doc/