You should never be surprised by or feel the need to explain why any physical system is in a high entropy state.
― Brian Greene
For those of you who know me, it’s neither a secret, nor a widely known fact that I’ve gotten some tattoos recently. They aren’t the usual dreck most dudes get (like those tribal ones), but meaningful things to me. Now I have five in total, four of them are science related. One of the things that I wanted was an equation (yeah, I’m a total nerd). The question is what equation do I believe in enough to get permanently inscribed on my skin? A “common” choice for a science tattoo is Maxwell’s equations, and a friend of mine has the Euler equations on this arm from his PhD thesis. This post is about the equation I chose to care enough about to go through with it.
I’ll write the equation in TeX and show all of you a picture, you can make out a little of my other ink too, a lithium-7 atom and a Rayleigh-Taylor instability (I also have my favorite dog’s paw on my right shoulder and the famous Von Karmen vortex street on my forearm). The equation is how I think about the second law of thermodynamics in operation through the application of a vanishing viscosity principle tying the solution of equations to a concept of physical admissibility. In other words I believe in entropy and its power to guide us to solutions that matter in the physical world.
The all-knowing yesterday is obsolete today.
― Jarod Kintz
This is in contrast to much of the mathematical world that often cares about equations that are beautiful, but mean nothing in reality. A lot of the tension is related to following the beauty of Newtonian determinism and its centrality to continuum mathematical physics, and the need to embrace to stochastic nature of the real world. The real world is random and flows along time’s arrow and needs to embrace entropy and uncertainty. Our education and foundational knowledge of the physical world is based on Newton’s simplified view of things (a simplified view that revolutionalized science if not mankind’s understanding and mastery over nature). Newton’s principles can only take us so far, and we are probably reaching to end of its grasp. It is past time to push forward toward incorporating new principles into our model of reality.
Here is the equation in all its glorious mathematical statement,
taking the limit as
. The equation is the time rate of change of a variable determined by a flux balance and a diffusive term where the limit of diffusion is taken to zero, which implies the satisfaction of the second law of thermodynamics implying that entropy increases. OK, but WTF is it all about? So in words the equation is a hyperbolic conservation law with a diffusive right hand side where the coefficient of viscosity goes to a limit of zero. In this limit we find solutions that are physically admissible, that is ones that could exist in the real World. These solutions lead to satisfaction of the second law of thermodynamics, which implies that entropy or disorder monotonically increases in time. The second law can be viewed as the thing that gives time a direction (time’s arrow!), and without the increase of entropy, time can flow equally well forward or backward, that is being symmetric. We know time flows forward in the real world we all live in, so we want that (or at least I want that, and believe you should too).
lot of effort is spent studying the equations of inviscid flow, flow without dissipative forces most commonly the Euler equations. This form of equation is studied a lot because it is so pure. One can really get some awesomely beautiful mathematics out of it. Commonly the math leads to some great structure by studying these systems through their Hamiltonian and its evolution. Unfortunately, this endeavor while beautiful and hard has no physical merit whatsoever. No physical system really adheres to this Hamiltonian structure (except perhaps isolated systems of very small scale, and I really don’t give a much of a shit about these). They are seductive, pretty and almost without any physical utility. I care about stuff that appears in nature.
The important thing for equations to represent is physical reality (unless you’re doing math for math’s sake). As Wigner pointed out, mathematics has an incredible, almost mystic capacity to model our reality as he says is unreasonably effective. Exploiting this power should be a privilege we exercise whenever possible. In that vein the equations that connect to reality should be favored. In many cases inviscid equations are incredibly useful for modeling, but an important caveat should be exercised, the solutions to the inviscid equations that are favored are those associated with the presence of viscosity. These solutions are found through the application of an asymptotic principle, vanishing viscosity. The application of vanishing viscosity provides a route for these equations to satisfy the second law of thermodynamics, and its demands for increasing disorder.
These principles actually don’t go far enough in distinguishing themselves from inviscid dynamics associated with Hamiltonian systems. Let me explain how they need to go even further. A couple of the most profound observations associated with fluid dynamics are associated with shock waves and turbulence, and share a remarkable similarity (it might be argued that both are inevitable through dimensional similarity arguments!). For shock waves the amount of dissipation occurring via the passage of a shock is proportional to the size of the jump in the variables across the shock cubed (Bethe came up with this in 1942). For turbulence the amount of dissipation is a high Reynolds number flow is proportional to the size of the velocity variation cubed (Kolmogorov came up with this in 1941). Both relations are independent of the specific value of the molecular viscosity.
What people resist is not change per se, but loss.
― Ronald A. Heifetz
These relations are profound in their implications, which are not intuitively obvious upon first seeing it. The dissipation rate being independent of the value of viscosity means that the flow contains something that approaches a sing
ularity. These singularities are called shock waves and have no name at all in turbulence because we don’t know what they are. These singularities are the mystery of turbulence and they are surely ephemeral as they are important. In other words we don’t see the turbulent singularities like we see shocks, but they must be there. Moreover the supposed equations of turbulence, the incompressible Euler equations don’t appear to contain obviously singularity producing features. This whole issue has produced an utterly stagnant scientific endeavor of immense practical importance.
Of course what is usually not covered is the horribly degenerate and unphysical nature of the incompressible Euler or Navier-Stokes equations. The key term is incompressible, which is intrinsically unphysical and removes sound waves from the system making their propagation speed infinite. What if these sound waves, which are always present, contain the essence of what drives dissipation in turbulent system. Incompressibility also removes thermodynamics from the equations and can only be derived from the compressible Navier-Stokes by considering the flow to be adiabatic. Turbulence in its essential character is non-adiabatic and intrinsically dissipative. Anyone see the problem(s)? Perhaps its time to start considering that the lack of progress in turbulence is exposing fundamental flaws in our modeling paradigm.
I would posit that we are trying to solve this monumentally important problem with a set of equations that we have systematically crippled. These equations were posed during an era where the fundamental issues discussed above were not well known. There really isn’t an excuse today. Could our lack of progress with turbulence be completely related to focusing on the wrong set of equations (yes!)?
Let’s dig just a bit deeper on the philosophical implications of the Bethe’s and Kolmogorov’s relations for dissipation of energy. Both of these relations also imply a satisfaction of the second law of thermodynamics by these systems. The limiting value for the satisfaction of the second law is not simply the inequality at zero, but rather an inequality for a finite value of dissipation. This finite value of dissipation is directly related to the large-scale flows structure and quantitatively proportional to the cube of the variations in the inertial range. Thus, the limit of zero dissipation is not physically relevant, the limit is a finite amount of dissipation set by the large scales of the system of interest. This deepens the implications associated with any study of completely dissipation-free dynamics being utterly unphysical. The dissipation-free system is separated from the real world by a finite and non-vanishing distance.
This feature of the physical world should be reflected in how we numerically model things (this is my philosophical point of view). It gets to the core of why I chose the equation to ink on my skin. A lot of numerical work is focused on trying to remove every single bit of dissipation from the method while maintaining stability. This mantra is tied to the belief that dissipation is bad and one is fundamentally interested in the numerical solution to the dissipation-free Euler equations. I believe this is utterly foolhardy and unproductive. The dissipation-free Euler equations are close to useless. The key dissipative relations I’ve introduced above tell us that the dissipation is never zero, but rather non-zero in a very specific way that is irreducible.
Some would argue that this non-zero dissipation should be the target of modeling, and the numerical methods should be pure and not intrude into the modeling. I believe that this perspective is laudable, foolish and unworkable practically. I favor more holistic approaches that combine modeling and numerical methods into a seamless package. This approach works wonderfully well in numerical methods for shocks, and produces a set of methods that revolutionized the field of computational fluid dynamics (CFD). I believe the grasp of these methods is far greater and extends into turbulence through implicit large eddy simulation (ILES). ILES implies strongly that the turbulence modeling is strongly addressed by techniques that practically solve compressible flows in the vanishing viscosity limit.
Generally for turbulence this approach has not been taken and the reason is clear to see. Turbulence modeling remains to this day a dominantly empirical activity. The core reason for this is the comment above about knowing what the dissipative structures are in turbulence. In compressible flows we know that shock waves are the thing to focus on and where the invariant dissipation occurs. Shocks are the hard thing to compute numerically, and we know what to do. For turbulence the same things cannot happen and the result is empirical modeling without targeted numerical methods. What remains is a philosophy that drives numerical methods to be innocuous, and allow the modeling to hold sway. The problem is that the modeling is blind to what the real physics is doing and the precise mechanisms to connect the large-scale flow to the dissipation of energy.
Nothing limits you like not knowing your limitations.
― Tom Hayes
As far as the tattoos are concerned, I haven’t decided yet if I’m getting more ink or not (its probably a yes). Maybe I’ll keep to the theme of science on the left side of my body and personal meaning on the right side of my body. Ideas are hatching, and I need to mind my tendency towards obsessive-compulsive behavior.
The law that entropy always increases holds, I think, the supreme position among the laws of Nature. If someone points out to you that your pet theory of the universe is in disagreement with Maxwell’s equations — then so much the worse for Maxwell’s equations. If it is found to be contradicted by observation — well, these experimentalists do bungle things sometimes. But if your theory is found to be against the second law of thermodynamics I can give you no hope; there is nothing for it but to collapse in deepest humiliation.
— Sir Arthur Stanley Eddington
Wigner, Eugene P. “The unreasonable effectiveness of mathematics in the natural sciences. Richard courant lecture in mathematical sciences delivered at New York University, May 11, 1959.” Communications on pure and applied mathematics 13.1 (1960): 1-14.
Bethe, H. A. “On the theory of shock waves for an arbitrary equation of state.” Classic papers in shock compression science. Springer New York, 1998. 421-495.
Kolmogorov, Andrey Nikolaevich. “Dissipation of energy in locally isotropic turbulence.” Akademiia Nauk SSSR Doklady. Vol. 32. 1941.
Grinstein, Fernando F., Len G. Margolin, and William J. Rider, eds. Implicit large eddy simulation: computing turbulent fluid dynamics. Cambridge university press, 2007.
was “play”. In talking about what the concept of play means to me first in the context of childhood then adulthood I had several epiphanies about the health and vitality of our current society and workplaces. Basically, the concept of play is under siege by forces that find it too frivolous to be supported. Societally we have destroyed play as a free wheeling unstructured activity for children, and crushed the freedom to play at work under the banner of accountability. We are poorer and more unhappy as a result and it is yet another manifestation of unremitting fear governing our behaviors.
The greatest realization in the dialog came when I took note of how I used to play at work and all the good that came from it. The times when I have been the most productive, creative and happy with work have all been associated with being allowed to play at work. By play I mean allowed to experiment, test, and create new ideas in an environment allowing for failure and risk (essentially by placing very few constraints and limitations on what I was doing). The key was the creation and commitment to very high level goals and the freedom to pursue these goals in a relatively free way. The key is the pursuit of the broad objectives using methods that are not strongly prescribed a priori.
We end up working extremely hard across everything in society to make sure that bad things don’t ever happen. We put all sorts of measures in place to prevent bad things. We don’t seem to have the capacity to realize that bad things just happen and it’s a fact of life. We spend so much effort trying to manage all the risks that life is just passing us by. This manifests itself with the destructive belief that the government’s job is to protect all of us from bad things (like terrorism). We are willing to give up freedom, accomplishment and productivity to assure a slight increase in safety. Often the risks we are sacrificing so much to diminish are vanishingly small and trivial (like terrorism), yet we are making this trade over and over again. We are allowing ourselves to drown in a sea of safety measures against risks that are inconsequential. The aggregate cost of all of these risk control measures exceeds the value of almost any of the measures. It represents the true threat to our future.
In economic policy it is well known that monopolies are bad. They are bad for everyone except the people who own and control those monopolies (who invest a lot in retaining their power!). They are drags on growth, innovation and progress. They are the essence of the too big to fail problem. In a very real sense the same thing is happening in science. We are being swallowed by monopolistic ideas. We are too invested in a variety of traditional solutions to problem (which solve traditional problems). Innovation, invention and progress are falling victim to this seemingly societal-wide trend.
Looking at our soon to be, if not already ancient codes based on ancient technology I asked how often did we build a new code in the old days? Sure as could be the answer was radically different than today’s world, we build new codes every five to seven years. FIVE TO SEVEN YEARS!!!! Today we are sheparding codes that are at least a quarter of a century old, and nothing new is in sight. We just continue to accrete capability on to these old codes horribly constrained by sets of decisions increasingly divorced from today’s reality, technology and problems. It is a recipe for failure, but not the good kind of failure, the kind of failure that crushes the future slowly and painlessly like the hardening of the arteries.
Perhaps no greater emblem of our addiction to shortsightedness exists than the crumbling infrastructure. The roads, bridges, electrical grids, airports, sewers, water systems, power plants,… that our core economy depend upon are in horrible shape and no will exists to support them. We can’t even conjure up the vision to create the infrastructure for the new century and leave it to privatized interests that will never deliver it. We are setting ourselves up to be permanently behind the rest of the World. We have no pride as a nation, no leadership and no vision of anything different. We just have short-term narcissistic self-interest embodied by the low tax, low service mentality. The same dynamic is happening at work.
undations, we have stale old codes, models, methods and algorithms that ill-serve our potential. The application of too big to fail to our codes is creating a slow-motion failure of epic proportions. The basis for the failure is the loss of innovation and a sense that we are creating the future. Instead we simply curate the past. Our best should be ahead of us and any leadership worth its salt would demand that we work steadfastly to seize greatness. In modeling and simulation the creation of new codes should be an energizing factor creating effective laboratories for innovation, invention and creativity providing new avenues for progress.
more apt description. There is frightfully little investigation or intellectual engagement
Societally, the concept of too big to fail applies to the banking and financial institutions that almost destroyed the World economy eight years ago. We demonstrated that they were both too big to fail and too big and too powerful to change thus remaining a ticking time bomb. It is only a matter of time before the same issues present in 2007 erupt again and wreck havoc on the World economy. All the evidence needed to energize real change is available, but there is simply too much money to be made, and greed is more powerful than common sense. I realized that our application codes and computers probably properly deserve to be thought of in exactly the same light, they are too big to fail too. This character is slowly and steadily poisoning the environment we live in and any discussion of different intellectual paths is simply forbidden.
As I said, the depth of intellectual ownership of these very codes is diminishing with each passing day. The essential aspects of these code’s utility and success in our application areas is based on deep knowledge and intense focus of talented individuals. The talent and skills leading to successful codes are difficult to develop and maintain; the skills must be developed by simultaneously pushing several envelopes: the applications, the models, methods to solve models, and computer science-programming. Today we really only focus on the computer science-programming and simply sort all the other details. Rather than continually reinvest in people and science, we are creating an environment where codes are curated. This state is actually a recipe for catastrophic failure rather than glorious success. The path forward should be adaptive, flexible and agile; instead the path is a lumbering goliath and viewed as a fait accompli.
humans who understand the basis of models and how these models are solved. When we curate code this key connection is lost. We lose the fundamental nature of the model as our impression of nature, rather than its direct image. We use models as a way of explaining nature rather than a substitute for the natural World. This tie is being systematically undermined by the way we compute today and results in a potentially catastrophic loss of humility. Such loses of humility ultimately produce reactions that are unpleasant and damaging.
We are creating a program that will collide with reality leaving a broken and limping community in its wake. It has a demonstrated track record of not learning from past mistakes, producing a plan for moving ahead that is devoid of innovation and deep thought. Today’s path forward is solely predicated on the idea that we must have the fastest computer rather than the best computing. It is the epitome of bigger and more expensive is better, rather than faster, smarter and more agile. Perhaps more damaging is a perspective that the problems we face are already solved save the availability of more computer power. We will end up eviscerating the very communities of scientists that are the lifeblood of modeling and simulation. The program may be a massive mistake and no one is questioning any of it.

One scene in “The Big Short” stands out as helping define the depth of the dysfunction in the system, the trip to Moody’s, the rating agency for the securities. The securities created by the banks were incredibly unstable and literally junk, yet the ratings agencies kept putting their top seal of approval on them, AAA. When pressed on the matter, the woman representing Moody’s said, “if we don’t give them the rating they want, the guy down the street will, we want the business.” The people watching the system for fraud were completely in bed with the crooks. The reality is that this practice and problem are everywhere. It is true where I’ve worked, it is obviously true in politics, and sports, and education, and… Our whole nation is living in the Golden Age of Bullshit. This serves no purpose but perpetuating the existing structures of power at the cost of progress, quality and ethical behavior.
cause being responsible will just get you replaced by a more corrupt or corruptible irresponsible person. The sorts of peer reviews that we see at work are the same thing. Everything is graded on a curve, and a bad failing grade is never allowed. Failure isn’t allowed, if it comes up the messenger is “shot” (usually by being dismissed from the peer review). We never confront any problems until they blow up in our faces. This tendency basically allows progress to grind to a proverbial halt. Failures are the fuel for progress and when you disallow failure, you disallow progress.
of bullshit responses that hamper us today. If everyone is an expert then no one is an expert. If people don’t like the information they get, they find someone else who gives them a different answer. As a result science in our society is in decline. Actual science is being hurt, and science’s role in society is similarly degrading. Look at the whole anti-vaxxer movement, which has absolutely no basis, but lots of proponents. We get ideas where any risk at all is unacceptable and we allow progress to grind to a complete halt. Failure, problems and the identification of things that need to be improved creates the basis of valuable work. We have structurally destroyed mechanisms for doing this by our addiction to praise and inability to identify and confront problems while they are small.
management provides. Progress often comes from applying new thinking to old problems. One of the key things to do is identify and take on unsolved problems, another name for failures. Making progress is often the antithesis of things that can be managed in today’s common fashion, so progress makes way for management satisfaction. The key is the project management is simply a tool, and a useful one at that. It is not a recipe for success or an alternative to thinking deeply and differently.
Even with a day off, work last week really, completely sucked. I got to spend very little time doing my daily habit of writing in a focused manner. Every day at work was a pain and ended the week with hosting a group of visitors who are responsible for part of the new exascale computing initiative. Among the visitors were a few people whom I have history with both good and bad. If you’ve read this blog you know that I’m not a fan of the exascale computing imitative. Despite this, I was expected to be on my best behavior (and I think that I was). It was not the time, nor place to debate the program’s goals or wisdom (to be honest I’m not sure what the right time is). It’s pretty clear to me that there hasn’t been much of any debate or thought put into the whole thing. That’s a discussion for a different day.
I also noted the distinct air of control from the visitors and discussion of their colleagues who run our programs. The programs want to give us very little breathing room to exercise our own judgment on priorities. They want to define and narrow our focus to their priorities. Given the lack of technical prowess from those running things it’s dangerous. Awful programs like exascale are the direct result of this sort of control and lack of intellectual thought running research. Everything is politically engineered and nothing is really composed of elements that are designed to maximize science. The result is a long-term malaise in research, progress and science we are suffering from. Ultimately, the system we are laboring under will result is less growth and prosperity for us all. It is the inevitable result of basing our decisions on fear and risk avoidance instead of hope, faith and boldness.
Because our program is all about stockpile stewardship the meeting was held in a classified setting. This means no electronics and a requirement that I unplug. It might be a good excuse to get some reading done, but I had to look like I was paying attention all day. So I took copious notes. Not much interesting happened so most of the notes were to self and captured my thoughts, reflections and perspectives. This alone made the entire experience valuable from a personal-professional perspective. I managed to digest a lot of my backlog of thinking that the well-connected World distracts you from constantly. I had some well-structured time with my own thoughts and that’s a really good thing.
Aside from the deeper thoughts I also realize that it pays to think in many different ways even from a mechanical point of view. I try walking each day along with a walking meditation, followed by free association. It ends up being a very effective way to self-brainstorm. I keep a notebook for each day in a cloud app. There is this blog, which allows for a freeform prose, but done in an electronic form. Writing things down on paper has subsided a lot, and last week I rediscover the virtue of that medium albeit by the nature of the circumstances. For a long time I kept a pad of lined post-it notes in my car since a lot of good ideas would just come to me driving to and from work. It might be good to force myself to use paper alone more often. By the power of cameras and remarkable text recognition the paper can go directly into my electronic notebook any way.
contempt. Our overlords encourage us to ignore the carnage they are subjecting the world to, but it is there hidden in plain sight. Today we live in a coarse and belligerent culture that threatens to undermine everything good. I’m not talking about the sort of moral decay social conservatives would point to. I’m talking about the fundamental rewards, checks and balances that encourage an environment of selfish and greedy behavior. At the same time these same forces work to undermine every effort to pay attention to larger societal, organizational and social imperatives that collectively make everything better. We act selfish in the service of maintaining the power of others, and avoiding the sort of collective service that raises everyone.
We really don’t have to have our collective act together to compete. It’s all fear and no benefit of accomplishing great things, and we aren’t. We just have the requisite reduction in freedom in response to this fear without any of the virtues. This dismal state of affairs results in a virtual emptying of meaning from work that used to be important. I work at a place where work ought to have value and importance, yet we’ve managed to ruin it.
gment to feel truly empowered at work. All the control and accountability at work is primarily disempowering employees and sucking all the meaning from work. I ought feel an immense amount of importance to what I do. My management, writ large, is managing to destroy something that ought to be completely easy to achieve. This malaise is something we see nationally as the general sense that your work has little larger meaning is used to crush people’s wills. Instead of empowering people and achieving their best efforts, we see control used to minimize contributions and destroy any attempt toward deeper meaning. This sense is deeply reflected in the current political situation in the World and the broad sweeping anger seen in the populace.
The love affair with corporate governance for science is another aspect of the current milieu that is deeply corrupting science. Our corporate culture is corrupting society as a whole and science is no exception. The greed and bottom line infatuation perverts and distorts value systems and has systematically harshened the cultures of everything it touches. Increasingly, the accepted moral thing to do is make yourself as successful as possible. This includes lying, cheating and stealing if necessary (and you can get away with it). More corrosively it means losing any view of broader social, societal, organizational or professional responsibility and obligation. This undermines collaboration and free exchange of ideas, which ultimately destroys innovation and discovery.
Accountability has been instituted that allows people to ethically ignore the broader context in favor of narrow focus. They are told that doing this is the “right” thing to do, and basically they should otherwise mind their own business. This attitude extends to society as a whole and we are all poorer for it. We keep ideas to ourselves, and the narrowly defined parochial interests of those who pay us. Instead we should operate as engaged and collaborative stewards of our society, organizations or professions. We have adopted a system that encourages the worst in people rather than the best. We should absolutely expect problems to be caused by this culture of selfishness. The symptoms are everywhere and threaten our society in a myriad of ways. The only portion of society that benefits from our present culture is the rich and powerful overlords. These systems maintain and expand their ability to keep their corrupt and poisonous stranglehold on everyone else.
merely to demonstrate rote knowledge; one needs to understand the principles underlying the knowledge. One way to demonstrate the mastery over knowledge is utilize the current knowledge and then extend the knowledge in that area to something new. This gets to the core of our current problem in science, we are not being asked to extend knowledge, and we are asked to curate knowledge. As a result we are losing the ownership that denotes mastery.
tware libraries, and the mapping of all of these to modern computing architectures. Because of the demise of Moore’s law we are exploring a myriad of extremely exotic computing approaches. These exotic computer architectures are causing implementations to become similarly exotic. In a sense my concern is that the difficulty of simply using these computers has the effect of sucking “all the oxygen” from the system and leaves precious little resource behind for any other creative endeavor, or risk taking. As a result we have no real progress being made in any of the activities in modeling and simulation beyond mere implementations.
ls? Or improved methods? Or improved algorithms? The answers to these questions are not uniform by any means. There are times when the greatest need for modeling and simulation is the capacity of the computing hardware. At other times the models, methods or algorithms are the limiting factors. The question we should answer is what is the limiting factor today? It is not computing hardware. While we can always use more computing power, it is not limiting us today. I believe we are far more limited by our models of reality, and the manner in which we create, analyze and assess these models. Despite this lack of need for improved hardware, computing hardware is the focus of our efforts.
time those people go away and the logic and rationale for the code’s form and function begins to fade away. We often find that certain things in the code can never be changed lest the code become non-functional. We are left with something that looks and feels like magic. It works and we don’t know why or understand how it works, but it does.
he space of knowledge is taken off the table and relegated to being purely curated. This full demonstration has the role of providing an important feedback of reality to the work being done. Reality is very good at injecting humility into the system when it is most needed. When the knowledge is curated we rapidly remove important and essential aspects of stewardship. We have immense issues associated with the long-term responsibility of caring for a stockpile. New issues arise that are beyond the set of conditions the systems were originally designed for. All of this needs a fertile intellectual environment to be properly stewarded. We are not doing this today. Instead the intellectual environment is actually being steadily eroded in favor of curating knowledge. In computing, the creation of legacy codes is a key symptom of this environment.
ually undocumented. Many of the tricks are far more obvious and logical to use, and their failure is usually unexplained. Hence the production code works on the basis of tricks of the trade that are often history dependent, and rarely explained, yet utterly essential.
for it is the standard way things unfold. The reason this happens is because creating a new production code is a risky thing. Most of the time the effort fails. The creation of the code requires a good environment that nurtures the effort. If the environment is not biased toward replacing older codes with new codes (i.e., progress and improving technology), the inertia of the status quo will almost invariably win. This inertia is based on the very human tendency to base correctness on what you are already doing. The current answer has a great deal greater propriety than the new answer. In many cases the results of existing codes provide the strongest and clearest mental image of what a phenomena looks like to people utilizing modeling and simulation especially in fields where experimental visuals do not exist.
The path toward better performance in modeling and simulation has focused to an unhealthy degree on hardware for the past quarter century. This focus has been driven to a very large degree by a reliance on Moore’s law. It is a rather pathetic risk avoidance strategy. Moore’s law is the not really a law, but rather an empirical observation that computing power (or other equivalent measures) is growing at roughly a rate of doubling every 18 months. This observation has held since 1965 although its demise is now rapidly upon us. The reality is that Moore’s law has held for far longer than it ever could have been expected to hold, and its demise is probably overdue.
We can almost be certain that Moore’s law will be completely and unequivocally dead by 2020. For most of us its death has already been a fact of life for nearly a decade. Its death during the last decade was actually a good thing, and benefited the computing industry. They stopped trying to sell us new computers every year and unleashed the immense power of mobile computing and unparalleled connectivity. Could it actually be a good thing for scientific computing? Could its demise actually unleash innovation and positive change that we are denying ourselves?
Each of these questions can be answered in a deeply affirmative way, but requires a rather complete and well-structured alteration in our current path. The opportunity relies upon the recognition that activities in modeling and simulation that have been under-emphasized for decades provide even greater benefits than advances in hardware. During the quarter century of reliance on hardware for advancing modeling and simulation we have failed to get the benefits of these other activities. These neglected activities are modeling, solution methods and algorithms. Each of these activities entails far higher risk than relying upon hardware, but also produce far greater benefits when breakthroughs are made. I’m a believer in humanity’s capacity for creation and the inevitability of progress if we remove the artificial barriers to creation we have placed upon ourselves.
If we look at the lost opportunities and performance from our failure to invest in these areas, we can easily see how much has been sacrificed. In a nutshell we have (in all probability) lost as much performance (and likely more) as Moore’s law could have given us. If we acknowledge that Moore’s law’s gains are actually not seen in real applications, we have lost an even greater level. Our lack of taste for failure and unpredictable research outcomes is costing us a huge amount of capability. More troublingly, the outcomes from research in each of these areas can actually enable things that are completely different in character than the legacy applications. There are wonderful things we can’t do today because of the lack of courage and vision. Instead the hardware path we are on almost assures that the applications only evolve in incremental, non-revolutionary ways.
Earlier this week I gave a talk on modernizing codes to a rather large audience at work. The abstract for the talk was based on the very first draft of my Christmas blog post. It was pointed and fiery enough to almost guarantee me a great audience. I can only hope that the talk didn’t disappoint. A valid critique of the talk was my general lack of solutions to the problems I articulate. I countered that the solutions are dramatically more controversial than the statement of the problems. Nonetheless the critique is valid and I will attempt to provide the start of a response here.
ASC is a prime example of failing to label and learn from failures. As a result we make the same mistakes over and over again. We are currently doing this in ASC in the march toward exascale. The national exascale initiative is doing the same thing. This tendency to relabel failures as success was the topic of my recent “bullshit” post. We need failure to be seen as such so that we do better things in the place of repeating our mistakes. Today the mistakes simply go unacknowledged and become the foundation of a lie. Such lies then become the truth and we lose all contact with reality. Loss of contact with reality is the hallmark of today’s programs.
One of the serious problems for the science programs is their capacity to masquerade as applied programs. For example ASC is sold as an applied program doing stockpile stewardship. It is not. It is a computer hardware program. Ditto for the exascale initiative, which is just a computing hardware program too. Science or the stockpile stewardship missions are mere afterthoughts. The hardware focus becomes invariant to any need for the hardware. Other activities that do not resonate with the hardware focus simply get shortchanged even when they have the greatest leverage in the real world.
The beginning of the year is a prime time for such a discussion. Too often the question of importance is simply ignored in lieu of simple and thoughtless subservience to other’s judgment. If I listen to my training at work, the guidance is simple. Do what you’re paid to do as directed by your customer. This is an ethos of obedience and your particular judgment and prioritization is not really a guide. This is a rather depressing state of affairs for someone trained to do independent research; let someone else decide for you what is important, what is a priority. This seems to be what the government wants to do to the Lab, destroy them as independent entities, and replace this with an obedient workforce doing whatever they are directed to do.
An important, but depressing observation about my work currently is that I do what I am supposed to be doing, but it isn’t what is important to be doing. Instead of some degree of autonomy and judgment being regularly exercised in my choice of daily activities, I do what I’m supposed to do. Part of the current milieu at work is the concept of accountability to customers. If a customer pays you to do something, you’re supposed to do it. Even if the thing you’re being paid for is a complete waste of time. The truth is most of what we are tasked to do at the Labs these days is wasteful and nigh on useless. It’s the rule of the day, so we just chug along doing our useless work, collecting a regular paycheck, and following the rules.
The real world is important. Things in the real world are important. This is an important thing to keep in mind at all times with modeling and simulation. We are supposed to be modeling the real world for the purpose of solving real world problems. Too often in the programs I work on this seemingly obvious maxim gets lost. Sometimes it is completely absent from the modeling and simulation narrative. Its lack of presence is palpable in today’s efforts in high performance computing. All the energy is going into producing the “fastest” computers. The United States must have the fastest computer in the World, and if it doesn’t it is a calamity. The fact that this fastest computer will allow us to simulate reality better is a foregone conclusion.
This is a rather faulty assumption. Not just a little bit faulty, but deeply and completely flawed. This is true under a set of conditions that are increasingly under threat. If the model of reality is flawed, no computer, no matter how fast can rescue the model. A whole bunch of other activities can provide an equal or greater impact onto the efficiency of modeling than a faster computer. Moreover the title of fastest computer has less a less to do with having the fastest simulation. The benchmark that measures the fastest computer is becoming ever less relevant to measuring speed with simulations. So in summary, efforts geared toward the fastest computer are not very important. Nonetheless they are the priority for my customer.
The reason for the lack of progress is simple, high performance computing is still acting as if it were in the mainframe era. We still have the same sort of painful IT departments that typified that era. High performance computing is more Mad Men than Star Trek. The control of computing resources, the policy based use and the culture of specialization all contribute to this community-wide failing. We still rely
upon centralized massive computing resources to be the principle delivery mechanism. Instead we should focus energy on getting computing for modeling and simulation to run seamlessly from the mobile computer all the way to the supercomputer without all the barriers we self-impose. We are doing far too little to simply put it at our collective
to be a niche activity, and not fulfill its potential.