mirror of
https://gitlab.com/scemama/QCaml.git
synced 2024-12-22 04:13:33 +01:00
Update toplevel
This commit is contained in:
parent
5f47e96962
commit
209cf324ee
2
Makefile
2
Makefile
@ -10,7 +10,7 @@ default: build
|
||||
|
||||
|
||||
build:
|
||||
top/install_printers.sh > top/lib/install_printers.ml
|
||||
cd top ; ./install_printers.sh > ./lib/install_printers.ml
|
||||
dune build
|
||||
|
||||
build-prof:
|
||||
|
@ -3,7 +3,7 @@
|
||||
#+PROPERTY
|
||||
|
||||
In this example, we write a program that makes a Hartree-Fock
|
||||
caculation. The molecule is read in =xyz= format and a Gaussian
|
||||
calculation. The molecule is read in =xyz= format and a Gaussian
|
||||
atomic basis set in GAMESS format.
|
||||
|
||||
* Header
|
||||
|
@ -34,7 +34,10 @@ let eval_exn str =
|
||||
|
||||
|
||||
let rec install_printers = function
|
||||
| [] -> eval_exn "#require \"lacaml.top\";;"
|
||||
| [] -> eval_exn "
|
||||
#require \"lacaml.top\";;
|
||||
#require \"trexio\";;
|
||||
"
|
||||
| printer :: printers ->
|
||||
let cmd = Printf.sprintf "#install_printer %s;;" printer in
|
||||
eval_exn cmd && install_printers printers
|
||||
|
@ -7,6 +7,7 @@
|
||||
)
|
||||
(modes byte)
|
||||
(libraries
|
||||
trexio
|
||||
compiler-libs.toplevel
|
||||
qcaml
|
||||
)
|
||||
|
@ -1,6 +1,39 @@
|
||||
let printers =
|
||||
[
|
||||
|
||||
"Ao.Basis_gaussian.pp" ;
|
||||
"Ao.Basis.pp" ;
|
||||
"Ci.Determinant.pp" ;
|
||||
"Ci.Determinant_space.pp" ;
|
||||
"Ci.Phase.pp" ;
|
||||
"Ci.Spindeterminant.pp" ;
|
||||
"Ci.Spindeterminant_space.pp" ;
|
||||
"Common.Angular_momentum.pp" ;
|
||||
"Common.Bitstring.pp" ;
|
||||
"Common.Charge.pp" ;
|
||||
"Common.Coordinate.pp" ;
|
||||
"Common.Powers.pp" ;
|
||||
"Common.Range.pp" ;
|
||||
"Common.Spin.pp" ;
|
||||
"Common.Zkey.pp" ;
|
||||
"Gaussian.Atomic_shell.pp" ;
|
||||
"Gaussian.Atomic_shell_pair_couple.pp" ;
|
||||
"Gaussian.Atomic_shell_pair.pp" ;
|
||||
"Gaussian.Basis.pp" ;
|
||||
"Gaussian.Contracted_shell.pp" ;
|
||||
"Gaussian.General_basis.pp" ;
|
||||
"Linear_algebra.Matrix.pp" ;
|
||||
"Mo.Basis.pp" ;
|
||||
"Mo.Class.pp" ;
|
||||
"Mo.Fock.pp" ;
|
||||
"Mo.Frozen_core.pp" ;
|
||||
"Mo.Hartree_fock.pp" ;
|
||||
"Mo.Localization.pp" ;
|
||||
"Particles.Electrons.pp" ;
|
||||
"Particles.Element.pp" ;
|
||||
"Particles.Nuclei.pp" ;
|
||||
"Particles.Zmatrix.pp" ;
|
||||
"Perturbation.Mp2.pp" ;
|
||||
"Simulation.pp" ;
|
||||
]
|
||||
|
||||
let eval_exn str =
|
||||
@ -10,7 +43,10 @@ let eval_exn str =
|
||||
|
||||
|
||||
let rec install_printers = function
|
||||
| [] -> eval_exn "#require \"lacaml.top\";;"
|
||||
| [] -> eval_exn "
|
||||
#require \"lacaml.top\";;
|
||||
#require \"trexio\";;
|
||||
"
|
||||
| printer :: printers ->
|
||||
let cmd = Printf.sprintf "#install_printer %s;;" printer in
|
||||
eval_exn cmd && install_printers printers
|
||||
|
Loading…
Reference in New Issue
Block a user