Error on loading spectra

Dear fluka user

I have started the test simulation, sampling from the energy spectrum given in the example Sampling from energy spectra.

The run finishes with errors. From the output window, I get this;

Error code:255

From a .log file in a fluka_xxxxx folder I get this;

ERROR: cannot load …/spec01

I am using gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) and I tried to follow Spectra sampling error. I am not sure if the problems are the same though.

I will appreciate any help regarding this.

Thank you

Hello,

from the error message you can see that the program cannot load the spectrum file that you have specified.

Please note that you have specified that path of your file with 3 dots .../spec01 which does not represent a valid path under Linux or Windows!

Cheers
Chris

Thank you.

Its working alright now.