Mirkic7 / mdcct

Improved Linux BURST ploter/optimizer/miner
24 stars 18 forks source link

"File not found" when trying to run optimizer #10

Open thegoodhen opened 7 years ago

thegoodhen commented 7 years ago

Under 32 bit Ubuntu, when I tried running the optimizer (./optimizer32 path_to_file), it gave me a "File not found" error. Upon the inspection of the sourcecode, I do not believe this error message to be accurate - I think it can actually find the file, but cannot open it.

Solution attempts by me:

Tried chmod 777 (just to be sure :D) theFile Tried providing a relative path to the file Tried providing an absolute path to the file Tried moving the optimizer32 executable to the same directory as the plotfile Tried running the optimizer32 with root privileges Quadruple checked the directory is correct

None of those attempts were successful.

Other info:

The path contains no special characters or numbers, just big and small letters The generation of the file completed successfully and the plotter exited normally (writing a message about successful completion and exiting). The plot file is 499GB big The plot file is not empty and opens "normally" in Vim (as normally as any 500GB text file).

I appreciate your help with this issue, thanks a lot in advance!

aij commented 7 years ago

@thegoodhen Do you want to give #11 a try? It would at least show you the real error message.

My guess is that it's missing large file support in 32-bit mode. The Makefile doesn't seem to be using CFLAGS even though it's setting it.