Running oofem “*.in” files from CLion

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.

  1. Open drop-down menu next to the green hammer icon below menu bar.
  2. Inside program arguments you can insert oofem commands (e.g. to run an input file called inputfile.in insert: -f inputfile.in)
  3. 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).

Leave a comment

Design a site like this with WordPress.com
Get started