xlf: command not found!!!!


 
Thread Tools Search this Thread
Operating Systems AIX xlf: command not found!!!!
# 1  
Old 12-28-2005
xlf: command not found!!!!

dear all,
I am trying to compile XL Fortran in AIX 5.3. Ibm has provided the Expansion pack CD which has xlfrte9.1 using which I am trying to do the compilation.
When I install it from the CD then I get the following success mesgs (not the complete list):

File:
I:xlfrte 9.1.0.0


xlfrte 9.1.0.0 (Selected)
XL Fortran Runtime Environment

xlfrte.msg.en_US 9.1.0.0 (Selected)
XL Fortran Runtime Messages - U.S. English

xlfrte.aix51 9.1.0.0 (Requisite)
XL Fortran Runtime Environment AIX 5.1 Libraries



Installing Software...
+-----------------------------------------------------------------------------+

installp: APPLYING software for:
xlfrte 9.1.0.0

New volume on /mnt/installp/ppc/xlfrte_9.1:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Sat Aug 14 02:18:32 PAKDT 2004
Files are backed up by name.
The user is BUILD.
The number of restored files is 10.
x 0 ./usr/lpp/xlf
x 0 ./usr/lpp/xlf/lib
x 0 ./usr/lpp/xlf/lib/f90_t
x 0 ./usr/lpp/xlfrtemsg
x 15691020 ./usr/lib/derdxft1
x 85353 ./usr/lib/libxlf.a
x 8666 ./usr/lib/libxlfutil.a
x 9260 ./usr/lib/libxlfpthrds_compat.a
x 19907 ./usr/lpp/xlfrtemsg/xrfmsg.cat
x 37646 ./usr/lpp/xlfrtemsg/xrfmsg90.cat
The total size is 15851852 bytes.
Filesets processed: 1 of 3 (Total time: 6 secs).

installp: APPLYING software for:
xlfrte.msg.en_US 9.1.0.0

New volume on /mnt/installp/ppc/xlfrte.msg.en_US_9.1:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Sat Aug 14 02:18:16 PAKDT 2004
Files are backed up by name.
The user is BUILD.
The number of restored files is 2.
x 19907 ./usr/lib/nls/msg/en_US/xrfmsg.cat
x 37646 ./usr/lib/nls/msg/en_US/xrfmsg90.cat
The total size is 57553 bytes.
Filesets processed: 2 of 3 (Total time: 7 secs).

installp: APPLYING software for:
xlfrte.aix51 9.1.0.0


. . . . . << Copyright notice for xlfrte.aix51 >> . . . . . . .
Licensed Materials - Property of IBM

Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Sat Aug 14 02:18:28 PAKDT 2004
Files are backed up by name.
The user is BUILD.
The number of restored files is 13.
x 0 ./usr/lpp/xlf
x 0 ./usr/lpp/xlf/lib
x 0 ./usr/lpp/xlf/lib/aix51
x 0 ./usr/lpp/xlf/lib/aix52
x 0 ./usr/lpp/xlf/lib/aix53
x 12311066 ./usr/lpp/xlf/lib/aix51/libxlf90_r.a
x 12020613 ./usr/lpp/xlf/lib/aix51/libxlf90_t.a
x 9623 ./usr/lpp/xlf/lib/aix51/libxlfpmt4_r.a
x 8991 ./usr/lpp/xlf/lib/aix51/libxlfpmt4_t.a
x 18823 ./usr/lpp/xlf/lib/aix51/libxlfpmt8_r.a
x 17471 ./usr/lpp/xlf/lib/aix51/libxlfpmt8_t.a
x 36095 ./usr/lpp/xlf/lib/aix51/libxlfpad_r.a
x 35463 ./usr/lpp/xlf/lib/aix51/libxlfpad_t.a

Installation Summary
--------------------
Name Level Part Event Result
------------------------------------------------------------------------
xlfrte 9.1.0.0 USR APPLY SUCCESS
xlfrte.msg.en_US 9.1.0.0 USR APPLY SUCCESS
xlfrte.aix51 9.1.0.0 USR APPLY SUCCESS

-------------end---------------

As is clear from the above commands there is no binary generated in the /usr/bin. Also /usr/lpp/xlf has only lib directory having many files with .a extension. Also some library files are included in the /usr/lib which are as follows:

bash-3.00# ls libxlf*
libxlf.a libxlfpad_r.a libxlfpmt8.a
libxlf90.a libxlfpad_t.a libxlfpmt8_r.a
libxlf90_r.a libxlfpmt4.a libxlfpmt8_t.a
libxlf90_t.a libxlfpmt4_r.a libxlfpthrds_compat.a
libxlfpad.a libxlfpmt4_t.a libxlfutil.a

also /usr/lib/objrepos contains the object files...


With whatever information I could gather by now, I guess I am now supposed to link the library files using ld which will then generate the executable in the /usr/bin like xlf90, xlf95, f77 etc...

Kindly help me and guide me as to what should I do in order to make this fortran compiler work as this is the first dependency for the software in which I am interested?
Also the documentation states that bos.adt.libm is also required for the compilation of xlfrte 9.1 but the system doesnt have this rpm as well (i have checked it using lslpp -l bos.adt.libm) but since the compilation doesnt give the prereq error while installing xlf from the CD using smit and otherwise also so i really do not know if this is the real cause of the problem.

Eagerly waiting for the AIXperts views,
Regards,
MzZt
# 2  
Old 01-01-2006
What you have installed is just the Fortran runtime, which can only run XL Fortran programs which have been already compiled.

IBM does not distribute the compiler for free, only the runtime is shipped with the expansion pack.

If you want to be able to compile Fortran code, you are going to have to purchase the IBM XL Fortran compiler. It looks like the latest version for AIX is XL Fortran Enterprise Edition 10.1 - the IBM program # is 5724-M13.

I believe that there is also a free g77 compiler that you can find online, but this would of course not be officially supported, as it is GNU.

IBM Maintains a library of precompiled tools at: http://www-03.ibm.com/servers/aix/pr.../download.html

Unfortunately, it looks like only the gcc and gcc-c++ compilers are there, not g77 - Smilie

Hope this helps.
# 3  
Old 01-05-2006
cpu communication

hie,

Thanks you so much for your reply.

I got an evaluation copy of xlf10 from the IBM website and compiled the software which I wanted to compile using the parallel environment provided by MPICH-1.2.4

Actually, right now we cannot purchase AIX parallel environment, so I found out from many other places that people run MPICH also on AIX and with charmm too,and hence I have installed mpich-1.2.4 on the aix and ran the examples too to verify my installation of mpich.

The examples are working fine, but I observe a strange behaviour, with increase in the number of cpu the process becomes slow, or to put it in other words the communication among the cpu appears to be a problem.

This I observe for the test runs of mpich as well test runs of charmm.

I do not know if mpich is causing this problem or some other reason is responsible for it!


Kindly suggest me something regarding this too,
Eagerly Waiting,

MzZt.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Want to terminate command execution when string found in the command output

Hi Experts, I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task. I am running below command to snmpwalk the router.. snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies

2. Shell Programming and Scripting

When i am trying to execute export command within a shell script it is saying command not found.

I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found" My code is as follows: -------------------------- #!/bin/sh user="test" DIR="/bldtmp/"$user VIEW="test.view1" echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies

3. Homework & Coursework Questions

Command not found

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Trying to run script but everytime I do I get teh following error message line 4: I have attempted... (5 Replies)
Discussion started by: tbear808
5 Replies

4. Shell Programming and Scripting

bash: <command nm> command not found

I created a script that I need to run from time to time, but get this error message. To get it working again I run this command from time to time: export PATH="$PATH:~/scripts" I put all my automated scripts in the /scripts directory and would like to run my scripts from any directory... (5 Replies)
Discussion started by: catalinawinemxr
5 Replies

5. Shell Programming and Scripting

Always getting command not found

I'm using Terminal in MAC OS X, and new to this. I don't know what happened to the path. I always get "command not found". For example, this is some of what I get: -bash: ls: command not found -bash: touch: command not found What should I do to return the terminal to normal? ... (0 Replies)
Discussion started by: Abder-Rahman
0 Replies

6. AIX

compilation problem on powerpc-ibm-aix5.2.0.0--Xlf

Dear all, I am not sure whether I am in the right forum, but... I am trying to compile a program on aix5.2.0.0 which requires the use of blas, lapack, blacs scalapack. I am getting the following error msg whcih I can't get rid off! ld: 0711-317 ERROR: Undefined symbol: .zhegvx ld: 0711-317... (2 Replies)
Discussion started by: pauli
2 Replies

7. AIX

IBM xlf "parser stack overflow" error

Hello, Does anybody know how to increase IBM xlf parser stack to get rid of the "parser stack overflow" error? Thanks Ping (1 Reply)
Discussion started by: luop0812
1 Replies

8. UNIX for Dummies Questions & Answers

Command not found

Hi guys, I do apologise if this question has been asked before. I am currently running Solaris 10 on a x86 architecture. Now, the problem I am having relates to the issuing of commands, for example if I am trying to find out the ipaddress of the machine I would issue the command 'ipconfig -a |... (2 Replies)
Discussion started by: BigTool4u2
2 Replies

9. UNIX for Dummies Questions & Answers

Command not found

I ran the following script and it saying that sqlplus command not found. Please give me suggestions. echo `date +%c` >> $LOG_FILE echo "Database BACKUP starting." >> $LOG_FILE ORACLE_HOME=/u01/app/oracle/product/10.2; export ORACLE_HOME ORACLE_SID=SEED; export ORACLE_SID... (20 Replies)
Discussion started by: manna
20 Replies

10. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies
Login or Register to Ask a Question