mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-18 12:03:57 +01:00
qp_install_module -> qp_module
This commit is contained in:
parent
5dc7810bde
commit
ebb3d391bd
@ -27,7 +27,7 @@ python:
|
|||||||
script:
|
script:
|
||||||
- ./configure --production ./config/gfortran.cfg
|
- ./configure --production ./config/gfortran.cfg
|
||||||
- source ./quantum_package.rc
|
- source ./quantum_package.rc
|
||||||
- qp_install_module.py install Full_CI Hartree_Fock
|
- qp_module.py install Full_CI Hartree_Fock
|
||||||
- ninja
|
- ninja
|
||||||
- cd ocaml ; make ; cd -
|
- cd ocaml ; make ; cd -
|
||||||
- cd testing_no_regression ; ./unit_test.py
|
- cd testing_no_regression ; ./unit_test.py
|
||||||
|
16
README.md
16
README.md
@ -18,6 +18,8 @@ For more information, you can visit the [wiki of the project](http://github.com/
|
|||||||
* Python >= 2.6
|
* Python >= 2.6
|
||||||
* GNU make
|
* GNU make
|
||||||
* Bash
|
* Bash
|
||||||
|
* Blast/Lapack
|
||||||
|
* unzip
|
||||||
|
|
||||||
## Standard installation
|
## Standard installation
|
||||||
|
|
||||||
@ -51,19 +53,17 @@ This file contains all the environment variables needed by the quantum package b
|
|||||||
|
|
||||||
### Optional) Add some new module
|
### Optional) Add some new module
|
||||||
|
|
||||||
Usage: qp_install_module.py list (--installed|--avalaible-local|--avalaible-remote)
|
Usage: qp_module.py list (--installed|--avalaible-local|--avalaible-remote)
|
||||||
qp_install_module.py install <name>...
|
qp_module.py install <name>...
|
||||||
qp_install_module.py create -n <name> [<children_module>...]
|
qp_module.py create -n <name> [<children_module>...]
|
||||||
qp_install_module.py download -n <name> [<path_folder>...]
|
qp_module.py download -n <name> [<path_folder>...]
|
||||||
|
|
||||||
For exemple you can type :
|
For exemple you can type :
|
||||||
`qp_install_module.py install Full_CI`
|
`qp_module.py install Full_CI`
|
||||||
|
|
||||||
### 3) Compiling the fortran
|
### 3) Compiling the fortran
|
||||||
|
|
||||||
ninja
|
Just type `ninja` if you are in `$QP_ROOT` (or `ninja -f $QP_ROOT/build.ninja` elsewhere). The compilation will take approximately 3 min.
|
||||||
Just type `ninja` if you are in `$QP_ROOT` (or `ninja -f $QP_ROOT/build.ninja`
|
|
||||||
elsewhere). The compilation will take approximately 3 min.
|
|
||||||
|
|
||||||
If you have set the `--developement` flag in a specific module you can go in
|
If you have set the `--developement` flag in a specific module you can go in
|
||||||
the corresponding module directory and run `ninja` to build only this module.
|
the corresponding module directory and run `ninja` to build only this module.
|
||||||
|
@ -909,7 +909,7 @@ if __name__ == "__main__":
|
|||||||
if module not in d_binaries:
|
if module not in d_binaries:
|
||||||
l_msg = ["{0} is a root module but does not contain a main file.",
|
l_msg = ["{0} is a root module but does not contain a main file.",
|
||||||
"- Create it in {0}",
|
"- Create it in {0}",
|
||||||
"- Or delete {0} `qp_install_module.py uninstall {0}`",
|
"- Or delete {0} `qp_module.py uninstall {0}`",
|
||||||
"- Or install a module that needs {0} with a main "]
|
"- Or install a module that needs {0} with a main "]
|
||||||
|
|
||||||
print "\n".join(l_msg).format(module.rel)
|
print "\n".join(l_msg).format(module.rel)
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""
|
"""
|
||||||
Usage:
|
Usage:
|
||||||
qp_install_module.py create -n <name> [<children_module>...]
|
qp_module.py create -n <name> [<children_module>...]
|
||||||
qp_install_module.py download -n <name> [<path_folder>...]
|
qp_module.py download -n <name> [<path_folder>...]
|
||||||
qp_install_module.py install <name>...
|
qp_module.py install <name>...
|
||||||
qp_install_module.py list (--installed | --available-local)
|
qp_module.py list (--installed | --available-local)
|
||||||
qp_install_module.py uninstall <name>...
|
qp_module.py uninstall <name>...
|
||||||
|
|
||||||
|
|
||||||
Options:
|
Options:
|
Loading…
Reference in New Issue
Block a user