Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
1ad1292
Fix EnergyAndForces tests (#277)
jeanlucf22 Sep 26, 2024
8ac6cd6
Move factor 4pi out og linear solvers (#278)
jeanlucf22 Sep 30, 2024
a2ece1a
Move some code into PoissonSolverFactory (#279)
jeanlucf22 Sep 30, 2024
8b577ea
Clean up class Potentials (#280)
jeanlucf22 Oct 3, 2024
7ac691c
Clean up class Ions, add test for it (#281)
jeanlucf22 Oct 12, 2024
c05ba7f
Add test MD_MVP (#290)
jeanlucf22 Nov 25, 2024
bb8051d
Clean up code related to DM restart data (#292)
jeanlucf22 Dec 2, 2024
a227c04
Write dm (#291)
jeanlucf22 Dec 2, 2024
b263532
Remove unused function in Control (#294)
jeanlucf22 Dec 23, 2024
3eb52d6
Change symlink to restart in tests (#295)
jeanlucf22 Jan 3, 2025
c1d46bc
Extract number empty orbitals from restart file (#296)
jeanlucf22 Jan 7, 2025
eb53963
Clean up MD_IonicStepper restart data write (#297)
jeanlucf22 Jan 16, 2025
857673f
Clean up code based on compiler warnings (#299)
jeanlucf22 Jan 17, 2025
f294d3c
Add getForces for evaluateDMandEnergyAndForces (#300)
siuwuncheung Jan 23, 2025
98a79de
Add check for compatibility MVP/Mehrstellen (#301)
jeanlucf22 Jan 24, 2025
8eda83e
Add support for Br atom (#302)
jeanlucf22 Feb 3, 2025
f298d43
Clean up some HDFrestart functions (#303)
jeanlucf22 Feb 11, 2025
c690bc5
Fix and test restart single hdf5 file (#305)
jeanlucf22 Feb 17, 2025
9f1fc20
Save Hartree potential for write in restart file (#306)
jeanlucf22 Feb 17, 2025
8a1cf05
Speed-up recently added tests (#309)
jeanlucf22 Feb 19, 2025
8a26879
Encapsulate some functions in Potentials (#310)
jeanlucf22 Feb 20, 2025
59b79e7
Remove confusing 0 in naming restart files (#308)
jeanlucf22 Feb 20, 2025
16a818a
Add functionalities for extra info in restart file (#312)
jeanlucf22 Feb 20, 2025
77bd87e
MPI abort (#313)
jeanlucf22 Feb 21, 2025
8b84de4
Rho and VH restart (#311)
jeanlucf22 Feb 24, 2025
8003d70
Strenghten testIons (#315)
jeanlucf22 Mar 4, 2025
4efb34c
More clean up in class Potentials (#316)
jeanlucf22 Mar 4, 2025
2f511b7
Misc code fixes (#317)
jeanlucf22 Mar 14, 2025
45a2c80
Use unique restart filenames in test HDF5single (#318)
jeanlucf22 Mar 14, 2025
b6cf162
Swap ions in existing test (#319)
jeanlucf22 Mar 15, 2025
7fbfe13
Code clean up (#320)
jeanlucf22 Mar 17, 2025
14eb43f
Added functionalities to set local forces (#321)
jeanlucf22 Mar 21, 2025
c61b48d
Update mixed precision code (#322)
jeanlucf22 Mar 24, 2025
e37983b
Clean up and fixes Ions (#326)
jeanlucf22 Mar 26, 2025
89630b3
Fixes for build without HDF5P (#324)
jeanlucf22 Mar 26, 2025
e80193b
Fix testRhoVhRestart (#325)
jeanlucf22 Mar 26, 2025
bcad112
Fix a few more issues with class Ions (#328)
jeanlucf22 Mar 26, 2025
a78e260
Introduce new constructor for class Ions (#330)
jeanlucf22 Mar 27, 2025
c4817b8
Add cleanup and MGmolInterface (#331)
siuwuncheung Mar 27, 2025
a5f6f3a
Add function to set local forces (#333)
jeanlucf22 Mar 28, 2025
4e82239
Fix setLocalForces (#335)
siuwuncheung Mar 30, 2025
f715dd9
Fix test WFEnergyAndForces (#336)
jeanlucf22 Apr 4, 2025
89d502e
Add mixing option in MVP (#337)
jeanlucf22 Apr 4, 2025
f198397
Update MVP with mixing (#339)
jeanlucf22 Apr 9, 2025
781d7e5
Update DensityMatrix class (#342)
jeanlucf22 Apr 11, 2025
47cba98
Fixing DM tolerance (#341)
siuwuncheung Apr 14, 2025
ffc087c
Rm oversubscribe from CMakeLists.txt (#346)
jeanlucf22 Jul 11, 2025
0897876
Adapt to new environment on condo @ ORNL (#348)
jeanlucf22 Jul 14, 2025
7d89625
Remove unused function
jeanlucf22 Jul 15, 2025
c0dd3b3
Clean up use of coords file when restarting
jeanlucf22 Jul 15, 2025
a8be389
Add test restart with override atomic coordinates
jeanlucf22 Jul 15, 2025
de6eb6b
Add some missing include files
jeanlucf22 Jul 14, 2025
1b06e02
Print MVP timers
jeanlucf22 Jul 22, 2025
1bada0b
Fix initialization for Dirichelt BC
jeanlucf22 Aug 12, 2025
bd702b0
Modify two utils scripts
jeanlucf22 Jul 29, 2025
461cd7b
Link tests with Lapack
jeanlucf22 Aug 18, 2025
a78cdc1
Fix mixed-precision to use ps-projectors in double
jeanlucf22 Aug 21, 2025
7947675
Template axpy functions to better use BLAS1
jeanlucf22 Aug 21, 2025
2bb915c
Replace Li PBE potential with ONCV
jeanlucf22 Aug 22, 2025
5e9fcb4
Tune 2 pythons scripts for better looking output
jeanlucf22 Sep 9, 2025
10f6fab
Store wavefunctions in double in KB objects
jeanlucf22 Sep 10, 2025
0d6dbab
Remove two unused functions
jeanlucf22 Sep 19, 2025
fe2fc04
Simplify and remove unused code
jeanlucf22 Sep 19, 2025
2b0c4c3
Script to get matrix of wavefunctions from hdf5
jeanlucf22 Sep 26, 2025
5950705
Opimize code a little bit
jeanlucf22 Sep 27, 2025
ef8f6a5
Rm unused/duplicated functions in LocGridOrbitals
jeanlucf22 Oct 1, 2025
792fceb
Replace some ptr with vector in HDFrestart
jeanlucf22 Oct 19, 2025
229ece7
Replicated Projected Matrices on CPU (#367)
jeanlucf22 Oct 22, 2025
9654f73
Add timers for handwritten linear algebra loops
jeanlucf22 Sep 12, 2025
c91738f
Skip data reset before assigning arrays w ghosts
jeanlucf22 Oct 24, 2025
e1fed75
Add timers in BlockVector class
jeanlucf22 Oct 24, 2025
dce67c6
Optimize preconditioner implementation
jeanlucf22 Oct 27, 2025
0178b75
Differentiate timers in GridFuncVector based on datatype
jeanlucf22 Oct 29, 2025
6b2c0b5
Rm redundant function
jeanlucf22 Oct 29, 2025
185c4c0
Do not use syrk anymore
jeanlucf22 Oct 29, 2025
8e99024
Nosubdivx extended (#376)
jeanlucf22 Oct 29, 2025
fc91b00
Fix several compiler warnings (#377)
jeanlucf22 Oct 31, 2025
bc43b77
Fix some stdout content (#378)
jeanlucf22 Nov 3, 2025
741af36
Fix header of asci files generated by read_hdf5 (#379)
jeanlucf22 Nov 4, 2025
6aab60d
Tune timers (#380)
jeanlucf22 Nov 6, 2025
15def8c
Pass in Hamiltonian object to functions that need it (#381)
jeanlucf22 Nov 7, 2025
04764af
Template preconditioner (#382)
jeanlucf22 Nov 12, 2025
1cb7a49
Use local Hphi in Davidson (#383)
jeanlucf22 Nov 18, 2025
e24340a
Residual compute (#384)
jeanlucf22 Nov 20, 2025
5bf70e3
Fix bug in preconditioner setup (#385)
jeanlucf22 Nov 25, 2025
deeae86
Fix potential iterative index (#386)
jeanlucf22 Nov 25, 2025
0e0f0ea
Refactor Hartree_CG (#387)
jeanlucf22 Nov 26, 2025
86fdec6
Preconditioning precision (#388)
jeanlucf22 Nov 28, 2025
09a613c
Template manage_memory on datatype (#389)
jeanlucf22 Nov 30, 2025
9c29c4c
New DotProduct family of classes (#390)
jeanlucf22 Nov 30, 2025
1d79437
Template GridOrbitals classes (#391)
jeanlucf22 Dec 1, 2025
6f274c3
Add test for MVP ReplicatedMatrix (#392)
jeanlucf22 Dec 2, 2025
628caba
Some fixes in Hamiltonian and its usage in MVP (#393)
jeanlucf22 Dec 2, 2025
31cb961
Avoid recompute complete H*Phi in MVP and Davidson (#394)
jeanlucf22 Dec 4, 2025
dfdcd73
Bug fix in Poisson PCG Mehrstellen r.h.s. (#396)
jeanlucf22 Dec 8, 2025
69ee55a
Add Convergence tolerance option for Poisson problem and some minor c…
oseikuffuor1 Dec 8, 2025
b0a6304
Merge branch 'release' into merge_release_20251210
siuwuncheung Dec 16, 2025
5908a80
Resolve errors
siuwuncheung Dec 16, 2025
5f0ed94
Minor change to scripts
siuwuncheung Dec 17, 2025
aa6217f
Minor fix in names
siuwuncheung Dec 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ if(USE_LIBROM)
find_package(libROM REQUIRED)

if(libROM_FOUND)
set(MGMOL_HAS_LIBROM 1)
add_definitions(-DMGMOL_HAS_LIBROM)
endif(libROM_FOUND)
endif(USE_LIBROM)

Expand Down Expand Up @@ -233,6 +233,7 @@ FortranCInterface_HEADER(
DGEMM SGEMM DSYMM DSYRK SSYRK DTRMM DTRSM STRSM
#lapack
DSYEV DPOTRF DPOTRS DPOTRI DSYGST DTRTRS DPOCON DSYGV DLANGE
DGETRF DGETRS DLACPY
)

FortranCInterface_HEADER(
Expand Down
10 changes: 6 additions & 4 deletions drivers/check_input.cc
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ int main(int argc, char** argv)
{
MGmolInterface* mgmol;
if (ct.isLocMode())
mgmol = new MGmol<LocGridOrbitals>(global_comm, *MPIdata::sout,
input_filename, lrs_filename, constraints_filename);
mgmol = new MGmol<LocGridOrbitals<ORBDTYPE>>(global_comm,
*MPIdata::sout, input_filename, lrs_filename,
constraints_filename);
else
mgmol = new MGmol<ExtendedGridOrbitals>(global_comm, *MPIdata::sout,
input_filename, lrs_filename, constraints_filename);
mgmol = new MGmol<ExtendedGridOrbitals<ORBDTYPE>>(global_comm,
*MPIdata::sout, input_filename, lrs_filename,
constraints_filename);

*MPIdata::sout << " Input parameters OK\n";

Expand Down
10 changes: 6 additions & 4 deletions drivers/example1.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,13 @@ int main(int argc, char** argv)

MGmolInterface* mgmol;
if (ct.isLocMode())
mgmol = new MGmol<LocGridOrbitals>(global_comm, *MPIdata::sout,
input_filename, lrs_filename, constraints_filename);
mgmol = new MGmol<LocGridOrbitals<ORBDTYPE>>(global_comm,
*MPIdata::sout, input_filename, lrs_filename,
constraints_filename);
else
mgmol = new MGmol<ExtendedGridOrbitals>(global_comm, *MPIdata::sout,
input_filename, lrs_filename, constraints_filename);
mgmol = new MGmol<ExtendedGridOrbitals<ORBDTYPE>>(global_comm,
*MPIdata::sout, input_filename, lrs_filename,
constraints_filename);

if (MPIdata::onpe0)
{
Expand Down
2 changes: 1 addition & 1 deletion examples/AOMM/Si216.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lz=30.78
[Potentials]
pseudopotential=pseudo.Si
[Poisson]
solver=CG
solver=PCG
[Run]
type=QUENCH
[Quench]
Expand Down
2 changes: 1 addition & 1 deletion examples/C200H272_1.05gcc/mgmol_md.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lz=30.568
pseudopotential=pseudo.C_pbe
pseudopotential=pseudo.H_pbe
[Poisson]
solver=CG
solver=PCG
[Run]
type=MD
[MD]
Expand Down
2 changes: 1 addition & 1 deletion examples/C200H272_1.05gcc/mgmol_opt.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lz=30.568
pseudopotential=pseudo.C_pbe
pseudopotential=pseudo.H_pbe
[Poisson]
solver=CG
solver=PCG
[Run]
type=MD
[MD]
Expand Down
2 changes: 1 addition & 1 deletion examples/C200H272_1.05gcc/mgmol_quench.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lz=30.568
pseudopotential=pseudo.C_pbe
pseudopotential=pseudo.H_pbe
[Poisson]
solver=CG
solver=PCG
[Run]
type=QUENCH
[Quench]
Expand Down
2 changes: 1 addition & 1 deletion examples/Cu32/mvp.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lz=13.6
[Potentials]
pseudopotential=pseudo.Cu_ONCVPSP_LDA
[Poisson]
solver=CG
solver=PCG
[Run]
type=QUENCH
[Quench]
Expand Down
2 changes: 1 addition & 1 deletion examples/D144localPotentials/mgmol_md.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lz=21.2406
[Potentials]
pseudopotential=pseudo.H
[Poisson]
solver=CG
solver=PCG
[Run]
type=MD
[MD]
Expand Down
2 changes: 1 addition & 1 deletion examples/D144localPotentials/mgmol_quench.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lz=21.2406
[Potentials]
pseudopotential=pseudo.H
[Poisson]
solver=CG
solver=PCG
[Run]
type=QUENCH
[Quench]
Expand Down
2 changes: 1 addition & 1 deletion examples/Li128/mgmol_quench_hmvp.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lz= 26.52
[Potentials]
pseudopotential=pseudo.Li_ONCVPSP_LDA
[Poisson]
solver=CG
solver=PCG
[Run]
type=QUENCH
[Quench]
Expand Down
2 changes: 1 addition & 1 deletion examples/Li128/mgmol_quench_mvp.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lz= 26.52
[Potentials]
pseudopotential=pseudo.Li_ONCVPSP_LDA
[Poisson]
solver=CG
solver=PCG
[Run]
type=QUENCH
[Quench]
Expand Down
2 changes: 1 addition & 1 deletion examples/Li16/mvp.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lz=13.26
[Potentials]
pseudopotential=pseudo.Li_ONCVPSP_LDA
[Poisson]
solver=CG
solver=PCG
[Run]
type=QUENCH
[Quench]
Expand Down
2 changes: 1 addition & 1 deletion examples/Li2GTH/davidson.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lz=18.
[Potentials]
pseudopotential=pseudo.Li_GTH_PBE
[Poisson]
solver=CG
solver=PCG
bcx=0
bcy=0
bcz=0
Expand Down
2 changes: 1 addition & 1 deletion examples/PinnedH2O/job.ref
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ date
setenv OMP_NUM_THREADS 1
#setenv KMP_DETERMINISTIC_REDUCTION 1

set ncpus = 8
set ncpus = 1
set case = 2

set maindir = /p/lustre2/cheung26/mgmol
Expand Down
2 changes: 1 addition & 1 deletion examples/PinnedH2O/job.rom_3DOF
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ date
setenv OMP_NUM_THREADS 1
#setenv KMP_DETERMINISTIC_REDUCTION 1

set ncpus = 8
set ncpus = 1
set case = 2

set maindir = /p/lustre2/cheung26/mgmol
Expand Down
2 changes: 1 addition & 1 deletion examples/PinnedH2O/mgmol_rom_3DOF_test2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ output_level=4
[ROM]
stage=online_pinned_H2O_3dof
[ROM.offline]
basis_file=/usr/workspace/nlrom/MGmol/PinnedH2O_3DOF/data_8/PinnedH2O_3DOF_orbitals_basis_2_2
basis_file=/usr/workspace/nlrom/MGmol/PinnedH2O_3DOF/data_1/PinnedH2O_3DOF_orbitals_basis_2_2
[ROM.basis]
compare_md=false
number_of_orbital_basis=34
2 changes: 1 addition & 1 deletion examples/ShortSighted/mgmol_md.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lz=21.2406
[Potentials]
pseudopotential=pseudo.D_tm_pbe
[Poisson]
solver=CG
solver=PCG
max_steps_initial=20
max_steps=20
bcx=periodic
Expand Down
2 changes: 1 addition & 1 deletion examples/ShortSighted/mgmol_quench.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lz=21.2406
[Potentials]
pseudopotential=pseudo.D_tm_pbe
[Poisson]
solver=CG
solver=PCG
max_steps_initial=20
max_steps=20
bcx=periodic
Expand Down
2 changes: 1 addition & 1 deletion examples/Water4x4y4z/md.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lz= 93.84
pseudopotential=pseudo.O_ONCV_PBE_SG15
pseudopotential=pseudo.D_ONCV_PBE_SG15
[Poisson]
solver=CG
solver=PCG
[Run]
type=MD
[MD]
Expand Down
2 changes: 1 addition & 1 deletion examples/Water4x4y4z/quench.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lz= 93.84
pseudopotential=pseudo.O_ONCV_PBE_SG15
pseudopotential=pseudo.D_ONCV_PBE_SG15
[Poisson]
solver=CG
solver=PCG
[Run]
type=QUENCH
[Quench]
Expand Down
Loading