change scons/templates/

Asked by jamespaul


I want to change umfpack = in

I installed escript by 'sudo apt install python-escript'.Then I can't find

I find it in python-escript_5.3.tar.gz.

So,how can I install escript and could let me to change scons/templates/



Question information

English Edit question
esys-escript Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Adam Ellery (aellery) said :

Hi James,

There are several different ways to install escript on your machine. There are precompiled binaries in the debian and ubuntu repositories which is what is installed when you run the command 'sudo apt install python-escript'. Unfortunatley, as these binaries have already been compiled you cannot modify them. If you would like to install a customised version of escript on your machine then you will need to compile the program from scratch.

To do this, you will need to download and uncompress the tarball "python-escript_5.3.tar.gz" on your drive somewhere. Then, as a preliminary step, you will need to install the various dependencies that escript uses from your repository. If you like, I can tell you which packages you will specifically need to install for your linux distribution (the packages required by the more common distributions are covered in the install guide pdf). Finally, once that has been done, you can compile escript by running:

scons options_file=scons/templates/

in the escript folder. Once compiled, you can run escript by typing


- Adam

Revision history for this message
jamespaul (jamespauljames) said :

Thank you Adam for your detailed teaching.
Thank you so much!It really helps me.

I have run some examples successfully.