Tagged: Singularity Toggle Comment Threads | Keyboard Shortcuts

  • richardmitnick 12:35 pm on February 12, 2019 Permalink | Reply
    Tags: , CANDLE (CANcer Distributed Learning Environment) framework, , , Singularity   

    From insideHPC: “Argonne ALCF Looks to Singularity for HPC Code Portability” 

    From insideHPC

    February 10, 2019

    Over at Argonne, Nils Heinonen writes that Researchers are using the open source Singularity framework as a kind of Rosetta Stone for running supercomputing code most anywhere.

    Scaling code for massively parallel architectures is a common challenge the scientific community faces. When moving from a system used for development—a personal laptop, for instance, or even a university’s computing cluster—to a large-scale supercomputer like those housed at the Argonne Leadership Computing Facility [see below], researchers traditionally would only migrate the target application: the underlying software stack would be left behind.

    To help alleviate this problem, the ALCF has deployed the service Singularity. Singularity, an open-source framework originally developed by Lawrence Berkeley National Laboratory (LBNL) and now supported by Sylabs Inc., is a tool for creating and running containers (platforms designed to package code and its dependencies so as to facilitate fast and reliable switching between computing environments)—albeit one intended specifically for scientific workflows and high-performance computing resources.

    “here is a definite need for increased reproducibility and flexibility when a user is getting started here, and containers can be tremendously valuable in that regard,” said Katherine Riley, Director of Science at the ALCF. “Supporting emerging technologies like Singularity is part of a broader strategy to provide users with services and tools that help advance science by eliminating barriers to productive use of our supercomputers.”

    2
    This plot shows the number of events ATLAS events simulated (solid lines) with and without containerization. Linear scaling is shown (dotted lines) for reference.

    The demand for such services has grown at the ALCF as a direct result of the HPC community’s diversification.

    When the ALCF first opened, it was catering to a smaller user base representative of the handful of domains conventionally associated with scientific computing (high energy physics and astrophysics, for example).

    ANL ALCF Cetus IBM supercomputer

    ANL ALCF Theta Cray supercomputer

    ANL ALCF Cray Aurora supercomputer

    ANL ALCF MIRA IBM Blue Gene Q supercomputer at the Argonne Leadership Computing Facility

    HPC is now a principal research tool in new fields such as genomics, which perhaps lack some of the computing culture ingrained in certain older disciplines. Moreover, researchers tackling problems in machine learning, for example, constitute a new community. This creates a strong incentive to make HPC more immediately approachable to users so as to reduce the amount of time spent preparing code and establishing migration protocols, and thus hasten the start of research.

    Singularity, to this end, promotes strong mobility of compute and reproducibility due to the framework’s employment of a distributable image format. This image format incorporates the entire software stack and runtime environment of the application into a single monolithic file. Users thereby gain the ability to define, create, and maintain an application on different hosts and operating environments. Once a containerized workflow is defined, its image can be snapshotted, archived, and preserved for future use. The snapshot itself represents a boon for scientific provenance by detailing the exact conditions under which given data were generated: in theory, by providing the machine, the software stack, and the parameters, one’s work can be completely reproduced. Because reproducibility is so crucial to the scientific process, this capability can be seen as one of the primary assets of container technology.

    ALCF users have already begun to take advantage of the service. Argonne computational scientist Taylor Childers (in collaboration with a team of researchers from Brookhaven National Laboratory, LBNL, and the Large Hadron Collider’s ATLAS experiment) led ASCR Leadership Computing Challenge and ALCF Data Science Program projects to improve the performance of ATLAS software and workflows on DOE supercomputers.

    CERN/ATLAS detector

    Every year ATLAS generates petabytes of raw data, the interpretation of which requires even larger simulated datasets, making recourse to leadership-scale computing resources an attractive option. The ATLAS software itself—a complex collection of algorithms with many different authors—is terabytes in size and features manifold dependencies, making manual installation a cumbersome task.

    The researchers were able to run the ATLAS software on Theta inside a Singularity container via Yoda, an MPI-enabled Python application the team developed to communicate between CERN and ALCF systems and ensure all nodes in the latter are supplied with work throughout execution. The use of Singularity resulted in linear scaling on up to 1024 of Theta’s nodes, with event processing improved by a factor of four.

    “All told, with this setup we were able to deliver to ATLAS 65 million proton collisions simulated on Theta using 50 million core-hours,” said John Taylor Childers from ALCF.

    Containerization also effectively circumvented the software’s relative “unfriendliness” toward distributed shared file systems by accelerating metadata access calls; tests performed without the ATLAS software suggested that containerization could speed up such access calls by a factor of seven.

    While Singularity can present a tradeoff between immediacy and computational performance (because the containerized software stacks, generally speaking, are not written to exploit massively parallel architectures), the data-intensive ATLAS project demonstrates the potential value in such a compromise for some scenarios, given the impracticality of retooling the code at its center.

    Because containers afford users the ability to switch between software versions without risking incompatibility, the service has also been a mechanism to expand research and try out new computing environments. Rick Stevens—Argonne’s Associate Laboratory Director for Computing, Environment, and Life Sciences (CELS)—leads the Aurora Early Science Program project Virtual Drug Response Prediction. The machine learning-centric project, whose workflow is built from the CANDLE (CANcer Distributed Learning Environment) framework, enables billions of virtual drugs to be screened singly and in numerous combinations while predicting their effects on tumor cells. Their distribution made possible by Singularity containerization, CANDLE workflows are shared between a multitude of users whose interests span basic cancer research, deep learning, and exascale computing. Accordingly, different subsets of CANDLE users are concerned with experimental alterations to different components of the software stack.

    CANDLE users at health institutes, for instance, may have no need for exotic code alterations intended to harness the bleeding-edge capabilities of new systems, instead requiring production-ready workflows primed to address realistic problems,” explained Tom Brettin, Strategic Program Manager for CELS and a co-principal investigator on the project. Meanwhile, through the support of DOE’s Exascale Computing Project, CANDLE is being prepared for exascale deployment.

    Containers are relatively new technology for HPC, and their role may well continue to grow. “I don’t expect this to be a passing fad,” said Riley. “It’s functionality that, within five years, will likely be utilized in ways we can’t even anticipate yet.”

    See the full article here .

    five-ways-keep-your-child-safe-school-shootings

    Please help promote STEM in your local schools.

    Stem Education Coalition

    Founded on December 28, 2006, insideHPC is a blog that distills news and events in the world of HPC and presents them in bite-sized nuggets of helpfulness as a resource for supercomputing professionals. As one reader said, we’re sifting through all the news so you don’t have to!

    If you would like to contact me with suggestions, comments, corrections, errors or new company announcements, please send me an email at rich@insidehpc.com. Or you can send me mail at:

    insideHPC
    2825 NW Upshur
    Suite G
    Portland, OR 97239

    Phone: (503) 877-5048

     
  • richardmitnick 6:59 am on April 23, 2017 Permalink | Reply
    Tags: , , , , , Singularity   

    From Science Alert: “Physicists Say They’ve Found a Way to Detect Naked Singularities… if They Exist” 

    ScienceAlert

    Science Alert

    21 APR 2017
    FIONA MACDONALD

    1
    u3d/Shutterstock.com

    Black holes are weird: insanely dense objects that are crammed into such a small space they cause space-time to distort and the laws of physics to break down into a singularity.

    Fortunately, the Universe shields us from this weirdness by wrapping black holes in event horizons. But now, physicists say they’ve found a way we could detect something even more extreme – a naked singularity – and most likely bend the laws of physics in the process.

    “A naked singularity, if such a thing exists, would be an abrupt hole in the fabric of reality – one that would not just distort space-time, but would also wreak havoc on the laws of physics wherever it goes and lead to a catastrophic loss of predictability,” explains Avaneesh Pandey for IB Times.

    If that sounds a little too confronting, don’t worry, this whole study is purely theoretical, and is hinged on one very big assumption – that naked singularities actually exist in our Universe, something that scientists have never confirmed.

    But according to Einstein’s theory of general relativity at least, and our best computer models to date, naked singularities are possible.

    So, what are they? A singularity can form when huge stars collapse at the end of their lives into regions so small and dense, physics as we know it fails to explain what could happen there.

    There are two general laws of physics that govern our understanding of reality: quantum mechanics, which explains all the small stuff, such as the behaviour of subatomic particles; and general relativity, which describes the stuff we can see, such as stars and galaxies.

    When applied to singularities, both these schools of thought predict different and incompatible outcomes.

    And we’ve never really had to deal with that conundrum, because all the singularities we know of are inside black holes, wrapped in an event horizon from which not even light can escape – or at the very birth of our Universe, shrouded by radiation we can’t see past. Out of sight, out of mind, right?

    But naked singularities are theoretical singularities that are exposed to the rest of the Universe for some reason.

    Below you can see an illustration of a black hole wrapped in its event horizon (dotted line) on the left, and a naked singularity on the right. The arrows indicate light, which would be able to escape a naked singularity, but not a black hole.

    2
    Sudip Bhattacharyya/Pankaj Joshi

    Assuming they do exist, the big question then is how would we be able to distinguish a naked singularity from a regular black hole, and this is where the new study comes in.

    Researchers from the Tata Institute of Fundamental Research in India have come up with a two-step plan based on the fact that singularities, as far as we know, are rotating objects, just like black holes.

    According to Einstein’s theory of general relativity, the fabric of space-time in the vicinity of any rotating objects gets ‘twisted’ due to this rotation. And this effect causes a gyroscopic spin and makes the orbits of particles around the rotating objects ‘precess’, or change their rotational axis.

    You can watch the hypnotic precession of a gyroscope below to see what we mean – its axis is no longer straight:

    3
    LucasVB/WikimediaCommons

    Based on this, the researchers say that we could figure out the nature of a rotating objects by measuring the rate at which a gyroscope precesses – its precession frequency – at two fixed points close to the object.

    According to the new paper, there are two possibilities:

    1. The precession frequency of the gyroscope changes wildly between the two points, which suggests the rotating object in question is a regular black hole.
    2. The precession frequency changes in a regular, well-behaved manner, indicating a naked singularity.

    Obviously getting a gyroscope close enough to a black hole to perform these experiments isn’t exactly easy.

    But that’s okay, because the team has also come up with a way to observe the same effect from here on Earth – measuring the precession frequencies of matter falling into either black holes or naked singularities using X-ray wavelengths.

    “This is because the orbital plane precession frequency increases as the matter approaches a rotating black hole, but this frequency can decrease and even become zero for a rotating naked singularity,” the team’s press release explains.

    Again, we have to make it clear that all of this is wildly speculative at this time – we have never found any candidate naked singularities, and we’re only just beginning to truly understand regular black holes.

    It’s also worth noting that last week, another team of researchers suggested that even if naked singluarities exist, strange quantum effects could keep them hidden from us.

    So there’s definitely no consensus right now on whether we’ll ever get the chance to study naked singularities.

    And that’s not a terrible thing for now, because are we really ready to observe what goes on at the edge of our Universe?

    Maybe, in our lifetime, we’ll find out.

    The research has been published in Physical Review D.

    See the full article here .

    Please help promote STEM in your local schools.

    STEM Icon

    Stem Education Coalition

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel
%d bloggers like this: