What is causing the following error when trying to run ANSYS 8.1 on an SGI Altix with SGI Pro-pack 2.4?

typhoon 78% ./ansys81
./ansys81: line 407: ulimit: stack size: cannot modify limit: Operation not permitted
./ansys81: line 601: scsl_test.24928: Permission denied


Input/Output Error 177: Creat Failure

In Procedure: fappnd
At Line: 72

Statement: Formatted WRITE
Unit: 19


To correct the problem, follow the instructions below:

1) As root, edit the file: /etc/security/limits.conf
Add the following line:

* hard stack 8000000

The 8000000 is 8GB "hard limit" that normal users can not exceed with the limit or ulimit commands (depending on shell).
The Ansys startup script issues a ulimit command on scratch that exceeds the 8MB that is the SGI Pro-pack 2.4 default limit.

Also if jobs, Ansys or otherwise, are run through cron, and the jobs also use a limit or ulimit , like ANSYS does, they will fail even though the step #1 above has been done.
This is because cron jobs don't use the pam authentication that normal logged in users get.

To overcome this problem,

2) add a file called "cron" to the /etc/pam.d directory.
The contents should be: session required /lib/security/pam_limits.so

Between steps #1 & #2, users should be able to overcome the limit or ulimit on stack space.

Also note that the 8GB is step one is actually "virtual" memory, so a high multiple value of the actual memory should be OK.
**** Entered By: dbrooks @ 01/25/2005 01:06 PM ****





Show Form
No comments yet. Be the first to add a comment!