[molpro-user] gmainv1 failure

csong csong at ustc.edu.cn
Fri Feb 29 00:54:13 GMT 2008

Dear Andy,
Many thanks for your quick reply.
I checked the value in /proc/sys/kernel/shmmax
$ more /proc/sys/kernel/shmmax

It seems to be no limit. And I change it larger in /etc/sysctl.conf,but it's also no use.

Best wishes,

>Andy May
>I think the limit can be found in:
>The standard limit appears to be 32 Mb.
>Best wishes,
>csong wrote:
>>  Hi,
>>  I have a linux machine(RHEL5 system,Intel(R) Xeon(R) CPU E5335) with 12GB of memory and I'm trying to execute a job but I can't.  The error message is the following:
>> Failure in attempting memory allocation of 500230002 words (3816 Mbyte)
>> This error has been generated by the operating system,
>> and may be the result of insufficient system memory or paging space
>> In order to avoid the problem in the MOLPRO context,
>> consider also reducing the requested memory through
>> the MEMORY input command, or the -m command line option
>> gmainv1 failure to allocate 500230002
>> I already had done some search for similar issues and I had found that a possible problem is the datasize limits, but the problem stills even after changing these values to unlimited. And I had update the kernel to the latest stable version(, but it is also no use.
>> # ulimit -a
>> core file size          (blocks, -c) 0
>> data seg size           (kbytes, -d) unlimited
>> max nice                        (-e) 0
>> file size               (blocks, -f) unlimited
>> pending signals                 (-i) 106496
>> max locked memory       (kbytes, -l) 32
>> max memory size         (kbytes, -m) unlimited
>> open files                      (-n) 1024
>> pipe size            (512 bytes, -p) 8
>> POSIX message queues     (bytes, -q) 819200
>> max rt priority                 (-r) 0
>> stack size              (kbytes, -s) 8192
>> cpu time               (seconds, -t) unlimited
>> max user processes              (-u) 106496
>> virtual memory          (kbytes, -v) unlimited
>> file locks                      (-x) unlimited
>> Would you help me to solve it? Thanks.
>> Song

More information about the Molpro-user mailing list