GENETATOMICS

From HP-SEE Wiki

(Difference between revisions)
Jump to: navigation, search
(Usage Example)
(Usage Example)
Line 76: Line 76:
Equation is solved in the interval [[File:Ex1-1.png]], with initial conditions [[File:Ex1-2.png]]. It should be noted that this algorithm is in beta, the initial results are shown in the following figure <br><br>
Equation is solved in the interval [[File:Ex1-1.png]], with initial conditions [[File:Ex1-2.png]]. It should be noted that this algorithm is in beta, the initial results are shown in the following figure <br><br>
-
[[File:System1.PNG|center]]
+
[[File:System1.PNG|thumb|700px|center|Example 1]]
<br><br>
<br><br>
Line 85: Line 85:
The solution is compared with the exact solution in the following figure:
The solution is compared with the exact solution in the following figure:
-
[[File:System2.PNG|center]]
+
[[File:System2.PNG|thumb|700px|center|Example 2]]
<br><br>
<br><br>

Revision as of 17:48, 2 October 2012

Contents

General Information

  • Application's name: Genetic algorithms in atomic collisions
  • Application's acronym: Genetatomics
  • Virtual Research Community: Computational Physics
  • Scientific contact: Dragan Jakimovski, dragan.jakimovski@gmail.com
  • Technical contact: "Boro Jakimovski, boro.jakimovski@finki.ukim.mk", Jane Jovanovski, janejovanovski@gmail.com
  • Developers: Faculty of Natural Science and Mathematics, UKIM, FYROMacedonia
  • Web site: http://wiki.hp-see.eu/index.php/GENETATOMICS

Short Description

The computer simulation and modeling of various processes involving highly charged ions in plasma are extremely important in contemporary physics. The knowledge of cross sections of electron capture and ionization processes as well as of corresponding sections for excitation of electron(s) in atoms and ions colliding with impurity ions in reactor plasma is valuable in calculations of other plasma parameters and diagnostics of its characteristics in experimental reactor ITER to be build in France. Of special interest are the details of cross sections for different plasma temperatures. The usage of HPC for this application will increase the performance of the genetic algorithms, allowing processing of more parameters and larger intervals in single run.

Problems Solved

The objective of our work is to calculate these multivariable functions (which arise with Schrodinger equation in general) with different values of parameters and different ranges of variables, which in many cases is computer intensive, and require high amount of CPU time. For now the code has been tested, also on various other systems of equations, prominent in physics, applied mathematics and economics

  • Volter-Lotka system,
  • Equations with non-analytical solutions
  • GDP equations from economic theory, and
  • Partial differential equations

For systems for which there is known analytical solution the comparison with the numerically obtained result is excellent.

Scientific and Social Impact

Contribution to IAEA and atomic collisions research community, as well as research groups in quantum physics in general. The availability of robust, thoroughly tested parallel genetic algorithm code for various quantum problems with different effective potentials should be beneficial to all those developers interested in independent check of their own, more specialised codes. Possible scaling of the code to large number of processors (up to, say 100) for solving more complex problems and eventually to huge number of more than 100 thousand, processors with different hardware / software environment may prove itself to have important social impact.

Collaborations

  • International Atomic Energy Agency, Vienna

Beneficiaries

  • Research groups working in atomic / ion collisions and quantum physics in general, for double-checking their own codes;
  • Universities and educational centers with strong program in HP physics computing

Number of users

3

Development Plan

  • Concept: The concept has been planned before the M1.
  • Start of alpha stage: M1-M8
  • Start of beta stage: M9-M10
  • Start of testing stage: M11-M13
  • Start of deployment stage: M14-M15
  • Start of production stage: M16-M24

Resource requirements

  • Number of cores required: 128 - 2048
  • Minimum RAM/core required: 0.5GB
  • Storage space during a single run: 10MB
  • Long-term data storage: 5GB
  • Total core hours required: 1 000 000

Technical Features and HP-SEE Implementation

  • Primary programming language: FORTRAN
  • Parallel programming paradigm: SMP and MPI
  • Main parallel code: In-house development
  • Pre/post processing code: In-house development
  • Application tools and libraries: none, (planned usage of ATLAS, BLAS, GotoBLAS, ScaLAPAC)

Usage Example

The application is currently being used by hardcoding the new problems into the FORTRAN source. The user then recompiles the source and starts it using desired number of processes.

  • Example 1: In order to be able to solve equations that are listed in this project, algorithm can optimize and expanded to solve nonlinear equations. As a representative sample for solving this kind of system of differential equations system is taken Walter Lotka system. We choose the system with next parameter:

Ex1.png



Equation is solved in the interval Ex1-1.png, with initial conditions Ex1-2.png. It should be noted that this algorithm is in beta, the initial results are shown in the following figure

Example 1



There is no way for its analytical solution, therefore we compared with NDSolve Wolfram Mathematica (with parameters to precisely resolve).

  • Example 2: Solving the equation of Newton's Second Law with time variable force. Solve the following equation:

Ex2-1.png



The solution is compared with the exact solution in the following figure:

Example 2



Infrastructure usage

  • Accessed production system: HPCG (Bulgaria)
    • Applied for access on: 09.2010
    • Access granted on: 09.2010
    • Achieved scalability: 16 cores
    • Porting activities: Moved on Home system
    • Scalability studies: Moved on Home system
  • Home system: HPGCC.FINKI (Macedonia)
    • Applied for access on: 1.2012
    • Access granted on: 1.2012
    • Achieved scalability: 60 cores for the current data sets (tested on up to 504 cores). The application was tested directly, before the cluster is operational for testing purposes
    • Porting activities: ongoing
    • Scalability studies: ongoing

Running on several HP-SEE Centers

  • Benchmarking activities and results: The application was successfuly tested for its scalability on HPCG cluster in Bulgaria. Due to long queue waiting times, the problem was not tested for scalability beyond 16 cores. On the HPGCC cluster in Macedonia, the application was used to initially test the system and achieved a scalability of 120 cores. The tests were executed over a medium data set, and we believe that it will scale even more on larger data sets. The results of the scalability measuremets are shown in the following figures:

Genatomics-speedup.png

  • The inovative approach was adopted for measuring the speed-up of parallel implementation of the algorithm due to its stochastic nature. With different runs of the code one gets different functions with different evaluation times. To smooth out this inherent stochasticity of the genetic algorithm we modified the expression for speed-up relative nonparallel case to

Eq1.png

where Eq2.png equals time to develop the Eq3.png generation with Eq4.png processors, Eq5.png equals time to develop Eq6.png generation with one processor, Eq7.png equals the number of equations in the system, Eq8.png equals the mean value of the stack for whole population for Eq3.png generation as represents the Eq9.png equation of the system when the algorithm execution falls on one processor, Eq10.png is the mean value of the stack, for whole population for Eq3.png generation, as represents the Eq9.png equation of the system when the algorithm runs on Eq4.png processors. With this measure of speeding up, relative serial implementation, the results may be represented on the following figure:

Scalability.PNG

Now we use more processors for measure scalability for algorithm.

  • Other issues: .

Achieved Results

Publications

  • J Jovanovski, B Jakimovski and D Jakimovski, Parallel Genetic Algorithms for Finding Solution of System of Ordinary Differential Equations, presentation at ICT Innovations 2011 conference
  • J Jovanovski, B Jakimovski and D Jakimovski, Improvements of the Parallel Evolutionary Algorithm for finding solution of a system of ordinary differential equations, The 9th Conference for Informatics and Information Technology (CIIT 2012)
  • J Jovanovski, B Jakimovski and D Jakimovski, Parallel Genetic Alghorithms for Finding Solution of System of Ordinary Differential Equations, in L. Kocarev (Ed.) ICT Innovations 2011, Advances in Intelligent and Soft Computing, Springer, 2012, Volume 150/2012, 227-237

Foreseen Activities

  • Implementation of a hybrid version using OpenMP
  • Implementation of a more configurable application that will accept the problem functions using a configuration file without influencing performance
  • Making changes in the code to incorporate partial differential equations as well
  • Implementation, testing and production of the code for two-heavy-centers-one-electron system
  • Algorithm for solving an ordinary differential equation. Reconstruction of equation for calculate relative sociability for this type of algorithm.
  • Algorithm for solving an partial differential equation. Reconstruction of equation for calculate relative sociability for this type of algorithm.
Personal tools