help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] csv_driver:unable to create ....csv - Permission denied


From: Nigel Galloway
Subject: Re: [Help-glpk] csv_driver:unable to create ....csv - Permission denied
Date: Wed, 07 Jan 2015 07:38:01 -0800

Let us assume the OS is Windows in which case 113 means the system has
run out of file handles. Normally you can open a file to read even if
something else has it open for writing. I would suggest installing
http://technet.microsoft.com/en-gb/sysinternals/bb896653 and observe
which processes are opening so many files then fixing the code.

-- 
  Nigel Galloway
  address@hidden

On Tue, Jan 6, 2015, at 12:21 PM, Michael Hennebry wrote:
> On Tue, 6 Jan 2015, Martin Albrecht wrote:
> 
> > I am running a GLPK model that is sequentially started from a frame program 
> > in Java.
> 
> In this contex, what is a frame program?
> What OS are you running?
> 
> > Unfortunately,  I get sometime error when opening the .csv files.
> > Here is an example:
> > /
> > csv_driver: unable to open BOM.csv - Permission denied
> > allocation.mod:113: error on opening table tab_BOM
> > glp_mpl_build_prob: invalid call sequence
> > Error detected in file ..\src\glpapi14.c at line 93/
> >
> > I do not get this error at each call of the Java model (one error after 
> > approx. 50 calls). Moreover, these errors do not occur in a deterministic 
> > manner, they cannot be reproduced. I each run of the Java program they 
> > occur 
> > at another place.
> 
> Looks like a thread issue to me.
> Do the open and close occur in different threads?
> Perhaps the open is attempted before the close has gone through.
> 
> -- 
> Michael   address@hidden
> "SCSI is NOT magic. There are *fundamental technical
> reasons* why it is necessary to sacrifice a young
> goat to your SCSI chain now and then."   --   John Woods
> 
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-glpk

-- 
http://www.fastmail.com - Same, same, but different...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]