Simulaciones numéricas directas en turbulencia de pared: Una visión global Sergio Hoyas Departamento de informática, Universidad de Valencia Funding: DEISA,

Slides:



Advertisements
Presentaciones similares
Rendimiento y dimensionamiento de Microsoft Operations Manager 2005.
Advertisements

Telling Time in Spanish ¿Qué hora es?. To ask what time is it, you say: ¿Qué hora es? ¿Qué hora es?
Take notes and complete ACTS
Objetivos 1) To revise animals 2) To brainstorm countries where they talk Spanish 3) to revise numbers ) To learn numbers 1 to a million 5) Play.
¿Qué clase tienes? Vocabulario.
Objective: to be able to tell time in Spanish. Bellwork Bellwork 1.What is the difference in Spanish between writing 25 and 35? 1.What is the difference.
Como la cuarta parte de 16 es Entonces la cuarta parte de 160 será
Numbers 100 to 2,000,000 Mosaicos (pp. 108,109). Malena Malena learned the numbers from 0 to 99, and now she would like to learn more numbers. She is.
2003 HYPACK MAX Training Seminar1 Sample Cross Sort – Computing Cross Check Statistics The STATISTICS program computes the difference at intersections.
ARQUITECTURA DE COMPUTADORES - INTRODUCCION
Jeopardy U2E1 El vocabularioLos verbosLas preguntasLos adverbiosHay que/tener que
¿Qué hora es? ¿Cómo decimos la hora en español? Son las ______. Es la _______. Para decir la hora… How do we say the time in Spanish To tell time. It.
¡Bienvenidos a la clase de español!
Técnicas de computación avanzada en mecánica de fluidos
DNS RANS.
H.K. Versteeg and W. Malalasekera
Métodos de Variable Compleja en Dinámica de Fluidos Perfectos
¿Qué hora es?.
Somos estudiantes. At what time is…? What time is it? At…o’clock. It is…o’clock. In the morning In the afternoon At night Hour, time Schedule ¿A qué hora.
WALT: talking about dates and saying when your birthday is WILF: To be able to write & understand months and dates in Spanish to get to a Level 2 To be.
Los números.
¿Qué hora es? What time is it?. ¿Qué hora es? It’s 1:00 Es la una (notice we do not say uno for time but una) 1:00 is the ONLY time where we say “Es la…”
Los números ordinales (first, second, third…). Los números ordinales  1—primero*  2—segundo  3—tercero*  4—cuarto  5—quinto  6—sexto  7—séptimo.
REPASEMOS LA TAREA CONTESTE (en oraciones completas) las preguntas del ejercicio 7 en la página 57.
Archivos y Búsqueda Secuencial
PROGRAMACIÓN EN CLUSTERS
UNIVERSIDAD AUTÓNOMA DEL ESTADO DE HIDALGO ESCUELA SUPERIOR DE ZIMAPÁN Licenciatura en Contaduría Tema: Subject questions L.E.L.I. Paulina Trujillo Castillo.
Telling Time.
Telling Time in Spanish Señora Geitgey. To ask what time it is, you say: ¿Qué hora es?
Si no estabas en clase hoy… Hoy en clase, students received some new structures that were added to the Diccionario. Please see the following slides, and.
Notes #18 Numbers 31 and higher Standard 1.2
To compare people or things that are equal to one another, you use: Making comparisons En mi club, levantar pesas es tan popular como correr.
Informatic Topics M. Sc. Juan Carlos Olivares Rojas February, 2009.
MORE CONVERSATION TOOLS
Making comparisons In this slide show, we’ll look at ways of expressing differences and similarities.
Leading in Learning – Spanish Collective Memory. Plenary 1 Did you know any of the words already? If so, which? Why are the colours significant do you.
Hoy vamos a .. preparar un texto (para escribir or decir)
ESP 119/8/13 Hoy es el diecinueve de agosto. Students will be able to tell the hour in Spanish & know their colors. Escriban los números 1 a 12 en español.
Simulación numérica de altas prestaciones
LA TAREA ESTUDIEN – vocabulario de la página 120.
La computadora esta’ encima de la mesa
METODO DEL BALANCE DE ENERGÍA DIFERENCIAS FINITAS m,n m,n+1 m,n-1 m-1,nm+1,n.
Calentamiento (martes, once de noviembre) Part One: Answer the following questions in Spanish in your notebook. 1.¿Qué clase tienes en la tercera hora?
FÍSICA DE SEMICONDUCTORES MOBILIDAD Y CONDUCTIVIDAD EN SEMICONDUCTORES
ALC 155 miércoles el 25 de mayo. Bienvenida Sientense SS – lado a lado Uno lee las preguntas en voz alta la otra persona contesta.
REPASEMOS LA TAREA COMPLETE – la hoja fotocopiada “yo forms”, present indicative.
Horarios. After writing down the agenda in your notebook, look at the sample schedule below and answer the questions about it. 1. What does Juan have.
¿Qué haces en la escuela? Question words, objects, yo-go’s.
The Present Tense of tener (to have)
Hoy es el 2 de marzo ¿Qué necesitas en la playa? ¿Qué puedes hacer en la playa?
Time Telling time is rather easy. You only need to know the numbers up to 59 to be able to tell the time.
Telling Time on the Hour If the hours are between 2 and 12, use “Son las …” Examples: 3:00 – Son las tres. 11:00 – Son las once. If the hour is within.
The Future Tense -original PowerPoint created by Mrs. Shirley of North Intermediate High School in Broken Arrow, OK.
Expressing Obligation with TENER QUE and HAY QUE.
Hacer with expressions of time When you are talking about how long something has been happening or how long ago it happened, you will use the verb hacer.
Express time with “hacer que”
CONJUGATION.
Objectives To learn some different techniques to help you memorise your ‘Healthy Living’ Written Controlled Assessment. To practise these techniques and.
¿Cuántos Años Tienes? ¿ Cuál Es Tu Teléfono? Spanish4Teachers.org.
Capítulo 3, Paso 1. Cómo decir la hora  ¿Qué hora es?  When you ask the time, you’re using the verb ser, in the 3 rd person SINGULAR. Ser soy I somos.
HOW LONG AGO: HACER WITH EXPRESSIONS OF TIME. Para el fin de esta leccíon, se puede:  Comprender los usos de “hacer” con expresiónes de tiempo.  Comprender.
The Present Tense of tener (to have) (El tiempo presente del verbo tener)
Capítulo 3.  The verb ir is an irregular verb.  It follows the same pattern as an –ar verb conjugation except in the yo form even though it is an –ir.
 “La persistencia de la memoria” (1931), Salvador Dalí.
Latitude and Longitude How do we find places on maps?
Los números. Cardinal numbers Memorize cero Memorize cero 1 uno6 seis11 once 2 dos7 siete12 doce 3 tres8 ocho13 trece 4 cuatro9 nueve14.
Vámonos Fill the blank with the SUBJECT of the sentence (there may be more than one right answer, you only have to choose one). Write out the sentence.
PRESENT PERFECT Área Académica: INGENERÍA MECÁNICA Profesor(a): MA. E. GUADALUPE ISLAS LÓPEZ Periodo: JULIO-DICIEMBRE 2015.
Repaso del capítulo What will be on our quiz? Vocab and conjugation tables form verbs on front page of the packet Comparisons of equality Tan Tanto(s),
Los Pronombres relativos Relative pronouns. Relative pronouns are words that:  Connect ideas within one sentence  Most frequently refer back to a noun.
Transcripción de la presentación:

Simulaciones numéricas directas en turbulencia de pared: Una visión global Sergio Hoyas Departamento de informática, Universidad de Valencia Funding: DEISA, BSC,CICYT,PIC Mark Simens, Javier Jiménez ETSI Aeronáuticos, UPM

¡9 Millones de horas! ¿Para qué y por qué necesitamos 9e6 horas y 50 Tb? Cascada de Energía Richardson Kolmogorov (1941)

Flujo de energía en turbulencia isótropa Flujos industriales típicos Estela de una persona caminando Capa límite de un avión Entrada Disipación Energía Esfuerzos Cascada

Cascadas en la turbulencia de pared Energía Viscosa Log Exterior Dissipación Energía Momento

Dominio flujo x z y Capa límite

Dominio flujo

Mallado del canal Espacio físico Espacio de Fourier # Puntos (Fis.) # Puntos (Fourier, R.) # Puntos (Fourier, C.) Memoria total 400GB (simple precision).

Simulaciones anteriores Kim, Moin and Moser, 1987, 180 (Cray XMP, NASA Ames) Del Álamo and Jiménez, 2003 (Kadesh, CEPBA) 550 Del Álamo, Moser, Jiménez and Zandonade, 2004 (Blue Horizon) 950 Del Álamo and Jiménez, 2003 (Kadesh, CEPBA) 180

Simulaciones anteriores

Ecuaciones de Navier-Stokes

Forma Velocidad-Vorticidad 70-80% of time 99% of communication

Discretización en x y z Discretización Espacial: Fourier en x y z, diferencias finitas compactas en z con tomando

Ecuaciones en el espacio de Fourier

FFT. El problema del dealiasing Problema clásico de la turbulencia: como calcular por ejemplo como Error de aliasing

Dealiasing Dos formas de evitarlo: phase shifts y truncación o 3/2 Truncación: agrandamos la transformada 0 n m n+m n+m-N N/2KK-N/2

Condición de Neumann para v

Discretización Método: Runge-Kutta de tercer orden (Spalart et al, 1991) 118 e6 ecuaciones/paso

Discretización - y Normal: Diferencias finitas compactas (Lele, 1991) N=M=7 N=M=5 Primera derivad: malla de 7 puntos. Mapeada a la original Segunda derivada: malla real Sistemas: métodos LU, sin pivotaje, adaptadas de “Numerical Recipes”

Discretización - y Sistemas: métodos LU, sin pivotaje, adaptadas de “Numerical Recipes”

Esquema clásico de paralelización Solo podemos usar N y procs Problema dealiasing 2D

Speed-up del nuevo esquema Importante Optimización de rutinasAdaptado: - XLF - Arquitectura de MareNostrum Claves Input/ouput Input/ouput Comunicaciones Comunicaciones

Esquema en lineas-planos Proc a Proc b

Paralelización en planos-líneas Proc b

Paralelización en lineas planos: esquema Primera parte 1.- Calculamos vel. y vort. (F-P-F) 2.- Transformamos z al espacio físico Segunda parte Movemos de yz a líneas en x Tercera parte 1.- Transformamos x a físico 2.- Cálculo de la helicidad 3.- Transfomamos la helicidad a Fourier Quinta parte 1.- Transformamos a (F-P-F) 2.- Calculo del RHS de la ecuación 3.- Resolvemos los sistemas 4.- Avanzamos en tiempo Cuarta parte Movemos de líneas en x a yz % % (133MB) % % (66 MB) %

Topología de hipercubo para las comunicaciones 1. 1.Si A está mandando datos a B, B tiene que estar esperando a A Nadie más tiene que comunicarse con A o B #Procs = 4=2 2 1st Comm. 2nd Comm. 3rd Comm. P1P1 P2P2 P3P3 P4P4

Hipercubo #Procs = 8=3 2 1st. 2nd 3rd 4th 5th 6th 7th

Hipercubo: seudocódigo Wrong!!!

Comparación entre códigos

Entrada/salida de datos - El código salva una imagen cada 200 pasos. - El archivo pesa alrededor de 60GB - Implementación clásica: esclavos a maestro - Todos los procesadores tienen que esperar a que el archivo esté escrito 30% 7%

Dos soluciones Propuesta por MN: Cada procesador escribe su plano a un directorio - No se implemento - Problemas: 2048 procesadores intentando escribir al mismo tiempo archivos generados por cada imagen, en total Implementada: Pedimos 60 procs más y creamos dos MPI_GROUPS Cálculo Sálida P 1 -P x1 P x2 -P x3 P xn-1 -P GB Disk P1P1 P2P2 P s m

Simulaciones cinemáticas de canales

!DNS son muy caras! Procesador Total Memoria 0.2GB400GB Pasos Tiempo por cada paso del Runge-Kutta40s40s CPU-hours totales2800h6e6h (1.3e6) Horas humanas totales4 months 4months Transferencia de datos entre procesadores 0.6GB1.2PB Total de datos transmitidos 73PB145EB Base de datos obtenidad 25TB25TB Flops conseguidos 50GF3TF Flops totales18.3PF 3.6EF

Mare Nostrum Supercomputador perteneciente al centro nacional de supercomputación procesadores PowerPC 970FX a 2,2 GHz 9.6 TB de memoria ram. 236 TB de disco Potencia mantenida de 38 Tflops. Información:

Agradecimientos Almacenamiento: Port d’informacio cientifica,ww.pic.es. Castor: Capacitad 1.5 PB. Idea del centro: Llegar a 10PB

Agradecimientos BSC José María Cela: FFTW and general optimization. Sergi Girona: Input/output routines and many discussions about MareNostrum. Jesús Labarta: Communications routines CPU-H assigned to run the simulation.PIC Manuel Delfino: Storage of the results of the simulations. 25 TB of permanent storage.DEISA CPU-H assigned through a project.

Conclusions We have made a new algorithm for a DNS of a turbulent channel flow, capable of use several thousands of processors, showing an excellent speed- up. The code has been written in Fortran90, C++ for the fft and MPI for the communication routines. This DNS has been a very expensive simulation, but not more that one experiment of the same magnitude, and we can compute almost any imaginable quantity. We have obtained 25TB of data that we are analyzing: Pressure, Energy balances… We have confirmed some trends but we also have found new questions.

When a channel 4000 ? Grid size Estimated time per step: Number of steps needed Total time (12288,901,9216) 140s on 4096 processors, 280 on million CPU-Hours, between 800 and 1400 days Future work? Do you have a new MareNostrum?

¡Gracias! Fluid Dynamics Lab Escuela de Aeronáutica, UPM