NEQNET: The world of theoretical physics

For physicts by physicists

  • Archives
  • Best posts
  • Contact us
  • How to subscribe
  • Newcomer?
  • Open problems
  • Home
  • APPLIED
  • ASTRO
  • COND-MAT
  • HEP-TH/PH

Subscribe via email

or connect via

215. Scientific computation in the cloud

APPLIED — By Lukas Svec on January 30, 2009 at 9:06 pm
Print This Post Print This Post   Save This Post as PDF

This is a guest blog post by Lukas Svec who is working on high performance computing related problems in the University of Washington together with F. Vila, J. Gardner and J. Rehr. I thought that their work is rather cool and decided to learn more about it (whether we want it or not, cloud computing is the way of the future as Google proves very effectively so far). Please also consider this post as a kind of press release for the code that the group of John Rehr has developed. Dmitry.

Over the past several months, our group in the Department of Physics at the University of Washington has begun looking at ways to implement “cloud computation” schemes through Amazon Web Services (AWS). Our group specializes in scientific computation and has been developing the widely used FEFF codes for calculations of x-ray spectroscopy and electronic structure in molecules and solids. Our aim is to evaluate the usefulness of AWS elastic compute cloud, aka EC2, not only as a means to make our codes more accessible, but also to assess the viability of cloud computation for scientific calculation in general.

215. Scientific computation in the cloud

Cloud computation has become a hot computer science topic over the last few years, but it’s application to scientific computing has been relatively unexplored. However, our preliminary results demonstrate that the cloud-computing paradigm can indeed be extended to high performance scientific computation. Our findings raise the possibility of affordable, user-friendly access to high-end, remotely accessible, virtualized pools of computer clusters and storage. This means that computationally intensive calculations no longer require a group to purchase in-house computer banks with a high front-end cost, not to mention the overhead cost of maintaining the hardware. AWS also provides users with tools that remotely manage and create machine images. These machine images are customizable with virtually any Linux or Windows operating system. For the developer, this means the software can be configured and optimized on a machine image designed for a user to run. As an example, one machine image we made has FEFF compiled and optimized on a Fedora 8 32-bit image. Thus when users access this image, they can immediately start running an optimized version of the code on cloud computer clusters.

Our preliminary findings indicate that the AWS tools Amazon provides are relatively straightforward to use and can be programmed in most commonly used scripting languages. So, how far can we take these tools? After getting the command line FEFF8 code to run on our image, we then added JFEFF as well. JFEFF is a Java based graphical user interface to FEFF. However, running JFEFF remotely through X11 proved to be unsatisfactory. On standard network connections the lag times were significant enough to be annoying. Even on high-speed connections lag-times were noticeable. Thus the cloud is currently not well suited to remotely run graphical programs. On the other hand, the cloud is well suited for client-server model with either a graphical or command line program running on a local machine. Thus currently we are supplementing JFEFF with code to interface with FEFF located on the cloud.

Apart from developing ways to interact with the cloud, we are also exploring ways to make the cloud more attractive to the scientific community by parallelizing our images. Our current batch of scripts include seven simple-to-use commands that launch, connect to, transfer files between, list, and terminate virtual clusters. They are coded in Bash, but they can be implemented in other languages as well. Currently, the user follows a simple procedure for launching and connecting to the cluster, running FEFFMPI, and terminating the clusters after completion. All detailed control of the clusters is handled behind-the-scenes in the scripts. Such simplicity in using FEFFMPI was surprising. Indeed, a user does not need to know anything about MPI to use it effectively. At the moment not many FEFF users make use of the parallelized versions because it is both more difficult to use and requires more sophisticated hardware. Based on these findings, we believe that running on the cloud should make FEFFMPI more popular and accessible to the scientific community. A further implication is that many other scientific applications can also be ported to the cloud.

5 Comments

  1. Keith C says:
    January 31, 2009 at 4:35 am

    Can you explain what is cloud computing in the first place? How is it different from conventional computing using clusters, grids?

    Reply
    • Dmitry says:
      January 31, 2009 at 9:25 pm

      Dear Keith,

      computers in the cloud are basically connected over the Internet, so the time scale of interaction between them is much longer than the one for clusters and grids (connected over fast Ethernet or other fast protocols).

      One example of cloud computing is Google Docs or Gmail, when Java Script code is running on your local machine, while data are stored on Google servers.

      Cheers,
      Dmitry.

      Reply
  2. Lubos Motl says:
    January 31, 2009 at 6:28 pm

    Dmitry, you have anglicized Lukas Svec’s name under the title (see the “c” in Lucas). Since 1988 when we were teaching Sverdlovsk to speak Czech, i was always wondering whether it’s already the right time for all of Russia to be upgraded to the Czech language. When our legions take over again, are you ready? ;-)

    Reply
    • Dmitry says:
      January 31, 2009 at 9:20 pm

      When our legions take over again, are you ready?

      Yesss, my Lord.

      Reply
  3. Justin Riley says:
    May 10, 2010 at 8:08 pm

    For those interested in creating your own HPC cluster on Amazon’s EC2 have a look at StarCluster from MIT:

    http://web.mit.edu/starcluster

    StarCluster allows anyone to create their own HPC cluster configured with Sun Grid Engine queueing system, OpenMPI, password-less ssh, NFS shared /home directories, and EBS mounted (also NFS shared) drives all out-of-the-box.

    Reply

Leave a Comment

Click here to cancel reply.


For LaTeX in your comment, please use tags [tex] and [/tex]. Also, you may use the following HTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

Login with Facebook:

or subscribe me to comments RSS feed

Trackback responses to this post

Related Posts

  • No Related Post
  • Comments
  • Login
  • Search
  • Large non-Gaussianity from axion inflation Large non-Gaussianity from axion inflation
    January 31, 2012 14:01
  • On strong disorder renormalization On strong disorder renormalization
    March 18, 2011 20:03
  • Relaunching NEQNET
    January 20, 2011 21:01
  • Saturday’s photoguess: what does this monkey symbolize?
    June 20, 2009 19:06
  • Dynamics of space storm
    June 19, 2009 12:06
  • Micro: Can 2 question provide a common solution? Black holes, information loss paradox and Ultra high energy cosmic rays. ...
  • James Ph. Kotsybar: SAGITTARIUS A* -- James Ph. Kotsybar Mysteriously cloaked, obscure despite Interior illuminating glare, Long ...
  • cad: The presentation can be found in several formats at http://pirsa.org/08110051/...
  • James Ph. Kotsybar: COMMENTS FOR THIS ENTRY ARE CLOSED -- James Ph. Kotsybar When the general public hears about A breakthrough in...
  • James Ph. Kotsybar: FEARFUL SYMMETRY (from Songs Of Experiments) -- James Ph. Kotsybar Beyond notice, out of sight in dimensions c...
  • James Ph. Kotsybar: OFF THE SCALE -- James Ph. Kotsybar The young lady known simply as Bright, who could travel at speeds f...
  • James Ph. Kotsybar: COSMIC PREDICTION -- James Ph. Kotsybar Betelgeuse is gonna blow! It?s just a matter of time It?s only ten...
  • Leo: Ok I have a question: if a black hole is supermassive, say 100 billion solar mass, let's suppose Alice fells int...
  • James Ph. Kotsybar: HIGHER DIMENSIONS -- James Ph. Kotsybar From point to line to plane to sphere there?s only three dimensi...
  • superkuh: I am glad you are back! No more disapointing weekly refreshings of that monkey....
  • Dmitry: Thank you James, beautiful and inspiring as usual :)...
  • Dmitry: Yes, renormalization group should still be applicable, but crit. exponents have to be different. By the way, if we ...
  • James Ph. Kotsybar: UNIQUE PARAMETERS -- James Ph. Kotsybar There is only one answer to creation. Though we don?t nearly understan...
  • Ariel Amir: Very interesting, thanks. It indeed seems to be very close to what we discuss here. I wonder whether the distributi...
  • Dmitry: Hi Ariel, thanks for the explanation! Let me now discuss a bit the application I had in mind. It has to do w...
    Register,
    login with your NEQNET profile
    or login with Facebook:

    • 226. Top ten open problems in physics
      • 33 comments
    • 353. Vortex line representation. Cauchy invariant
      • 33 comments
    • The very meaning of socialism
      • 26 comments
    • 377. Temporal and spatial dependence of quantum entanglement
      • 26 comments
    • Biocentrism: book review
      • 24 comments

Facebook: Community

Facebook: Your Friends

Google Friend Connect

Links: Journals

Links: Resources

Links: Blogs

  • Lubos Motl's Reference Frame
Copyright © NEQNET: The world of theoretical physics 2008-2011. All Rights Reserved.