Application Setup Guide¶
This page shows common pdeapp.txt setup patterns. Combine these with a
matching pdemodel.txt and mesh file.
Steady-State Simulation¶
Run:
/path/to/exasim-prefix/local/bin/text2code pdeapp.txt
cmake -S . -B build -DExasim_DIR=/path/to/exasim-prefix
cmake --build build
build/exasimapp datain/ dataout/out
The exact executable command depends on the app bundle or usage mode.
Time-Dependent Simulation¶
Use saveSolFreq to control saved solution and visualization frequency.
Parameter Sweep¶
physicsparam = [1.4, 0.72, 500.0];
physicsparamcases = [
1.4, 0.72, 500.0;
1.4, 0.72, 1000.0;
1.4, 0.72, 1500.0;
1.4, 0.72, 2000.0
];
physicsparamwarmstart = 1;
Text2Code writes datain/physicsparamcases.bin. The standalone executable
detects that file and runs all cases internally. Output directories follow the
same convention as frontend sweeps:
MPI Run¶
Use the MPI-enabled executable and launch it with the system MPI launcher:
Text2Code writes rank-local mesh and solution files when mpiprocs > 1.
GPU Run¶
Build the generated app with the GPU-enabled Exasim package. The CMake options
used by the app select CUDA or HIP, for example -DEXASIM_CUDA=ON or
-DEXASIM_HIP=ON when supported by the app CMake project.
Restart-Oriented Configuration¶
Use saved solution files and consistent time-step offsets:
Restart workflows depend on the executable/app wrapper used to read prior
solution files. Keep datain, dataout, mpiprocs, and mesh partitioning
consistent with the saved state.
Postprocessing Workflow¶
Enable derived output:
Then run solve mode or explicit postprocess mode if the standalone app supports it:
See Postprocessing for supported command forms and output files.
HPC Setup Checklist¶
- Use an installed Exasim prefix visible on compute nodes.
- Ensure
text2codeand generated executables use the same Exasim build. - Match
platformto the installed CPU/CUDA/HIP package. - Keep
mpiprocsconsistent between preprocessing and execution. - Put large
dataout/directories on a filesystem intended for simulation output. - Test with one rank and a coarse mesh before scaling.