Umeå universitets logga

umu.sePublikationer
Ändra sökning
Länk till posten
Permanent länk

Direktlänk
Kjelgaard Mikkelsen, Carl ChristianORCID iD iconorcid.org/0000-0002-9158-1941
Publikationer (10 of 31) Visa alla publikationer
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.
Öppna denna publikation i ny flik eller fönster >>How accurate is Richardson's error estimate?
2025 (Engelska)Ingår i: Concurrency and Computation, ISSN 1532-0626, E-ISSN 1532-0634, Vol. 37, nr 27-28, artikel-id e70305Artikel i tidskrift (Refereegranskat) 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.

Ort, förlag, år, upplaga, sidor
John Wiley & Sons, 2025
Nyckelord
discretization errors, modeling errors, practical error estimation, Richardson extrapolation, rounding errors
Nationell ämneskategori
Beräkningsmatematik
Identifikatorer
urn:nbn:se:umu:diva-246591 (URN)10.1002/cpe.70305 (DOI)2-s2.0-105021401390 (Scopus ID)
Forskningsfinansiär
VetenskapsrådeteSSENCE - An eScience Collaboration
Tillgänglig från: 2025-11-18 Skapad: 2025-11-18 Senast uppdaterad: 2025-11-25Bibliografiskt granskad
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
Öppna denna publikation i ny flik eller fönster >>ILVES: accurate and efficient bond length and angle constraints in molecular dynamics
Visa övriga...
2025 (Engelska)Ingår i: Journal of Chemical Theory and Computation, ISSN 1549-9618, E-ISSN 1549-9626, Vol. 21, nr 18, s. 8711-8719Artikel i tidskrift (Refereegranskat) 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.

Ort, förlag, år, upplaga, sidor
American Chemical Society (ACS), 2025
Nationell ämneskategori
Teoretisk kemi
Identifikatorer
urn:nbn:se:umu:diva-245359 (URN)10.1021/acs.jctc.5c01376 (DOI)001564363100001 ()40905177 (PubMedID)2-s2.0-105016599190 (Scopus ID)
Forskningsfinansiär
eSSENCE - An eScience Collaboration
Tillgänglig från: 2025-10-10 Skapad: 2025-10-10 Senast uppdaterad: 2025-11-18Bibliografiskt granskad
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
Öppna denna publikation i ny flik eller fönster >>The need for accuracy and smoothness in numerical simulations
2025 (Engelska)Ingår i: 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, s. 3-16Konferensbidrag, Publicerat paper (Refereegranskat)
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.

Ort, förlag, år, upplaga, sidor
Springer Nature, 2025
Serie
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 15579
Nyckelord
error estimation, external ballistics, GROMACS, multi-body dynamics, numerical integration, Richardson extrapolation
Nationell ämneskategori
Datavetenskap (datalogi)
Identifikatorer
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)
Konferens
15th International Conference on Parallel Processing and Applied Mathematics, PPAM 2024, Ostrava, Czech Republic, September 8–11, 2024
Forskningsfinansiär
eSSENCE - An eScience Collaboration
Tillgänglig från: 2025-04-24 Skapad: 2025-04-24 Senast uppdaterad: 2025-04-24Bibliografiskt granskad
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.
Öppna denna publikation i ny flik eller fönster >>Newton's method revisited: how accurate do we have to be?
2024 (Engelska)Ingår i: Concurrency and Computation, ISSN 1532-0626, E-ISSN 1532-0634, Vol. 36, nr 10, artikel-id e7853Artikel i tidskrift (Refereegranskat) 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.

Ort, förlag, år, upplaga, sidor
John Wiley & Sons, 2024
Nyckelord
approximation error, convergence, quasi-Newton methods, rounding error, stagnation, systems of nonlinear equations
Nationell ämneskategori
Beräkningsmatematik
Identifikatorer
urn:nbn:se:umu:diva-212265 (URN)10.1002/cpe.7853 (DOI)001020863100001 ()2-s2.0-85164157230 (Scopus ID)
Forskningsfinansiär
eSSENCE - An eScience Collaboration
Tillgänglig från: 2023-07-20 Skapad: 2023-07-20 Senast uppdaterad: 2024-06-26Bibliografiskt granskad
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.
Öppna denna publikation i ny flik eller fönster >>Accurate and efficient constrained molecular dynamics of polymers using Newton's method and special purpose code
Visa övriga...
2023 (Engelska)Ingår i: Computer Physics Communications, ISSN 0010-4655, E-ISSN 1879-2944, Vol. 288, artikel-id 108742Artikel i tidskrift (Refereegranskat) 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.

Ort, förlag, år, upplaga, sidor
Elsevier, 2023
Nyckelord
molecular dynamics, constraint algorithms, nonlinear equations, newton's method, SHAKE, LINCS
Nationell ämneskategori
Beräkningsmatematik
Identifikatorer
urn:nbn:se:umu:diva-208209 (URN)10.1016/j.cpc.2023.108742 (DOI)2-s2.0-85151493578 (Scopus ID)
Forskningsfinansiär
VetenskapsrådeteSSENCE - An eScience Collaboration
Tillgänglig från: 2023-05-11 Skapad: 2023-05-11 Senast uppdaterad: 2023-05-11Bibliografiskt granskad
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
Öppna denna publikation i ny flik eller fönster >>How accurate does Newton have to be?
2023 (Engelska)Ingår i: 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, s. 3-15Kapitel i bok, del av antologi (Refereegranskat)
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.

Ort, förlag, år, upplaga, sidor
Switzerland: Springer Nature, 2023
Serie
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 13826
Nyckelord
systems of nonlinear equations, quasi-Newton methods, approxomation error, rounding error, convergence, stagnation
Nationell ämneskategori
Beräkningsmatematik
Identifikatorer
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)
Konferens
PPAM 2022
Forskningsfinansiär
eSSENCE - An eScience Collaboration
Tillgänglig från: 2023-05-11 Skapad: 2023-05-11 Senast uppdaterad: 2023-06-28Bibliografiskt granskad
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.
Öppna denna publikation i ny flik eller fönster >>Task‐based, GPU‐accelerated and robust library for solving dense nonsymmetric eigenvalue problems
2021 (Engelska)Ingår i: Concurrency and Computation, ISSN 1532-0626, E-ISSN 1532-0634, Vol. 33, nr 11, artikel-id e5915Artikel i tidskrift (Refereegranskat) 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.

Ort, förlag, år, upplaga, sidor
John Wiley & Sons, 2021
Nyckelord
eigenvalue problem, parallel computing, task‐based, numerical library
Nationell ämneskategori
Datavetenskap (datalogi) Beräkningsmatematik
Forskningsämne
datalogi
Identifikatorer
urn:nbn:se:umu:diva-173924 (URN)10.1002/cpe.5915 (DOI)000555868500001 ()2-s2.0-85089025359 (Scopus ID)
Projekt
NLAFET
Tillgänglig från: 2020-08-06 Skapad: 2020-08-06 Senast uppdaterad: 2021-07-14Bibliografiskt granskad
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
Öppna denna publikation i ny flik eller fönster >>Introduction to StarNEig: A Task-based Library for Solving Nonsymmetric Eigenvalue Problems
2020 (Engelska)Ingår i: Parallel Processing and Applied Mathematics: Revised Selected Papers, Part I / [ed] Roman Wyrzykowski and Boleslaw Szymanski, Springer, 2020, s. 70-81Konferensbidrag, Publicerat paper (Refereegranskat)
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.

Ort, förlag, år, upplaga, sidor
Springer, 2020
Serie
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 12043
Nyckelord
Eigenvalue problem, Task-based, Library
Nationell ämneskategori
Datavetenskap (datalogi)
Forskningsämne
datalogi; matematik
Identifikatorer
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)
Konferens
13th International Conference on Parallel Computing and Applied Mathematics, PPAM 2019, Bialystok, Poland, September 8-11, 2019
Projekt
NLAFET
Tillgänglig från: 2020-02-25 Skapad: 2020-02-25 Senast uppdaterad: 2023-03-23Bibliografiskt granskad
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
Öppna denna publikation i ny flik eller fönster >>Parallel Robust Computation of Generalized Eigenvectors of Matrix Pencils
2020 (Engelska)Ingår i: Parallel Processing and Applied Mathematics: Revised Selected Papers, Part I / [ed] Roman Wyrzykowski, Ewa Deelman, Jack Dongarra, Konrad Karczewski, Springer, 2020, s. 58-69Konferensbidrag, Publicerat paper (Refereegranskat)
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.

Ort, förlag, år, upplaga, sidor
Springer, 2020
Serie
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 12043
Nyckelord
Generalized eigenvectors, overflow protection, task-parallelism
Nationell ämneskategori
Datavetenskap (datalogi)
Forskningsämne
datalogi; matematik
Identifikatorer
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)
Konferens
13th International Conference on Parallel Processing and Applied Mathematics, PPAM 2019, Bialystok, Poland, September 8-11, 2019
Projekt
NLAFET
Tillgänglig från: 2020-02-25 Skapad: 2020-02-25 Senast uppdaterad: 2023-03-24Bibliografiskt granskad
Schwarz, A. B., Kjelgaard Mikkelsen, C. C. & Karlsson, L. (2020). Robust Parallel Eigenvector Computation for the Non-Symmetric Eigenvalue Problem. Umeå universitet
Öppna denna publikation i ny flik eller fönster >>Robust Parallel Eigenvector Computation for the Non-Symmetric Eigenvalue Problem
2020 (Engelska)Rapport (Övrigt vetenskapligt)
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.

Ort, förlag, år, upplaga, sidor
Umeå universitet, 2020. s. 25
Serie
Report / UMINF, ISSN 0348-0542 ; 20.02
Nationell ämneskategori
Datavetenskap (datalogi)
Forskningsämne
datalogi; matematik
Identifikatorer
urn:nbn:se:umu:diva-168433 (URN)
Projekt
NLAFET
Tillgänglig från: 2020-02-25 Skapad: 2020-02-25 Senast uppdaterad: 2023-03-07Bibliografiskt granskad
Organisationer
Identifikatorer
ORCID-id: ORCID iD iconorcid.org/0000-0002-9158-1941

Sök vidare i DiVA

Visa alla publikationer