Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fortran Compiler Problem

Status
Not open for further replies.

sjcrane

MIS
Jan 18, 2006
41
US
On:

p595c-e25:root:(/tmp)> oslevel -r
5300-04


I have loaded:

p595c-e25:root:(/tmp)> lslpp -L all|grep xlf
xlfcmp 7.1.1.5 C F XL Fortran Compiler
xlfcmp.html.en_US 7.1.1.0 C F XL Fortran Compiler
xlfcmp.idebug.html.en_US 7.1.1.0 C F Distributed Debugger
xlfcmp.msg.EN_US 7.1.1.0 C F XL Fortran Compiler Messages -
xlfcmp.msg.En_US 7.1.1.0 C F XL Fortran Compiler Messages -
xlfcmp.msg.en_US 7.1.1.0 C F XL Fortran Compiler Messages -
xlfcmp.pdf.en_US 7.1.1.0 C F XL Fortran Compiler
xlfcmp.ps.en_US 7.1.1.0 C F XL Fortran Compiler
xlfrte 7.1.1.5 C F XL Fortran Runtime
xlfrte.aix51 7.1.1.5 C F XL Fortran Runtime Environment
xlfrte.msg.EN_US 7.1.1.0 C F XL Fortran Runtime Environment
xlfrte.msg.En_US 7.1.1.0 C F XL Fortran Runtime Environment
xlfrte.msg.en_US 7.1.1.0 C F XL Fortran Runtime Messages -


When I try a compile from root it works fine.


p595c-e25:root:(/tmp)> xlf -O mytest.f -o mytest
No licenses available. Contact your program supplier to add
additional users. Compilation will proceed shortly.
** mytest === End of Compilation 1 ===
1501-510 Compilation successful for file mytest.f.
p595c-e25:root:(/tmp)> ./mytest
xlf seems to work fine.
p595c-e25:root:(/tmp)>


But when I attempt to compile as a user I get an error:


p595c-e25:root:(/tmp)> rm mytest
p595c-e25:root:(/tmp)> su - vm065c
$ cd /tmp
$ xlf -O mytest.f -o mytest
*** Exiting: exception caught by PFM system cleanup handler
*** communications failure (network computing system/RPC runtime) [1c010001]

All permissions seem to be read for user|groups|others

Any Ideas??????????
 
I presume it is installed as root and this line is the key to your problem:
No licenses available. Contact your program supplier to add
additional users.
 
On other server it says the same thing but compiles for users....
 
Looks like an access / permissions problem but I do not know XLF.
PFM => program fault management package - so it seems PMF is loaded, which is good, or you might get no failure message.
1c010001 is just a generic comms failure.
As everyting is local (I presume) it must be a permissions problem or possably a missing link, which could only ba a permissions problem because it is all local and it works for root.
Can you change vm065c's path to the same as root's and try it.

 
Both times, root and vm065c was executed from /tmp where the file is as shown in the first thread....

/tmp/mytest.f

p595c-e25:root:(/tmp)> xlf -O mytest.f -o mytest


p595c-e25:root:(/tmp)> rm mytest
p595c-e25:root:(/tmp)> su - vm065c
$ cd /tmp
$ xlf -O mytest.f -o mytest


And yes, everything is local on the system...
 
For starters, I'd try a different output file as user vm065c:

p595c-e25:root:(/tmp)> su - vm065c
$ cd /tmp
$ xlf -O mytest.f -o vm065ctest



HTH,

p5wizard
 
Same as before,

p595c-e25:root:(/)> cd /tmp
p595c-e25:root:(/tmp)> su - vm065c
$ cd /tmp
$ xlf -O mytest.f -o vm065ctest
*** Exiting: exception caught by PFM system cleanup handler
*** communications failure (network computing system/RPC runtime) [1c010001]


I might have to call IBM on this one. I have completely removed compiler and reinstalled xlf_8.1.1.0.

We installed on two servers. One works fine and this one fails. This is also part of a large scale migration and the AIX builds are different. I don't know how deep I want to go with this one....
 
p595c-e25:root:(/tmp)> xlf -O mytest.f -o mytest

No licenses available. <----------**********

Contact your program supplier to add
additional users. Compilation will proceed shortly.

maybe it allows root, but because you have no licenses install other users are not allowed.

Could also be down to

chuser capabilities=CAP_BYPASS_RAC_VMM,CAP_PROPAGATE $USER

Allows $USER (non-root ID) to access the large pages that are available.




Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
We have loaded the compiler on several servers during this migration and they all compile for users and root even without the license, same issue.....

This is to prepare for testing before going into production where the licenses go live...
 
Regarding the:

chuser capabilities=CAP_BYPASS_RAC_VMM,CAP_PROPAGATE $USER

Allows $USER (non-root ID) to access the large pages that are available.

How would I go about modifying a single user do have these capabilities?
 
I tried this, It didn't work either.....

p595c-e25:root:(/)> chuser capabilities=CAP_BYPASS_RAC_VMM,CAP_PROPAGATE vm065c
p595c-e25:root:(/)> su - vm065c
$ cd /tmp
$ xlf -O mytest.f -o mytest
*** Exiting: exception caught by PFM system cleanup handler
*** communications failure (network computing system/RPC runtime) [1c010001]
$
 
AIX treats large pages as pinned memory. AIX does not provide paging support for large pages. The data of an application that is backed by large pages remains in physical memory until the application completes. A security access control mechanism prevents unauthorized applications from using large pages or large page physical memory. The security access control mechanism also prevents unauthorized users from using large pages for their applications. For non-root user ids, you must enable the CAP_BYPASS_RAC_VMM capability with the chuser command in order to use large pages. The following example demonstrates how to grant the CAP_BYPASS_RAC_VMM capability as the superuser:

# chuser capabilities=CAP_BYPASS_RAC_VMM,CAP_PROPAGATE <user id>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top