# Error when running a compiled executable

**URL:** <https://fluka-forum.web.cern.ch/t/error-when-running-a-compiled-executable/5335>\
**Category:** Running and Runtime Errors\
**Created:** [10 November 2023 09:59 UTC](https://fluka-forum.web.cern.ch/t/error-when-running-a-compiled-executable/5335 "2023-11-10T09:59:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![e.stewart17](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/e.stewart17/32/1802_2.png) [@e.stewart17](https://fluka-forum.web.cern.ch/u/e.stewart17)\
**Post date:** [10 November 2023 09:59 UTC](https://fluka-forum.web.cern.ch/t/error-when-running-a-compiled-executable/5335/1 "2023-11-10T09:59:21Z")

</div>

Thank you. I tried running the file, with the new executable I created, by linking the source\_newgen.f file, using the lfluka script:  
~/fluka/fluka\_work/bin/myfluka -M 5 snre\_gcr\_source.inp  
but I’m getting the error:  
STOP NO INPUT FILE  
STOP STOP: FLUKA ABORTED  
It works with the rfluka executable, so is it potentially an issue with the myfluka executable I have created?

---

<div class="post-metadata">

**Author:** ![ceruttif](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/ceruttif/32/23_2.png) [@ceruttif](https://fluka-forum.web.cern.ch/u/ceruttif)\
**Post date:** [10 November 2023 11:13 UTC](https://fluka-forum.web.cern.ch/t/error-when-running-a-compiled-executable/5335/2 "2023-11-10T11:13:48Z")

</div>

_rfluka_ is the launching script to be (always) used to start a FLUKA run, in this case with your custom _myfluka_ executable. See the [running instructions](https://fluka.cern/documentation/running/fluka-command-line):  
`/pathtofluka/bin/rfluka -M 5 -e ./myfluka snre_gcr_source.inp`  
(assuming that you execute the command from the directory hosting _myfluka_ and the input file).  
You may want to use [Flair](http://flair.cern/), which makes the process much more straightforward.

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [4 December 2023 08:25 UTC](https://fluka-forum.web.cern.ch/t/error-when-running-a-compiled-executable/5335/3 "2023-12-04T08:25:49Z")

</div>


