Finding the minimum number of Sudoku clues Yu-Ting CHEN Academia Sinica Grid Computing.

Slides:



Advertisements
Similar presentations
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Advertisements

Operating System Structures
Chapter 3 Process Description and Control
Pegasus on the Virtual Grid: A Case Study of Workflow Planning over Captive Resources Yang-Suk Kee, Eun-Kyu Byun, Ewa Deelman, Kran Vahi, Jin-Soo Kim Oracle.
Algebra and Sudoku By Ashley MacDonald Math 354: Modern Algebra 1
Structured Graphs and Applications
Academic Advisor: Prof. Ronen Brafman Team Members: Ran Isenberg Mirit Markovich Noa Aharon Alon Furman.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
Tunis, Tunisia, June 2012 Cloud Research Activities Pr. Mohamed JEMNI Computing Center Al Khawarizmi (CCK) Research Laboratory LaTICE
Public-resource computing for CEPC Simulation Wenxiao Kan Computing Center/Institute of High Physics Energy Chinese Academic of Science CEPC2014 Scientific.
DIRAC Web User Interface A.Casajus (Universitat de Barcelona) M.Sapunov (CPPM Marseille) On behalf of the LHCb DIRAC Team.
SICSA student induction day, 2009Slide 1 Social Simulation Tutorial Session 6: Introduction to grids and cloud computing International Symposium on Grid.
1 port BOSS on Wenjing Wu (IHEP-CC)
AHM /09/05 AHM 2005 Automatic Deployment and Interoperability of Grid Services G.Kecskemeti, Yonatan Zetuny, G.Terstyanszky,
Connecting OurGrid & GridSAM A Short Overview. Content Goals OurGrid: architecture overview OurGrid: short overview GridSAM: short overview GridSAM: example.
A Lightweight Platform for Integration of Resource Limited Devices into Pervasive Grids Stavros Isaiadis and Vladimir Getov University of Westminster
1 CSC 221: Introduction to Programming Fall 2013 See online syllabus (also accessible via BlueLine2): Course goals:  To develop.
Wenjing Wu Andrej Filipčič David Cameron Eric Lancon Claire Adam Bourdarios & others.
07:44:46Service Oriented Cyberinfrastructure Lab, Introduction to BOINC By: Andrew J Younge
The EDGeS project receives Community research funding 1 SG-DG Bridges Zoltán Farkas, MTA SZTAKI.
Cracow Grid Workshop October 2009 Dipl.-Ing. (M.Sc.) Marcus Hilbrich Center for Information Services and High Performance.
Copyright © 2011, Performance Evaluation of a Green Scheduling Algorithm for Energy Savings in Cloud Computing Truong Vinh Truong Duy; Sato,
Scalarm: Scalable Platform for Data Farming D. Król, Ł. Dutka, M. Wrzeszcz, B. Kryza, R. Słota and J. Kitowski ACC Cyfronet AGH KU KDM, Zakopane, 2013.
David Adams ATLAS DIAL/ADA JDL and catalogs David Adams BNL December 4, 2003 ATLAS software workshop Production session CERN.
Conference name Company name INFSOM-RI Speaker name The ETICS Job management architecture EGEE ‘08 Istanbul, September 25 th 2008 Valerio Venturi.
1 IDGF International Desktop Grid Federation PORTING APPLICATION TO THE BOINC DESKTOP GRID: ISA RAS EXPERIENCE Mikhail Posypkin Oleg Zaikin Nikolay Khrapov.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Enabling the use of e-Infrastructures with.
Po-Lung Chen (Dont block me) d092: iRobot 2010/03/26 (1) d092: iRobot Po-Lung Chen Team Dont Block Me, National Taiwan University March 26, 2010.
Development of e-Science Application Portal on GAP WeiLong Ueng Academia Sinica Grid Computing
Sudoku is a logic-based, combinatorial number-placement puzzle. The objective is to fill a 9x9 grid with digits so that each column, each row, and each.
11 Introduction to EDGI Peter Kacsuk, MTA SZTAKI Start date: Duration: 27 months EDGI.
Nanbor Wang, Balamurali Ananthan Tech-X Corporation Gerald Gieraltowski, Edward May, Alexandre Vaniachine Argonne National Laboratory 2. ARCHITECTURE GSIMF:
1 MSCS 237 Introduction to Distributed Systems. 2 Outline Distributed computing (DC) Distributed Systems (DS) Motivation Architecture of a DS Advantages.
Susanna Guatelli Geant4 in a Distributed Computing Environment S. Guatelli 1, P. Mendez Lorenzo 2, J. Moscicki 2, M.G. Pia 1 1. INFN Genova, Italy, 2.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical using WMProxy advanced job submission.
DesktopGrid Applications in Asia Eric Yen 17 Sep
D.Spiga, L.Servoli, L.Faina INFN & University of Perugia CRAB WorkFlow : CRAB: CMS Remote Analysis Builder A CMS specific tool written in python and developed.
The Institute of High Energy of Physics, Chinese Academy of Sciences Sharing LCG files across different platforms Cheng Yaodong, Wang Lu, Liu Aigui, Chen.
Claudio Grandi INFN Bologna Virtual Pools for Interactive Analysis and Software Development through an Integrated Cloud Environment Claudio Grandi (INFN.
CluBORun: tool for utilizing idle resources of computing clusters in volunteer computing. Maxim Manzyuk, Oleg Zaikin, Mikhail Posypkin Volgograd state.
Volunteer Clouds and Citizen Cyberscience for LHC Physics Artem Harutyunyan / CERN Carlos Aguado Sanchez / CERN, Jakob Blomer / CERN, Predrag Buncic /
SCI-BUS project Pre-kick-off meeting University of Westminster Centre for Parallel Computing Tamas Kiss, Stephen Winter, Gabor.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
Enabling Grids for E-sciencE Claudio Cherubino INFN DGAS (Distributed Grid Accounting System)
OSCAR Symposium – Quebec City, Canada – June 2008 Proposal for Modifications to the OSCAR Architecture to Address Challenges in Distributed System Management.
INTRODUCTION TO HIGH PERFORMANCE COMPUTING AND TERMINOLOGY.
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Academia Sinica Grid Computing Centre (ASGC), Taiwan
MED-V - Managing virtual PCs for IT Pros
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CLOUD COMPUTING
Memory Management.
Integrating Scientific Tools and Web Portals
Volunteer Computing for Science Gateways
Dynamic Deployment of VO Specific Condor Scheduler using GT4
Chapter 1: Introduction
Job Scheduling in a Grid Computing Environment
David Cameron ATLAS Site Jamboree, 20 Jan 2017
Grid Computing.
Chapter 1: Introduction
New developments for deploying
WORKFLOW PETRI NETS USED IN MODELING OF PARALLEL ARCHITECTURES
Chapter 1: Introduction
Chapter 1: Introduction
High Energy Physics Computing Coordination in Pakistan
Privilege Separation in Condor
Language Processors Application Domain – ideas concerning the behavior of a software. Execution Domain – Ideas implemented in Computer System. Semantic.
Ivan Reid (Brunel University London/CMS)
Sudoku.
New Tools In Education Minjun Wang
Exploit the massive Volunteer Computing resource for HEP computation
Presentation transcript:

Finding the minimum number of Sudoku clues Yu-Ting CHEN Academia Sinica Grid Computing

Outline Volunteer ASGC Introduction to minimum number of clues problem BOINC ASGC Future Plan /8/28

Volunteer ASGC Since 2009, ASGC supports project to promote volunteer computing in South East Asia. In 2009, a first workshop was held during ISGC (International Symposium on Grid Computing) 2009 in Taipei In 2010, a brainstorming session was held during ISGC 2010 in Taipei 3

Volunteer ASGC In 2010, ASGC participates DEGISCO (Desktop Grids for International Scientific Collaboration) project. Main objective: Expand European distributed computing infrastructures by supporting the creation of new Desktop Grids for e- Science and by connecting them using the EDGeS bridge technology. 4

Introduction to minimum number of clues problem

Overview of Sudoku Sudoku is a logic-based, combinatorial number-placement puzzle. The objective is to fill a 9×9 grid with digits so that each column, each row, and each of the nine 3×3 sub-grids that compose the grid contains all of the digits from 1 to 9. The puzzle setter provides a partially completed grid, which typically has a unique solution. (ref: 6

Minimum number of clues problem The minimum number of clues problem: What the smallest number of clues that a Sudoku puzzle* can have? *We only consider puzzles which have a unique solution. 7

Minimum number of clues problem 17-clue puzzles have been found. However, it’s still unknown whether there exists a 16-clue puzzle. We need such a sudoku checker program 8 Checker (have n-clues puzzles?) Checker (have n-clues puzzles?) n n YES NO

How many solutions does Sudoku have? How many unique filled-in (solution) Sudoku grids can be constructed? As Bertram Felgenhauer and Frazer Jarvis found, there are 6,670,903,752,021,072,936,960 solutions Without symmetries, Ed Russell and Frazer Jarvis found the number is 5,472,730,538 9

Minimum number of clues problem To find 16-clues puzzles, we can use checker to examine all symmetrically distinct solutions of Sudoku 10 Checker (have n-clues puzzles?) Checker (have n-clues puzzles?) Checker (have n-clues puzzles?) Checker (have n-clues puzzles?) Checker (have n-clues puzzles?) Checker (have n-clues puzzles?) 16 ? ? ? S1 S2 S 5,472,730,538

Sudoku checker If a checker can analyze one grid per second, it would take 173 years to analyze all solutions If a checker can analyze one grid per minute, it would take 10,380 years to analyze all solutions 11

Solution Time Using checker found in public domain, it needs to take several hundreds of thousands CPU years. ASGC currently collaborate with Prof. Wu's team of National Chiao Tung University, Taiwan. They are researching in an efficient Sudoku checker algorithm which reduces the solution time to 2417 CPU years. 12

Solving minimum number of clues problem via BOINC Since each input grids are independent, using BOINC is a perfect way to speed it up. If 2417 cores via BOINC are used, the open problem can be solved in one year; and if cores are used, it can in about 36 days. 13

BOINC ASGC

Start from 2010/06/04 (Only for internal test) Client OS: Windows, Linux 32-bits, and Linux 64-bits Deploy in wrapper mode 15

Subprocess control problem Sometimes, we want to wrap a script(e.g. shell, python) which defines a job flow using BOINC wrapper BOINC clients can’t control sub-processes forked by the script Volunteers can’t stop/suspend/resume those jobs 16

Subprocess control problem Solution: Don’t fork any jobs by scripts. Use job.xml to define your job flow. 17 Wrapper Script.sh job.exe Wrapper Pre.sh Job.exe post.sh Can’t control (B) (A)

Integration with BOINC and gLite (using JDL) We use two methods to utilize grid work nodes for BOINC 1.Use JDL(job description language) to recruit grid work nodes as BOINC volunteers 18

Integration with BOINC and gLite (using JDL) Since gLite WMS(Workload Management System) could assign two jobs on the same work node, must be set to 1 in the config.xml of BOINC server And different BOINC clients should set to use different ports on the same host. Sometimes we still get client detach errors, but couldn’t figure out why. 19

Integration with BOINC and gLite (using JDL) Pros: Recruit volunteers on demand No installation, deployment, and management. Cons: Jobs may expire because of the proxy living time or the policy of the grid CE(computing element) Not a solution for long term computing resources Client detach errors 20

Integration with BOINC and gLite (using Jarifa) 2. Use Jarifa Preinstall BOINC clients onto grid work nodes and collectively managed by Jarifa 21

Integration with BOINC and gLite (using Jarifa) Need careful setting to avoid occupying resources from normal grid jobs Our setting (8 cores): BOINC can use at most 6 cores, and it will suspend when over 18% non-BOINC cpu usage 22

Integration with BOINC and gLite (using Jarifa) Pros: Better utilization for grid computing resources Provide reliable computing resource for BOINC Cons: Need privilege to install BOINC clients in grid CE 23

Diagram analysis 24 Start using Jarifa Reset CPU usage

Future Plan

Real time game algorithms on BOINC Connect6 – Finding the open book Need short response time 26

More applications.. We have had several applications run in grid environment, we want to combine with BOINC to gain more computing resources 1.Virtual screening service 27

More applications.. 2. Earthquake simulation Goal: To build regional hazard map Challenge: Running MPI on BOINC? Without MPI, we will have huge memory usage issue 28

Questions & Discussions Yu-Ting CHEN Academia Sinica Grid Computing

Reference Jean-Paul Delahaye (2006, June). The Science behind Sudoku, Scientific American, p