Overview
About Edge
Edge is a CFD flow solver for unstructured grids of arbitrary elements. Edge is subject to the FOI license agreement. For details, see the FOI web page.
Using Edge on Lindgren
Lindgren has a patched version of Edge 5.2 installed. This emergency patch provided by FOI fixes some issues which caused Edge to put an extreme load on the parallel file system, cfs, on Lindgren.This patch will be included in new releases of Edge.
However, in the meantime all users running Edge on Lindgren must use the patched 5.2 version. This version is accessible on Lindgren by using the default module:
module add edge
Still, when using Edge on Lindgren it is important that you as a user take great care keeping file-system operations in mind. The file-system is a constant resource that does not scale with the size of your job. To spare the file-system from excess operations:
- Do not save your solution unless needed.
- Do not save restart files unless you need them.
- Run pre/post processors on one single processor.
Typically you could save one restart file at the end of a job, rather than one every hour.
You should consider questions such as:
- How often do you save your solution?
- What trace/history of your iterations do you write to file(s)?
To control this behavior you modify your *.ainp user configuration file. This way you can control your simulation by tweaking the following parameters:
IWRSOL Save the solution (.bout) and residual (.bres) files every IWRSOL iterations. These files are used for restarts. See also INPRES.
IMULOU Sample the solution to multiple (_it.bout) files every IMULOU iterations. These files are for analysis only, not restarts.
ISTOUT Output convergence stuff every ISTOUT iteration
There are also issues outside ordinary user control, such as that each and every task of an Edge job very frequently accesses a the update.ainp. If you have any questions regarding Edge on Lindgren, please do not hesitate to contact PDC.
Using Edge on Ferlin
Running Interactively
Edge can be run interactively on the Ferlin interactive nodes. These interactive nodes are intended for short test jobs, all production runs should be done via the queue system.
To run a job of Edge 5.2 interactively (with 8 cores),
module add edge/5.2 edge_mpi_run case.ainp 8
Running on the Batch system
To submit a job
module add easy esubmit -t120 -n1 ./run_script.sh
The sample job script "run_script.sh"
#!/bin/bash # The number of cores NPART=8 # The name of .ainp file AINPFILE=case.ainp # load Edge 5.2 module add edge/5.2 # Run edge_mpi_run $AINPFILE $NPART > edge_sim.log 2>&1


