Hi Byron,
In the latest repo version of Nek5000, we have two AMG options:
1. dump AMG files, solve files with tools and save it into new files, then read the dat files in the production run.
2. On-the-fly AMG. using HYPRE BOOMER_AMG
option1:
Set param(40)=1 (or solver=sem_amg in par file), run Nek5000 with lx1=3 (just saving your allocation for the real job), then it will dump dat files for the first run.
Use amg_setup tools. Be carefull about your mesh size. You might have to re-compile the tools with larger E, set in ./maketool script. This is your 4th step
You will find that the tool will generate a new series of files.
recompile and run Nek5000 with lx1=your_real_lx1, again param(40)=1.
note:
- Basically, Nek5000 will dump files if the desired files are not presented.
- The tools has limitation. It's serial, so it takes ages to run large E. The max I ran is about E30M and I failed to do so for E120M.
- The latest version of Nek5000 re-name dat files with the case name. This part is new. If you want tot use old Nek5000's tool (they are slightly different in terms of options). You have to re-name them yourself.
- modifying PPLIST requires a full clean: ./makenek clean
Option2:
Put AMG, HYPRE into your PPLIST. and make sure you have cmake in your environment.
Set param(40)=2 (or solver=sem_amg_hypre in par file), You should be able to run Nek5000 directly.
note:
- HYPRE will act differently using different numbers of processes. In this sense, dat files are more reliable.
This configuration is different than the one for v17, but the general idea is the same.
Hope this helps.
Yu-Hsiang
--