[molpro-user] Buffer overflow for long expression
Peter Knowles
KnowlesPJ at Cardiff.ac.uk
Tue Apr 6 09:38:00 BST 2010
If you have source code, you can safely change the code: edit the first two character(32) in src/common/czmat to a length of your choice. Please note that if you do this, you will not have restart compatibility with the standard version of Molpro.
Peter
On 3 Apr 2010, at 14:00, <jklos at umd.edu> wrote:
> do you pass it via a variable or input your expression directly into Z-matrix?
> could you show this part of your molpro input?
> jacek
>
> ---- Original message ----
>> Date: Fri, 2 Apr 2010 13:27:17 -0500
>> From: David Woon <davidewoon at gmail.com>
>> Subject: [molpro-user] Buffer overflow for long expression
>> To: molpro-user at molpro.net
>>
>> I'm trying to use a long mathematical expression in
>> a z-matrix, but
>> molpro (2009.1, patch level 28) dies with the error:
>>
>> The geometry input expression
>> _______________________
>> is longer
>> than 32
>> bytes, which is the size
>> of the buffer to receive it
>> ? Error
>> ? Buffer overflow
>> ? The problem occurs in zmatrix
>>
>> Is there a parameter than can be reset to accomdate
>> expressions
>> longer than 32 bytes? Can the code be tweaked as a
>> last resort?
>>
>> Thanks,
>> Dave Woon
>>
>> --
>> David E. Woon, PhD
>> Visiting Research Scientist
>> Department of Chemistry
>> Box 92-6, CLSL
>> 600 S. Mathews Ave.
>> Urbana, IL 61801
>> davidewoon at gmail.com
>> http://www.astrochymist.org/woon
>> ________________
>> _______________________________________________
>> Molpro-user mailing list
>> Molpro-user at molpro.net
>> http://www.molpro.net/mailman/listinfo/molpro-user
> _______________________________________________
> Molpro-user mailing list
> Molpro-user at molpro.net
> http://www.molpro.net/mailman/listinfo/molpro-user
--
Prof. Peter J. Knowles
School of Chemistry, Cardiff University, Main Building, Park Place, Cardiff CF10 3AT, UK
Email KnowlesPJ at Cardiff.ac.uk
WWW http://www.cardiff.ac.uk/chemy/contactsandpeople/academicstaff/knowles.html
Secretary: Alison Thompson, ThompsonAF at Cardiff.ac.uk Telephone +44 29 208 74805
More information about the Molpro-user
mailing list