I have a PARI/GP script which I want to load and run locally on my laptop inside the notebook. I tried to open a new notebook in the same directory where my script is located, and in the first cell I tried to run this:
%default_mode gp
But, it throws the following error:
UsageError: Line magic function '%default_mode` not found.
How can I run a PARI/GP script locally?