1
1
Self Adapting Numerical Software and Update on NetSolve
- 2
Outline
- Current status
!"#$
- BiCG
%&'(&)*+(&,
- Middleware for ease of use on clusters
)
- !.)!*#/)).
Outline - - PDF document
Self Adapting Numerical Software and Update on NetSolve 1 Outline
1
1
!"#$
%&'(&)*+(&,
2 /#")0#!"//)* #1!/*)/"#/ 2!3/#")3!)! "/4#"#
(/*##"
1!0"#")#
TUNING SYSTEM Different Algorithms, Segment Sizes Data Structure Best Algorithm, Segment Size Data Structure
4
)9373:;<
"#/"## //)/!#/ !*"# "#$
*&!/& /!. ).3 #/3/3 ")3 .3/)! <*)3*3?
/!34!/)* 1"#/"#
"#/*
).
"#$@
3
5
500 1000 1500 2000 2500 3000 3500 4000 4500 100 200 300 400 500 600 700 800 900 1000 Size Mflop/s
Intel P4 1.5 GHz 32-bit SSE2 Intel P4 1.5 GHz 64-bit SSE2 Intel P4 1.5 GHz
%A;7.)"*7 %ABA.)"*7 %ABA.)"
6C9888#DEC8F84 )"GG
6
0#")"#$
9)"
)"
4
7
# !""
$" $!!!"# $!!!" %& 8
5
9
100 200 300 400 500 M flop/s 30 60 90 120 Size
Alpha EV/67 Matrix Vector Multiply
ATLAS Opt by Hand
10
##//.*! "#$.#)* .*!"/! /))/*) % ).*)) ")#
6
11
Application Library (e.g. LAPACK, ScaLAPACK, PETSc,…) User has problem to solve (e.g. Ax = b) with the assistance of a numerical library
12
User has problem to solve (e.g. Ax = b)
Natural Data (A,b)
Middleware Application Library (e.g. LAPACK, ScaLAPACK, PETSc,…)
Natural Answer (x) Structured Data (A’,b’) Structured Answer (x’)
7
13
14
7#/+.3),;+)!3/"*3##).),
O
O O
O
O
O O
O O
O O
O O
O
Bandwidth Latency Load CPU Performance Memory
8
15
Middleware User d/dt T() = 0
1. User invokes help of middleware to generate data set in remote memory depot, IBP 2. Middleware makes NWS query of available clusters
performance model and information from step 2.
to the lead compute node and the solve invoked (here the structured mapping of the data is imparted in the application routine)
(clusters)
1 2 3 4
16
LAPACK routine
ScaLAPACK and LFC Routines No loading of data measured
9
17
LAPACK routine
ScaLAPACK routine LFC Routine || load of data LFC Routine seq load of data
18
(&))*# #*/!/ &)* #"! .#)*
#
&)*!-!/ !!)" )!".)
)!*#! !
)"./ */* /#"*)// "")/!
#
!)"#!
%)!3 &)13P3 ##/)*3 !##/ )*
10
19
*/!/3!#/".)#)/".)3)! .)/3*))///3/*3?
AGENT(s)
A C
S1 S2 S3 S4
Client
Matlab Mathematica C, Fortran Web Schedule Database
No knowledge of the grid required, RPC like.
IBP Depot
11
AGENT(s)
A C
S1 S2 S3 S4
Client
Matlab Mathematica C, Fortran Web Schedule Database
No knowledge of the grid required, RPC like. A, B
IBP Depot
AGENT(s)
A C
S1 S2 S3 S4
Client
Matlab Mathematica C, Fortran Web Schedule Database
No knowledge of the grid required, RPC like.
H a n d l e b a c k
IBP Depot
12
AGENT(s)
A C
S1 S2 S3 S4
Client Answer (C)
S2 ! Request
Op(C, A, B)
Matlab Mathematica C, Fortran Web Schedule Database
No knowledge of the grid required, RPC like. A, B OP, handle
IBP Depot
24
*
).#/3%&'3 *"3/%&'3%/3Q&3 %&'
"/"*"#! /*"*
&#"*
1"##
#*
5*!
R/*
(3?
13
25
!!!!)*/)
Java GUI NetSolve Parser/ Compiler
@PROBLEM degsv @DESCRIPTION This is a linear solver for dense matrices from the LAPACK
@INPUT 2 @OBJECT MATRIX DOUBLE A Double precision matrix @OBJECT VECTOR DOUBLE b Right hand side @OUTPUT 1 @OBJECT VECTOR DOUBLE x …
Server
Service Service Service Service New Service
New Service Added!
26
)*@
"#> !"/!*))# *)"#"3!!"!) ")))"")/
14
27
/"/?
28
Web Server NetSolve Client IPARS-enabled Servers Web Interface
)""/*)$ %.)!*)$ *..
15
29
C Fortran Matlab Mathematica SciRUN Globus NetSolve servers Ninf servers NetSolve servers Condor NetSolve servers
Globus proxy NetSolve proxy Ninf proxy Condor proxy
PSE front-ends Grid back-ends Web Interface Grid middleware
Remote procedure call Resource Discovery System Management Resource Scheduling Fault Tolerance
Scilab// Custom
30
**".)#
16
31
) #A@88
(!!)#?
"@44).4)4 "@44/)/*1!*4)4 "@44/*1!*46!4 )!!)
""* *"