| [△EXTERNAL] |
Hi Isaac,
Memory issues might be a problem. However, I took a quick look at the log file and I would also point out that the number of CG (conjugate gradient) iterations can be quite large. Some improvement might be achieved by changing the parameters of the linear system solvers, specified within the following tag <GLOBALSYSSOLNINFO>. I refer you to the documentation for more details.
Best,
Jacques
From: Isaac Rosin <isaac.rosin1@ucalgary.ca>
Sent: Wednesday, August 9, 2023 9:26 PM
To: Jacques Xing <jacques.xing@kcl.ac.uk>; Ehsan Asgari <eh.asgari@gmail.com>
Cc: Maziyar Hassanpour <maziyar.hassanpour@ucalgary.ca>; nektar-users@imperial.ac.uk
Subject: Re: [Nektar-users] Optimisation Issues
Hi Jacques,
Here is a log file produced by running the command:
mpirun -np 6 IncNavierStokesSolver session.xml --io-format Hdf5 --use-hdf5-node-comm -v > outfile.log
I know that --use-hdf5-node-comm is supposed to use a lot of memory but it seems like it was using too much for my case. When producing this log file, by the time I stopped the simulation, it was using 30GB of RAM and still steadily increasing. I have had crashes on clusters before by exceeding the memory limit with similar cases to this. I remedied it those other times by coarsening the mesh which how I arrived at the current mesh. I can't afford to coarsen the mesh further. Perhaps this issue with the memory is a clue to finding the problem.
Thank you,
Isaac
From: Jacques Xing <jacques.xing@kcl.ac.uk>
Sent: Wednesday, August 9, 2023 1:34 PM
To: Isaac Rosin <isaac.rosin1@ucalgary.ca>; Ehsan Asgari <eh.asgari@gmail.com>
Cc: Maziyar Hassanpour <maziyar.hassanpour@ucalgary.ca>;
nektar-users@imperial.ac.uk <nektar-users@imperial.ac.uk>
Subject: RE: [Nektar-users] Optimisation Issues
|
[△EXTERNAL] |
Hi Isaac,
I am not sure why your simulation is so slow but providing a log file could be helpful:
srun IncNavierStokesSolver session.xml --io-format Hdf5 --use-hdf5-node-comm > outfile.log
Best,
Jacques
From: Isaac Rosin <isaac.rosin1@ucalgary.ca>
Sent: Wednesday, August 9, 2023 7:44 PM
To: Jacques Xing <jacques.xing@kcl.ac.uk>; Ehsan Asgari <eh.asgari@gmail.com>
Cc: Maziyar Hassanpour <maziyar.hassanpour@ucalgary.ca>;
nektar-users@imperial.ac.uk
Subject: Re: [Nektar-users] Optimisation Issues
Hi Jacques,
In release mode.
Regards,
Isaac
From: Jacques Xing <jacques.xing@kcl.ac.uk>
Sent: Wednesday, August 9, 2023 12:41 PM
To: Isaac Rosin <isaac.rosin1@ucalgary.ca>; Ehsan Asgari <eh.asgari@gmail.com>
Cc: Maziyar Hassanpour <maziyar.hassanpour@ucalgary.ca>;
nektar-users@imperial.ac.uk <nektar-users@imperial.ac.uk>
Subject: RE: [Nektar-users] Optimisation Issues
|
[△EXTERNAL] |
Hi Isaac,
Did you compile Nektar++ in release or debug mode?
Best,
Jacques
From: Isaac Rosin <isaac.rosin1@ucalgary.ca>
Sent: Wednesday, August 9, 2023 7:36 PM
To: Ehsan Asgari <eh.asgari@gmail.com>; Jacques Xing <jacques.xing@kcl.ac.uk>
Cc: Maziyar Hassanpour <maziyar.hassanpour@ucalgary.ca>;
nektar-users@imperial.ac.uk
Subject: Re: [Nektar-users] Optimisation Issues
Hi all,
I forgot to remove the .opt file from the folder I sent. The issue is not with the collections. I have experimented with them and found that starting with no .opt file when running a simulation and letting Nektar++ create it automatically gives the best results. I always do this now, but the gains are not significant enough. Here is the drive folder again: https://drive.google.com/drive/folders/1iT0GvZgE0MyfmjNe1GYMlAKJp-8fh57X?usp=sharing
It may be that this is not an optimisation issue but rather a debugging one. I feel that the issue is deeper than collections. I ran the same case on very similar meshes in OpenFOAM and it was also slower than it should have been. Would any of you be able to run this briefly on your own machines and tell me: 1) how long it took to save three or so time steps and 2) how many cores you ran on? If you are unable to do this, do you know of any other optimization/debugging techniques?
Thank you very much,
Isaac