This commit is contained in:
Anthony Scemama 2018-04-30 19:53:30 +02:00
parent ef8ac2a2c5
commit 214c57a1fe
4 changed files with 6 additions and 6 deletions

View File

@ -45,7 +45,7 @@ archive: distclean
rm -rf EZFIO
make.config:
python configure.py
./configure.py
veryclean:
$(MAKE) -C src veryclean

View File

@ -186,7 +186,7 @@ Create a file named ``create_input.py`` with:
.. code-block:: python
#!/usr/bin/python
#!/usr/bin/python2
import sys
EZFIO = "./EZFIO" # Put here the absolute path to the EZFIO directory
@ -229,7 +229,7 @@ Execute the script:
.. code-block:: bash
$ python create_input.py
$ python2 create_input.py
18.0
The printed mass is correct, and a new directory (``Water``) was created with our data:

View File

@ -1,7 +1,7 @@
include version
rule build_generated_ninja
command = python configure.py
command = python2 configure.py
description = Creating generated.ninja
rule run_ninja

View File

@ -116,11 +116,11 @@ rule build_libezfio_irp_a
description = Building libezfio_irp.a
rule build_python
command = cd src ; python create_python.py
command = cd src ; python2 create_python.py
description = Building Python module
rule build_ocaml
command = cd src ; python create_ocaml.py
command = cd src ; python2 create_ocaml.py
description = Building Ocaml module
build {irpf90_files}: compile_irpf90 | {irpf90_sources} {CONFIG_FILES}