Problem with PSOPT and ADOL-C

38 views
Skip to first unread message

Alejandro Ramos

unread,
Jul 10, 2020, 6:11:26 AM7/10/20
to PSOPT users group
Dear All,

I have encounter the following error when using PSOPT. The error happens when I use too many nodes for a given problem, around 300 nodes for a problem of 36 state variables. The error goes like this:


ADOL-C error: Used tape (2) was written with ADOL-C version older than 2.5.3
              This is ADOL-C 2.6.3
Exception of type: IpoptException in file "Unknown File" at line -1:
Exception message: Unknown Exception caught in Ipopt


I've already tried to use a different ADOL-C version and using the option  --enable-ulong in the configure script, but nothing seems to work. If someone have some idea of how to solve it, I will appreciate it.

Best regards,

Alejandro.

Alejandro Ramos

unread,
Jul 11, 2020, 4:05:29 PM7/11/20
to PSOPT users group
Ok, I've found a solution. Adding a file called .adolcrc in the working folder with the following lines seems to fix the problem:

"OBUFSIZE" = "6553600"
"LBUFSIZE" = "6553600"
"VBUFSIZE" = "6553600"
"TBUFSIZE" = "6553600"

These values should be grater than the defaults. I hope this helps.
Reply all
Reply to author
Forward
0 new messages