I was trying to use multiple instances of the same session in Conjugate Gradient Application by passing session pointer to a function. The relevant function is given below:
double* getMMresult (double* Vector, int order,
int tasksToSend, ConnectionPtr conPtr, SessionPtr sesPtr)
But it goes out of limit after a particular number of iterations/instances. The error message is as follows:
"The session is no longer available within the system. It was either already closed by the client or went out of scope."
How can I edit the scope of a session to reuse it as I like? Or is there any real constraint?
PS: I could solve the issue by using multiple sessions. But that does not solve the real issue.


LinkBack URL
About LinkBacks
Reply With Quote
