The problem

I am learning the adjoint method and the open source code available is written in Julia. I wish to run it in a familiar Ipython notebook.

The solution

  • Install Julia: Download here

  • Open terminal and type the following commands

    julia
    using Pkg
    Pkg.add("IJulia")
    
  • Close and reopen terminal after the installation is complete. Now open the notebook with the command

    jupyter notebook
    
  • Inside the notebook from the kernels select Julia image-20220406081339376

References