In July 2017 I left ANSYS, after four years on parallel solvers for computational fluid dynamics, and joined Shell as a senior C++ developer. I built backend features for a cloud-native application that brings large-scale seismic processing, before and after stacking, to a geoscientist’s web browser.
On paper it looked like a jump from one industry to another. It was the move that turned me from an engineer who writes software into a software engineer, and I made it for four reasons.
The same physics in a new field
Seismic data is the record of waves. A source sends sound into the ground, the layers below reflect it, and receivers at the surface record the echoes. A reflection that arrives at time t₀ straight below the source arrives later at a receiver farther away, along the hyperbola t² = t₀² + x²/v², and stacking adds up the traces along those curves so that the reflections stand out from the noise.
That is the world I came from. Compressible flow is wave propagation too: the FDV method I worked on through my master’s and Ph.D. is built for equations that carry waves and shocks, and my Ph.D. years included work on unsteady turbulent flows and acoustics, down to testing boundary conditions with an acoustic pulse in a box: a constant-pressure boundary, a characteristic boundary and an adiabatic wall. At Shell my job was the software around the processing, not the geophysics, but I understood what the data meant and why it had to be handled the way it was.
Data at a bigger scale
At ANSYS the hard problem was distributing one simulation: splitting a mesh over thousands of processes and keeping them busy, up to more than 100,000 cores on Oak Ridge’s Titan supercomputer. At Shell the hard problem was the data. The backend loaded terabytes of seismic data into memory across a Linux HPC cluster, so that it could be stacked and displayed on the fly, for many users at once.
That is a different kind of scale. A solver run owns its cluster for hours; an interactive application shares it with everyone who opens a project, and each of them expects an answer while they wait.
The full stack
A solver is mostly one program. The Shell application was a system: low-latency C++ libraries for the numerical work, services that talked to each other through protobuf and gRPC, Redis and MongoDB, and a web browser at the other end. I worked across all of it, and some of the hardest bugs I have tracked down lived in the gaps between those parts, where a distributed system fails in ways no single component explains.
That breadth is what I use most today, building risk systems for trading.
Pure software, against my formal education
Every degree I hold is in engineering: aerospace engineering at Cairo University and Georgia Tech, engineering mechanics at Cairo, and mechanical engineering for my Ph.D. At ANSYS I was already a software developer, but of a physics solver, where that education was the point. The Shell role was software engineering, plainly, with no solver at its center, and I took it on purpose.
I had taught myself software the way I learn most things: by reading, by building, and by fixing what I used. In 2016 and 2017 I fixed a casting warning in SWIG and wrote a Protocol Buffers builder for the SCons build system. In May 2018, while at Shell, I scored 98 out of 100 on the IKM C++11 ISO standard assessment, in the top 3%. A formal education in engineering, and a self-taught one in software that reaches the professional top: I have found that combination to be an advantage, not a gap.
What came next
Seismic processing was the last step before quantitative finance. Fifteen months later I joined BP to build quant analytics, and From HPC to quant is the story of that move. The roles of these years are on the HPC software page.