SpaceX2534 open jobs

Software Engineer, Simulation

Software engineeringPosted 3 days agofrom SpaceX's own hiring page

Work type
On-siteUnited States
Experience
5+ years
Pay
$125k–160k a year
Posted
3 days ago
Before you apply: make your resume fit this job

Skills it mentions

Nice to have

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Machine learning, Deep learning, C++ and 9 more

About the job

SpaceX was founded under the belief that a future where humanity is out exploring the stars is fundamentally more exciting than one where we are not. Today SpaceX is actively developing the technologies to make this possible, with the ultimate goal of enabling human life on Mars.

SOFTWARE ENGINEER, SIMULATION

As a software engineer on the NDE & Materials Software team, you will develop, improve, and advance our in-house multi-physics simulation engine—currently supporting high-pressure die casting and investment casting processes—to the next level. This role will expand the engine's capabilities to additional manufacturing domains, including additive manufacturing, welding, structural stress and strain analysis, grain prediction, and more. You will help apply these simulations to increase part yield, reduce inspection burden, and optimize parts across Raptor, Starship, Starlink, and other programs at SpaceX. Strong software engineering skills and experience applying Machine Learning (ML) and AI to simulation solutions are key to success. The team consists of world-class experts in solidification physics, casting, metallurgy, and simulation. Experience with casting or solidification is not required—just a desire to learn, collaborate, and enable the best future for manufacturing at SpaceX.

RESPONSIBILITIES:

  • Own software architecture and quality of simulation software used across SpaceX.
  • Develop and optimize next-generation software that integrates CFD tools, meshing software, and CAD platforms for multi-physics simulations; contribute to transitioning results viewing to web-based 3D tooling.
  • Build advanced interfaces for viewing and interpreting simulation results.
  • Troubleshoot and debug issues related to software integration, meshing quality, and simulation accuracy.
  • Leverage machine learning and AI solutions—such as surrogate modeling and physics-informed neural networks—to accelerate simulations, enhance efficiency, drive novel improvements, increase part yield, reduce inspection burden, and optimize parts.
  • Collaborate with cross-functional teams to implement new features and automate processes.
  • Conduct testing and validation of simulation results using industry-standard benchmarks.

BASIC QUALIFICATIONS:

  • Bachelor's degree in computer science, engineering, math, or STEM discipline; OR 5+ years of professional experience building software in lieu of a degree.
  • 2+ years of software development experience in C++, Python, or other object oriented languages.

PREFERRED SKILLS:

  • Experience working with numerical solvers for complex physics domains (e.g., tools like OpenFOAM, ANSYS Fluent, COMSOL Multiphysics).
  • Strong meshing skills for complex simulations (e.g., tools like NX, ANSYS Meshing, SnappyHexMesh).
  • Demonstrated experience applying machine learning and AI solutions (e.g., surrogate modeling, physics-informed neural networks, Fourier neural operators, neural operators, graph neural networks etc) to accelerate simulations.
  • Experience with visualization tools (ParaView, VisIt, Tecplot) and web-based 3D tooling (e.g., Three.js).
  • Experience with web development frameworks such as Flask, SQLAlchemy, and FastAPI.
  • Front-end experience in React or similar JavaScript UI frameworks.
  • Database experience with PostgreSQL, SQL Server, or similar database technologies.
  • Good understanding of version control, testing, continuous integration, build, deployment, and monitoring.
  • Strong Linux experience.
  • Knowledge of high-performance computing (HPC) environments and parallel processing.
  • Strong problem-solving abilities and attention to detail for optimizing simulation efficiency.
  • Excellent communication skills for documenting code and collaborating in team settings.

ADDITIONAL REQUIREMENTS:

  • Ability to work extended hours and weekends as necessary.
  • Ability to travel to other SpaceX sites as needed (up to 20%).

COMPENSATION AND BENEFITS:

Pay Range:
Level 1: $125,000.00 - $160,000.00
Level 2: $145,000.00 - $195,000.00

Your actual level and base salary will be determined on a case-by-case basis and may vary based on the following considerations: job-related knowledge and skills, education, and experience.

Base salary is just one part of your total rewards package at SpaceX. You may also be eligible for long-term incentives, in the form of company stock or long-term cash awards, as well as potential discretionary bonuses and the ability to purchase additional stock at a discount through an Employee Stock Purchase Plan. You will also receive access to comprehensive medical, vision, and dental coverage, access to a 401(k) retirement plan, short and long-term disability insurance, life insurance, paid parental leave, and various other discounts and perks. You may also accrue 3 weeks of paid vacation and will be eligible for 10 or more paid holidays per year. Employees accrue paid sick leave pursuant to Company policy which satisfies or exceeds the accrual, carryover, and use requirements of the law.

ITAR REQUIREMENTS:

  • To conform to U.S. Government export regulations, applicant must be a (i) U.S. citizen or national, (ii) U.S. lawful, permanent resident (aka green card holder), (iii) Refugee under 8 U.S.C. § 1157, or (iv) Asylee under 8 U.S.C. § 1158, or be eligible to obtain the required authorizations from the U.S. Department of State. Learn more about the ITAR here.  

SpaceX is an Equal Opportunity Employer; employment with SpaceX is governed on the basis of merit, competence and qualifications and will not be influenced in any manner by race, color, religion, gender, national origin/ethnicity, veteran status, disability status, age, sexual orientation, gender identity, marital status, mental or physical disability or any other legally protected status.

Applicants wishing to view a copy of SpaceX’s Affirmative Action Plan for veterans and individuals with disabilities, or applicants requiring reasonable accommodation to the application/interview process should reach out to EEOCompliance@spacex.com. 

Interested?Software Engineer, Simulation at SpaceX

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Machine learning, Deep learning, C++ and 9 more

Interview questions for this job

For the skills the ad mentions: Machine learning, Deep learning, C++, Python, Flask, FastAPI, React, JavaScript, PostgreSQL, SQL, CI/CD and Linux.

1,865 questions
  • Why the sudden fascination with tensors?Machine learning

    This is not an answer to your question, but an extended comment on the issue that has been raised here in comments by different people, namely: are machine learning "tensors" the same thing as tensors in mathematics?

    Now, according to the Cichoki 2014, Era of Big Data Processing: A New Approach via Tensor Networks and Tensor Decompositions, and Cichoki et al. 2014, Tensor Decompositions for Signal Processing Applications,

    A higher-order tensor can be interpreted as a multiway array, [...]

    A tensor can be thought of as a multi-index numerical array, [...]

    Tensors (i.e., multi-way arrays) [...]

    So in machine learning / data processing a tensor appears to be simply defined as a multidimensional numerical array. An example of such a 3D tensor would be $1000$ video frames of $640\times 480$ size. A usual $n\times p$ data matrix is an example of a 2D tensor according to this definition.

    This is not how tensors are defined in mathematics and physics!

    A tensor can be defined as a multidimensional array obeying certain transformation laws under the change of coordinates (see Wikipedia or the first sentence in MathWorld article). A better but equivalent definition (see Wikipedia) says that a tensor on vector space $V$ is an element of $V\otimes\ldots\otimes V^*$. Note that this means that, when represented as multidimensional arrays, tensors are of size $p\times p$ or $p\times p\times p$ etc., where $p$ is the dimensionality of $V$.

    All tensors well-known in physics are like that: inertia tensor in mechanics is $3\times 3$, electromagnetic tensor in special relativity is $4\times 4$, Riemann curvature tensor in general relativity is $4\times 4\times 4\times 4$. Curvature and electromagnetic tensors are actually tensor fields, which are sections of tensor bundles (see e.g. here but it gets technical), but all of that is defined over a vector space $V$.

    Of course one can construct a tensor product $V\otimes W$ of an $p$-dimensional $V$ and $q$-dimensional $W$ but its elements are usually not called "tensors", as stated e.g. here on Wikipedia:

    In principle, one could define a "tensor" simply to be an element of any tensor product. However, the mathematics literature usually reserves the term tensor for an element of a tensor product of a single vector space $V$ and its dual, as above.

    One example of a real tensor in statistics would be a covariance matrix. It is $p\times p$ and transforms in a particular way when the coordinate system in the $p$-dimensional feature space $V$ is changed. It is a tensor. But a $n\times p$ data matrix $X$ is not.

    Read the rest at the sourceFrom Cross Validated: asked by Y. S., answered by amoeba (CC BY-SA 3.0)

  • In softmax classifier, why use exp function to do normalization?Deep learning

    It is more than just numerical. A quick reminder of the softmax: $$ P(y=j | x) = \frac{e^{x_j}}{\sum_{k=1}^K e^{x_k}} $$

    Where $x$ is an input vector with length equal to the number of classes $K$. The softmax function has 3 very nice properties: 1. it normalizes your data (outputs a proper probability distribution), 2. is differentiable, and 3. it uses the exp you mentioned. A few important points:

    1. The loss function is not directly related to softmax. You can use standard normalization and still use cross-entropy.

    2. A "hardmax" function (i.e. argmax) is not differentiable. The softmax gives at least a minimal amount of probability to all elements in the output vector, and so is nicely differentiable, hence the term "soft" in softmax.

    3. Now I get to your question. The $e$ in softmax is the natural exponential function. Before we normalize, we transform $x$ as in the graph of $e^x$:

    If $x$ is 0 then $y=1$, if $x$ is 1, then $y=2.7$, and if $x$ is 2, now $y=7$! A huge step! This is what's called a non-linear transformation of our unnormalized log scores. The interesting property of the exponential function combined with the normalization in the softmax is that high scores in $x$ become much more probable than low scores.

    An example. Say $K=4$, and your log score $x$ is vector $[2, 4, 2, 1]$. The simple argmax function outputs:

    $$ [0, 1, 0, 0] $$

    The argmax is the goal, but it's not differentiable and we can't train our model with it :( A simple normalization, which is differentiable, outputs the following probabilities:

    $$ [0.2222, 0.4444, 0.2222, 0.1111] $$

    That's really far from the argmax! :( Whereas the softmax outputs: $$ [0.1025, 0.7573, 0.1025, 0.0377] $$

    That's much closer to the argmax! Because we use the natural exponential, we hugely increase the probability of the biggest score and decrease the probability of the lower scores when compared with standard normalization. Hence the "max" in softmax.

    From Data Science Stack Exchange: asked by Hans, answered by vega (CC BY-SA 3.0)

  • What are the basic rules and idioms for operator overloading?C++

    Common Operators to Overload

    Most of the work in overloading operators is boilerplate code. That is little wonder, since operators are merely syntactic sugar. Their actual work could be done by (and often is forwarded to) plain functions. But it is important that you get this boilerplate code right. If you fail, either your operator’s code won’t compile, your users’ code won’t compile, or your users’ code will behave surprisingly.

    Assignment Operator

    There's a lot to be said about assignment. However, most of it has already been said in GMan's famous Copy-And-Swap FAQ, so I'll skip most of it here, only listing the perfect assignment operator for reference:

    X& X::operator=(X rhs)
    {
      swap(rhs);
      return *this;
    }
    

    Stream Insertion and Extraction

    Disclaimer
    For overloading << and >> as bitwise shift operators, skip to the section Binary Arithmetic Operators.

    The bitwise shift operators << and >>, although still used in hardware interfacing for the bit-manipulation functions they inherit from C, have become more prevalent as overloaded stream input and output operators in most applications.

    The stream operators, among the most commonly overloaded operators, are binary infix operators for which the syntax does not specify any restriction on whether they should be members or non-members. However, their left operands are streams from the standard library, and you cannot add member functions to those1, so you need to implement these operators for your own types as non-member functions2. The canonical forms of the two are these:

    std::ostream& operator<<(std::ostream& os, const T& obj)
    {
      // Write obj to stream
      return os;
    }
    std::istream& operator>>(std::istream& is, T& obj)
    {
      // Read obj from stream
      if( /* no valid object of T found in stream */ )
        is.setstate(std::ios::failbit);
      return is;
    }
    

    When implementing operator>>, manually setting the stream’s state is only necessary when the reading itself succeeded, but the result is not what would be expected.

    1 Note that some of the << overloads of the standard library are implemented as member functions, and some as free functions. Only the locale-dependent functions are member functions, such as operator<<(long).

    2 According to the rules of thumb, the insertion/extraction operators should be member functions because they modify the left operand. However, we cannot follow the rules of thumb here.

    Function Call Operator

    The function call operator, used to create function objects, also known as functors, must be defined as a member function, so it always has the implicit this argument of member functions. Other than this, it can be overloaded to take any number of additional arguments, including zero.

    Here's an example of the syntax:

    struct X {
        // Overloaded call operator
        int operator()(const std::string& y) {
            return /* ... */;
        }
    };
    

    Usage:

    X f;
    int a = f("hello");
    

    Throughout the C++ standard library, function objects are always copied. Your own function objects should therefore be cheap to copy. If a function object absolutely needs to use data which is expensive to copy, it is better to store that data elsewhere and have the function object refer to it.

    Comparison Operators

    Read the rest at the sourceFrom Stack Overflow: asked by sbi, answered by sbi (CC BY-SA 4.0)

  • How do I modify a string in place?Python

    You can’t, because strings are immutable. In most situations, you should simply construct a new string from the various parts you want to assemble it from. However, if you need an object with the ability to modify in-place Unicode data, try using an io.StringIO object or the array module:

    >>> import io
    >>> s = "Hello, world"
    >>> sio = io.StringIO(s)
    >>> sio.getvalue()
    'Hello, world'
    >>> sio.seek(7)
    7
    >>> sio.write("there!")
    6
    >>> sio.getvalue()
    'Hello, there!'
    >>> import array
    >>> a = array.array('w', s)
    >>> print(a)
    array('w', 'Hello, world')
    >>> a[0] = 'y'
    >>> print(a)
    array('w', 'yello, world')
    >>> a.tounicode()
    'yello, world'
    

    From Python Frequently Asked Questions (PSF License Version 2)

  • Configure Flask dev server to be visible across the networkFlask

    While this is possible, you should not use the Flask dev server in production. The Flask dev server is not designed to be particularly secure, stable, or efficient. See the docs on deploying for correct solutions.

    The --host option to flask run, or the host parameter to app.run(), controls what address the development server listens to. By default it runs on localhost, change it to flask run --host=0.0.0.0 (or app.run(host="0.0.0.0")) to run on all your machine's IP addresses.

    0.0.0.0 is a special value that you can't use in the browser directly, you'll need to navigate to the actual IP address of the machine on the network. You may also need to adjust your firewall to allow external access to the port.

    The Flask quickstart docs explain this in the "Externally Visible Server" section:

    If you run the server you will notice that the server is only accessible from your own computer, not from any other in the network. This is the default because in debugging mode a user of the application can execute arbitrary Python code on your computer.

    If you have the debugger disabled or trust the users on your network, you can make the server publicly available simply by adding --host=0.0.0.0 to the command line:

    $ flask run --host=0.0.0.0
    

    This tells your operating system to listen on all public IPs.

    From Stack Overflow: asked by sa125, answered by Shawn Swaner (CC BY-SA 4.0)

  • What are your main strengths?Behavioural

    The strengths employers look for will depend on the job role. They may ask you questions like:

    • what are your main strengths?
    • why should we hire you?

    You can use specific examples to highlight your strengths, such as:

    • communication - to show you get on with others
    • problem solving - to show that you can find solutions
    • enthusiasm - to show that you have a positive attitude to work
    • flexibility - to show that you can adapt to different ways of working

    Plan your answers around 2 or 3 examples that are relevant to the job. You can back these up with qualifications or training you've done.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Software engineer jobs in the USA (1,765)