I always keep the input (*.in) files inside “run_dir” directory inside project directory (they will not be a part of the repository).
If you want to do this, you have to change running (working) directory inside run configuration.
- Open drop-down menu next to the green hammer icon below menu bar.
- Inside program arguments you can insert oofem commands (e.g. to run an input file called inputfile.in insert: -f inputfile.in)
- For working directory $PROJECT_DIR$/run_dir/
This means that the input files should be be put inside run_dir directory inside project directory ($PROJECT_DIR$ is CLion variable for project directory).