[fluka-discuss]: Re: Fluka Docker - cannot open the file for source.f

From: Horváth Dávid <David.Horvath_at_eli-beams.eu>
Date: Mon, 6 Aug 2018 06:41:35 +0000

Dear Aleksandr,

thank you for reporting the problem!

I assume you are using the same input and source routine you sent to the mailing list a couple day ago. I tried to run your simulation, and I got the same error message.

The reason for the error is, that to make Fluka in Docker work, we had to move the actual location of the Fluka run into another folder. But this doesn't move any other file, like your .dat files.

To make work you need to use absolute path to your .dat file, when you are opening it. For example the OPEN card in your input file should look like this:

OPEN 18. OLD
/docker_work/<folder_names>/linac6000kev.dat

Since flair is only capable to add the filename, you will need to use a text editor to modify your input file.

I hope this helps.

Kind regards,
David

________________________________________
From: owner-fluka-discuss_at_mi.infn.it <owner-fluka-discuss_at_mi.infn.it> on behalf of ©evčik Aleksandras <aleksandras.sevcik_at_ktu.edu>
Sent: 06 August 2018 07:18:12
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: Fluka Docker - cannot open the file for source.f

Hi,

Just for testing purposes I tried Fluka Docker and it compiled ok, the test example and flair works.
I tested my example with custom source that takes the spectrum from *.dat file , which works fine on the linux server.
Here in Docker I get an error:

          File to be opened: linac6000kev.dat
 *** Impossible to open file ***
linac6000kev.dat
*** on unit 18 ***
**** Error opening unit: 18 file:
 linac6000kev.dat
 **** Run terminated ****

Regards
Aleksandr

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id¬c_info
Received on Mon Aug 06 2018 - 10:14:53 CEST

This archive was generated by hypermail 2.3.0 : Mon Aug 06 2018 - 10:15:13 CEST