Hello, everyone
For the latest PRISMS-PF release we have slightly modify the instructions to compile each application.
As an example, if you want to run the the Cahn-Hilliard application:
$ cd applications/cahnHilliard
$ cmake .
$ make -j <nprocs>
This will now generate two executable files: main and main-debug
The executable main corresponds to the "release" configuration and main-debug corresponds to the "debug" configuration.
Debug mode is slower, but contains less optimizations and more meaningful error messages. This makes it ideal for application/model code development.
Release mode has less "safety features" and meaningful error messages, with more optimizations (faster runtime).
Debug execution (serial runs):
$ ./main-debug
Release execution (parallel runs):
$ mpirun -np <nprocs> ./main
Also, note that we have moved the file main.cc to the applications directory, given that this file is identical for all applications.
Best,
David