Umeå University's logo

umu.sePublications
Change search
Link to record
Permanent link

Direct link
Kjelgaard Mikkelsen, Carl ChristianORCID iD iconorcid.org/0000-0002-9158-1941
Publications (10 of 31) Show all publications
Kjelgaard Mikkelsen, C. C. & López‐Villellas, L. (2025). How accurate is Richardson's error estimate?. Concurrency and Computation, 37(27-28), Article ID e70305.
Open this publication in new window or tab >>How accurate is Richardson's error estimate?
2025 (English)In: Concurrency and Computation, ISSN 1532-0626, E-ISSN 1532-0634, Vol. 37, no 27-28, article id e70305Article in journal (Refereed) Published
Abstract [en]

We consider the fundamental problem of estimating the difference between the exact value T and approximations $A_h$ that depend on a single real parameter h. It is well-known that if the error $E_h = T − A_h$ satisfies an asymptotic expansion, then we can use Richardson extrapolation to approximate $E_h$ . In this paper, our primary concern is the accuracy of Richardson’s error estimate $R_h$, i.e., the size of the relative error $(E_h − R_h )/E_h$. In practice, the computed value $Â_h$ is different from the exact value $A_h$. We show how to determine when the computational error $A_h − Â_h$ is irrelevant and how to estimate the accuracy of Richardson’s error estimate interms of Richardson’s fraction $F_h$. We establish monotone convergence theorems and derive upper and lowerbounds for $T$ in terms of $A_h$ and $R_h$. We classify asymptotic error expansions according to their practicalvalue rather than the order of the primary error term. We present a sequence of numerical experiments that illustrate the theory. Weierstrass’s function is used to define a sequence of smooth problems for which it is impractical to apply Richardson’s techniques.

Place, publisher, year, edition, pages
John Wiley & Sons, 2025
Keywords
discretization errors, modeling errors, practical error estimation, Richardson extrapolation, rounding errors
National Category
Computational Mathematics
Identifiers
urn:nbn:se:umu:diva-246591 (URN)10.1002/cpe.70305 (DOI)2-s2.0-105021401390 (Scopus ID)
Funder
Swedish Research CouncileSSENCE - An eScience Collaboration
Available from: 2025-11-18 Created: 2025-11-18 Last updated: 2025-11-25Bibliographically approved
López-Villellas, L., Kjelgaard Mikkelsen, C. C., Galano-Frutos, J. J., Marco-Sola, S., Alastruey-Benedé, J., Ibáñez, P., . . . García-Risueño, P. (2025). ILVES: accurate and efficient bond length and angle constraints in molecular dynamics. Journal of Chemical Theory and Computation, 21(18), 8711-8719
Open this publication in new window or tab >>ILVES: accurate and efficient bond length and angle constraints in molecular dynamics
Show others...
2025 (English)In: Journal of Chemical Theory and Computation, ISSN 1549-9618, E-ISSN 1549-9626, Vol. 21, no 18, p. 8711-8719Article in journal (Refereed) Published
Abstract [en]

All-atom, force field-based molecular dynamics simulations are essential tools in computational chemistry, enabling the prediction and analysis of biomolecular systems with atomic-level resolution. However, as system sizes and simulation time scales increase, so does the associated computational cost. To extend simulated time using the same resources, a common strategy is to constrain the fastest degrees of freedom, such as bond lengths, allowing for larger integration time steps without compromising accuracy. The de facto state-of-the-art algorithms for this purpose─SHAKE, LINCS, and P-LINCS─are integrated into most molecular dynamics packages and widely adopted across the field. Despite their impact, these methods exhibit limitations: all converge slowly when high numerical accuracy is required, and the LINCS and P-LINCS algorithms cannot handle general angular constraints, limiting further increases in time step. In this article, we introduce ILVES, a family of parallel algorithms that converge so rapidly that it is now practical to solve bond length and associated angular constraint equations as accurately as the hardware will allow. We have integrated ILVES into Gromacs, and our analysis demonstrates that it is superior to the state-of-the-art when constraining bond lengths. Due to its better convergence properties, we also show that if the time step is increased up to 3.5 fs by enforcing angular constraints, ILVES enables a 1.65× increase in simulated time using the same computational resources and wall-clock time, an outcome unattainable with current methods. This advance can significantly reduce the computational cost of most all-atom molecular dynamics simulations while improving their accuracy and extending access to larger systems and longer time scales.

Place, publisher, year, edition, pages
American Chemical Society (ACS), 2025
National Category
Theoretical Chemistry
Identifiers
urn:nbn:se:umu:diva-245359 (URN)10.1021/acs.jctc.5c01376 (DOI)001564363100001 ()40905177 (PubMedID)2-s2.0-105016599190 (Scopus ID)
Funder
eSSENCE - An eScience Collaboration
Available from: 2025-10-10 Created: 2025-10-10 Last updated: 2025-11-18Bibliographically approved
Kjelgaard Mikkelsen, C. C. & López-Villellas, L. (2025). The need for accuracy and smoothness in numerical simulations. In: Roman Wyrzykowski, Jack Dongarra, Ewa Deelman, Konrad Karczewski (Ed.), Parallel Processing and Applied Mathematics: 15th International Conference, PPAM 2024, Revised Selected Papers,  Part I. Paper presented at 15th International Conference on Parallel Processing and Applied Mathematics, PPAM 2024, Ostrava, Czech Republic, September 8–11, 2024 (pp. 3-16). Springer Nature
Open this publication in new window or tab >>The need for accuracy and smoothness in numerical simulations
2025 (English)In: Parallel Processing and Applied Mathematics: 15th International Conference, PPAM 2024, Revised Selected Papers,  Part I / [ed] Roman Wyrzykowski, Jack Dongarra, Ewa Deelman, Konrad Karczewski, Springer Nature, 2025, p. 3-16Conference paper, Published paper (Refereed)
Abstract [en]

We consider the problem of estimating the error when solving a system of differential algebraic equations. Richardson extrapolation is a classical technique that can be used to judge when computational errors are irrelevant and estimate the discretization error. We have simulated molecular dynamics with constraints using the GROMACS library and found that the output is not always amenable to Richardson extrapolation. We derive and illustrate Richardson extrapolation using a variety of numerical experiments. We identify two necessary conditions that are not always satisfied by the GROMACS library.

Place, publisher, year, edition, pages
Springer Nature, 2025
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 15579
Keywords
error estimation, external ballistics, GROMACS, multi-body dynamics, numerical integration, Richardson extrapolation
National Category
Computer Sciences
Identifiers
urn:nbn:se:umu:diva-238118 (URN)10.1007/978-3-031-85697-6_1 (DOI)2-s2.0-105002707589 (Scopus ID)9783031856969 (ISBN)9783031856976 (ISBN)
Conference
15th International Conference on Parallel Processing and Applied Mathematics, PPAM 2024, Ostrava, Czech Republic, September 8–11, 2024
Funder
eSSENCE - An eScience Collaboration
Available from: 2025-04-24 Created: 2025-04-24 Last updated: 2025-04-24Bibliographically approved
Kjelgaard Mikkelsen, C. C., López-Villellas, L. & García-Risueño, P. (2024). Newton's method revisited: how accurate do we have to be?. Concurrency and Computation, 36(10), Article ID e7853.
Open this publication in new window or tab >>Newton's method revisited: how accurate do we have to be?
2024 (English)In: Concurrency and Computation, ISSN 1532-0626, E-ISSN 1532-0634, Vol. 36, no 10, article id e7853Article in journal (Refereed) Published
Abstract [en]

We analyze the convergence of quasi-Newton methods in exact and finite precision arithmetic using three different techniques. We derive an upper bound for the stagnation level and we show that any sufficiently exact quasi-Newton method will converge quadratically until stagnation. In the absence of sufficient accuracy, we are likely to retain rapid linear convergence. We confirm our analysis by computing square roots and solving bond constraint equations in the context of molecular dynamics. In particular, we apply both a symmetric variant and Forsgren's variant of the simplified Newton method. This work has implications for the implementation of quasi-Newton methods regardless of the scale of the calculation or the machine.

Place, publisher, year, edition, pages
John Wiley & Sons, 2024
Keywords
approximation error, convergence, quasi-Newton methods, rounding error, stagnation, systems of nonlinear equations
National Category
Computational Mathematics
Identifiers
urn:nbn:se:umu:diva-212265 (URN)10.1002/cpe.7853 (DOI)001020863100001 ()2-s2.0-85164157230 (Scopus ID)
Funder
eSSENCE - An eScience Collaboration
Available from: 2023-07-20 Created: 2023-07-20 Last updated: 2024-06-26Bibliographically approved
López-Villellas, L., Kjelgaard Mikkelsen, C. C., Galano-Frutos, J. J., Marco-Sola, S., Alastruey-Benedé, J., Ibáñez, P., . . . García-Risueño, P. (2023). Accurate and efficient constrained molecular dynamics of polymers using Newton's method and special purpose code. Computer Physics Communications, 288, Article ID 108742.
Open this publication in new window or tab >>Accurate and efficient constrained molecular dynamics of polymers using Newton's method and special purpose code
Show others...
2023 (English)In: Computer Physics Communications, ISSN 0010-4655, E-ISSN 1879-2944, Vol. 288, article id 108742Article in journal (Refereed) Published
Abstract [en]

In molecular dynamics simulations we can often increase the time step by imposing constraints on bond lengths and bond angles. This allows us to extend the length of the time interval and therefore the range of physical phenomena that we can afford to simulate. We examine the existing algorithms and software for solving nonlinear constraint equations in parallel and we explain why it is necessary to advance the state-of-the-art. We present ILVES-PC, a new algorithm for imposing bond constraints on proteins accurately and efficiently. It solves the same system of differential algebraic equations as the celebrated SHAKE algorithm, but ILVES-PC solves the nonlinear constraint equations using Newton’s method rather than the nonlinear Gauss-Seidel method. Moreover, ILVES-PC solves the necessary linear systems using a specialized linear solver that exploits the structure of the protein. ILVES-PC can rapidly solve constraint equations as accurately as the hardware will allow. The run-time of ILVES-PC is proportional to the number of constraints. We have integrated ILVES-PC into GROMACS and simulated proteins of different sizes. Compared with SHAKE, we have achieved speedups of up to 4.9× in single-threaded executions and up to 76× in shared-memory multi-threaded executions. Moreover, ILVES-PC is more accurate than P-LINCS algorithm. Our work is a proof-of-concept of the utility of software designed specifically for the simulation of polymers.

Place, publisher, year, edition, pages
Elsevier, 2023
Keywords
molecular dynamics, constraint algorithms, nonlinear equations, newton's method, SHAKE, LINCS
National Category
Computational Mathematics
Identifiers
urn:nbn:se:umu:diva-208209 (URN)10.1016/j.cpc.2023.108742 (DOI)2-s2.0-85151493578 (Scopus ID)
Funder
Swedish Research CouncileSSENCE - An eScience Collaboration
Available from: 2023-05-11 Created: 2023-05-11 Last updated: 2023-05-11Bibliographically approved
Kjelgaard Mikkelsen, C. C., López-Villellas, L. & García-Risueño, P. (2023). How accurate does Newton have to be?. In: Roman Wyrzykowski; Jack Dongarra; Ewa Deelman; Konrad Karczewski (Ed.), Roman Wyrzykowski et. al. (Ed.), Parallel processing and applied mathematics: 14th International conference, PPAM 2022, Gdansk, Poland, September 11–14, 2022, revised selected papers, part I. Paper presented at PPAM 2022 (pp. 3-15). Paper presented at PPAM 2022. Switzerland: Springer Nature, 1
Open this publication in new window or tab >>How accurate does Newton have to be?
2023 (English)In: Parallel processing and applied mathematics: 14th International conference, PPAM 2022, Gdansk, Poland, September 11–14, 2022, revised selected papers, part I / [ed] Roman Wyrzykowski; Jack Dongarra; Ewa Deelman; Konrad Karczewski, Switzerland: Springer Nature, 2023, Vol. 1, p. 3-15Chapter in book (Refereed)
Abstract [en]

We analyze the convergence of quasi-Newton methods in exact and finite precision arithmetic. In particular, we derive an upper bound for the stagnation level and we show that any sufficiently exact quasi-Newton method will converge quadratically until stagnation. In the absence of sufficient accuracy, we are likely to retain rapid linear convergence. We confirm our analysis by computing square roots and solving bond constraint equations in the context of molecular dynamics. We briefly discuss implications for parallel solvers.

Place, publisher, year, edition, pages
Switzerland: Springer Nature, 2023
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 13826
Keywords
systems of nonlinear equations, quasi-Newton methods, approxomation error, rounding error, convergence, stagnation
National Category
Computational Mathematics
Identifiers
urn:nbn:se:umu:diva-208210 (URN)10.1007/978-3-031-30442-2_1 (DOI)2-s2.0-85161395821 (Scopus ID)978-3-031-30441-5 (ISBN)978-3-031-30442-2 (ISBN)
Conference
PPAM 2022
Funder
eSSENCE - An eScience Collaboration
Available from: 2023-05-11 Created: 2023-05-11 Last updated: 2023-06-28Bibliographically approved
Myllykoski, M. & Kjelgaard Mikkelsen, C. C. (2021). Task‐based, GPU‐accelerated and robust library for solving dense nonsymmetric eigenvalue problems. Concurrency and Computation, 33(11), Article ID e5915.
Open this publication in new window or tab >>Task‐based, GPU‐accelerated and robust library for solving dense nonsymmetric eigenvalue problems
2021 (English)In: Concurrency and Computation, ISSN 1532-0626, E-ISSN 1532-0634, Vol. 33, no 11, article id e5915Article in journal (Refereed) Published
Abstract [en]

In this paper, we present the StarNEig library for solving dense nonsymmetric standard and generalized eigenvalue problems. The library is built on top of the StarPU runtime system and targets both shared and distributed memory machines. Some components of the library have support for GPU acceleration. The library currently applies to real matrices with real and complex eigenvalues and all calculations are done using real arithmetic. Support for complex matrices is planned for a future release. This paper is aimed at potential users of the library. We describe the design choices and capabilities of the library, and contrast them to existing software such as LAPACK and ScaLAPACK. StarNEig implements a ScaLAPACK compatibility layer which should assist new users in the transition to StarNEig. We demonstrate the performance of the library with a sample of computational experiments.

Place, publisher, year, edition, pages
John Wiley & Sons, 2021
Keywords
eigenvalue problem, parallel computing, task‐based, numerical library
National Category
Computer Sciences Computational Mathematics
Research subject
Computer Science
Identifiers
urn:nbn:se:umu:diva-173924 (URN)10.1002/cpe.5915 (DOI)000555868500001 ()2-s2.0-85089025359 (Scopus ID)
Projects
NLAFET
Available from: 2020-08-06 Created: 2020-08-06 Last updated: 2021-07-14Bibliographically approved
Myllykoski, M. & Kjelgaard Mikkelsen, C. C. (2020). Introduction to StarNEig: A Task-based Library for Solving Nonsymmetric Eigenvalue Problems. In: Roman Wyrzykowski and Boleslaw Szymanski (Ed.), Parallel Processing and Applied Mathematics: Revised Selected Papers, Part I. Paper presented at 13th International Conference on Parallel Computing and Applied Mathematics, PPAM 2019, Bialystok, Poland, September 8-11, 2019 (pp. 70-81). Springer
Open this publication in new window or tab >>Introduction to StarNEig: A Task-based Library for Solving Nonsymmetric Eigenvalue Problems
2020 (English)In: Parallel Processing and Applied Mathematics: Revised Selected Papers, Part I / [ed] Roman Wyrzykowski and Boleslaw Szymanski, Springer, 2020, p. 70-81Conference paper, Published paper (Refereed)
Abstract [en]

Abstract. In this paper, we present the StarNEig library for solvingdense nonsymmetric (generalized) eigenvalue problems. The library isbuilt on top of the StarPU runtime system and targets both shared anddistributed memory machines. Some components of the library supportGPUs. The library is currently in an early beta state and only real arith-metic is supported. Support for complex data types is planned for afuture release. This paper is aimed at potential users of the library. Wedescribe the design choices and capabilities of the library, and contrastthem to existing software such as ScaLAPACK. StarNEig implements aScaLAPACK compatibility layer that should make it easy for new usersto transition to StarNEig. We demonstrate the performance of the librarywith a small set of computational experiments.

Place, publisher, year, edition, pages
Springer, 2020
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 12043
Keywords
Eigenvalue problem, Task-based, Library
National Category
Computer Sciences
Research subject
Computer Science; Mathematics
Identifiers
urn:nbn:se:umu:diva-168419 (URN)10.1007/978-3-030-43229-4_7 (DOI)2-s2.0-85083964403 (Scopus ID)978-3-030-43228-7 (ISBN)978-3-030-43229-4 (ISBN)
Conference
13th International Conference on Parallel Computing and Applied Mathematics, PPAM 2019, Bialystok, Poland, September 8-11, 2019
Projects
NLAFET
Available from: 2020-02-25 Created: 2020-02-25 Last updated: 2023-03-23Bibliographically approved
Kjelgaard Mikkelsen, C. C. & Myllykoski, M. (2020). Parallel Robust Computation of Generalized Eigenvectors of Matrix Pencils. In: Roman Wyrzykowski, Ewa Deelman, Jack Dongarra, Konrad Karczewski (Ed.), Parallel Processing and Applied Mathematics: Revised Selected Papers, Part I. Paper presented at 13th International Conference on Parallel Processing and Applied Mathematics, PPAM 2019, Bialystok, Poland, September 8-11, 2019 (pp. 58-69). Springer
Open this publication in new window or tab >>Parallel Robust Computation of Generalized Eigenvectors of Matrix Pencils
2020 (English)In: Parallel Processing and Applied Mathematics: Revised Selected Papers, Part I / [ed] Roman Wyrzykowski, Ewa Deelman, Jack Dongarra, Konrad Karczewski, Springer, 2020, p. 58-69Conference paper, Published paper (Refereed)
Abstract [en]

In this paper we consider the problem of computing generalized eigenvectors of a matrix pencil in real Schur form. In exact arithmetic, this problem can be solved using substitution. In practice, substitution is vulnerable to floating-point overflow. The robust solvers xtgevc in LAPACK prevent overflow by dynamically scaling the eigenvectors.These subroutines are scalar and sequential codes which compute theeigenvectors one by one. In this paper, we discuss how to derive robust algorithms which are blocked and parallel. The new StarNEig librarycontains a robust task-parallel solver Zazamoukh which runs on top of StarPU. Our numerical experiments show that Zazamoukh achieves a super-linear speedup compared with dtgevc for sufficiently large matrices.

Place, publisher, year, edition, pages
Springer, 2020
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 12043
Keywords
Generalized eigenvectors, overflow protection, task-parallelism
National Category
Computer Sciences
Research subject
Computer Science; Mathematics
Identifiers
urn:nbn:se:umu:diva-168416 (URN)10.1007/978-3-030-43229-4_6 (DOI)2-s2.0-85083956421 (Scopus ID)978-3-030-43228-7 (ISBN)978-3-030-43229-4 (ISBN)
Conference
13th International Conference on Parallel Processing and Applied Mathematics, PPAM 2019, Bialystok, Poland, September 8-11, 2019
Projects
NLAFET
Available from: 2020-02-25 Created: 2020-02-25 Last updated: 2023-03-24Bibliographically approved
Schwarz, A. B., Kjelgaard Mikkelsen, C. C. & Karlsson, L. (2020). Robust Parallel Eigenvector Computation for the Non-Symmetric Eigenvalue Problem. Umeå universitet
Open this publication in new window or tab >>Robust Parallel Eigenvector Computation for the Non-Symmetric Eigenvalue Problem
2020 (English)Report (Other academic)
Abstract [en]

A standard approach for computing eigenvectors of a non-symmetric matrix reduced to real Schurform relies on a variant of backward substitution. Backward substitution is prone to overflow. To avoid overflow, the LAPACK eigenvector routine DTREVC3 associates every eigenvector with a scaling factor and dynamically rescales an entire eigenvector during the backward substitution such that overflow cannot occur. When many eigenvectors are computed, DTREVC3 applies backward substitution successively for every eigenvector. This corresponds to level-2 BLAS operations and constitutes a bottleneck. This paper redesigns the backward substitution such that the entire computation is cast as tile operations (level-3 BLAS). By replacing LAPACK’s scaling factor with tile-local scaling factors, our solver decouples the tiles and sustains parallel scalability even when a lot of numerical scaling is necessary.

Place, publisher, year, edition, pages
Umeå universitet, 2020. p. 25
Series
Report / UMINF, ISSN 0348-0542 ; 20.02
National Category
Computer Sciences
Research subject
Computer Science; Mathematics
Identifiers
urn:nbn:se:umu:diva-168433 (URN)
Projects
NLAFET
Available from: 2020-02-25 Created: 2020-02-25 Last updated: 2023-03-07Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0002-9158-1941

Search in DiVA

Show all publications