2019-02-05 16:53:36 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0, maximum-scale=1.0" >
2019-02-07 10:03:34 +01:00
< title > Installation< / title >
< meta property = "og:title" content = "Installation" / >
< meta name = "twitter:title" content = "Installation" / >
< meta name = "description" content = "Download the source files git clone https: / / github . com / QuantumPackage / qp2 . git Install the dependencies . / configure # tells you what to install . See in INSTALL . rst USE AT YOUR OWN RISK , NO SUPPORT WILL BE PROVIDED . / configure --install something The following libraries are needed for the ocaml package
2019-02-05 16:53:36 +01:00
zlib1g-dev libncurses5-dev pkg-config libgmp3-dev m4 Once the smiling cow appears, load the environment variables">
2019-02-07 10:03:34 +01:00
< meta property = "og:description" content = "Download the source files git clone https: / / github . com / QuantumPackage / qp2 . git Install the dependencies . / configure # tells you what to install . See in INSTALL . rst USE AT YOUR OWN RISK , NO SUPPORT WILL BE PROVIDED . / configure --install something The following libraries are needed for the ocaml package
2019-02-05 16:53:36 +01:00
zlib1g-dev libncurses5-dev pkg-config libgmp3-dev m4 Once the smiling cow appears, load the environment variables">
2019-02-07 10:03:34 +01:00
< meta name = "twitter:description" content = "Download the source files git clone https://github.com/QuantumPackage/qp2.git Install the dependencies ./configure # tells you what to install. See in INSTALL.rst USE AT YOUR OWN RISK, NO …" >
2019-02-05 16:53:36 +01:00
< meta name = "author" content = "" / >
< link href = 'https://quantumpackage.github.io/qp2/favicon' rel = 'icon' type = 'image/x-icon' / >
< meta property = "og:image" content = "https://quantumpackage.github.io/qp2/img/QP2_circle.png" / >
< meta name = "twitter:image" content = "https://quantumpackage.github.io/qp2/img/QP2_circle.png" / >
< meta name = "twitter:card" content = "summary" / >
< meta name = "twitter:site" content = "@quantum_package" / >
< meta name = "twitter:creator" content = "@quantum_package" / >
< meta property = "og:url" content = "https://quantumpackage.github.io/post/installation/" / >
< meta property = "og:type" content = "website" / >
< meta property = "og:site_name" content = "Quantum Package" / >
< meta name = "generator" content = "Hugo 0.53" / >
< link rel = "canonical" href = "https://quantumpackage.github.io/post/installation/" / >
< link rel = "alternate" href = "https://quantumpackage.github.io/qp2/index.xml" type = "application/rss+xml" title = "Quantum Package" >
< link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" integrity = "sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin = "anonymous" >
< link rel = "stylesheet" href = "https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity = "sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin = "anonymous" >
< link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity = "sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin = "anonymous" >
< link rel = "stylesheet" href = "https://quantumpackage.github.io/qp2/css/main.css" / >
< link rel = "stylesheet" href = "https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" / >
< link rel = "stylesheet" href = "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" / >
< link rel = "stylesheet" href = "https://quantumpackage.github.io/qp2/css/pygment_highlights.css" / >
< link rel = "stylesheet" href = "https://quantumpackage.github.io/qp2/css/highlight.min.css" / >
< / head >
< body >
< nav class = "navbar navbar-default navbar-fixed-top navbar-custom" >
< div class = "container-fluid" >
< div class = "navbar-header" >
< button type = "button" class = "navbar-toggle" data-toggle = "collapse" data-target = "#main-navbar" >
< span class = "sr-only" > Toggle navigation< / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / button >
< a class = "navbar-brand" href = "https://quantumpackage.github.io/qp2" > Quantum Package< / a >
< / div >
< div class = "collapse navbar-collapse" id = "main-navbar" >
< ul class = "nav navbar-nav navbar-right" >
< li >
< a title = "Tutorials" href = "https://quantumpackage.github.io/qp2/page/tutorials" > Tutorials< / a >
< / li >
< li >
< a title = "Documentation" href = "https://quantum-package.readthedocs.io" > Documentation< / a >
< / li >
< li >
< a title = "Try in the browser" href = "https://quantumpackage.github.io/qp2/page/try" > Try in the browser< / a >
< / li >
< li >
2019-03-07 17:16:57 +01:00
< a title = "Source code" href = "https://github.com/QuantumPackage/qp2/releases/latest" > Source code< / a >
2019-02-05 16:53:36 +01:00
< / li >
< / ul >
< / div >
< div class = "avatar-container" >
< div class = "avatar-img-border" >
< a title = "Quantum Package" href = "https://quantumpackage.github.io/qp2" >
< img class = "avatar-img" src = "https://quantumpackage.github.io/qp2/img/QP2_circle.png" alt = "Quantum Package" / >
< / a >
< / div >
< / div >
< / div >
< / nav >
< header class = "header-section " >
< div class = "intro-header no-img" >
< div class = "container" >
< div class = "row" >
< div class = "col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1" >
< div class = "post-heading" >
2019-02-07 10:03:34 +01:00
< h1 > Installation< / h1 >
2019-02-05 16:53:36 +01:00
< span class = "post-meta" >
Posted on February 3, 2019
< / span >
< / div >
< / div >
< / div >
< / div >
< / div >
< / header >
< div class = "container" >
< div class = "row" >
< div class = "col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1" >
< article role = "main" class = "blog-post" >
2019-02-07 10:03:34 +01:00
< hr / >
2019-02-05 16:53:36 +01:00
< div style = "position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;" >
< iframe src = "//www.youtube.com/embed/Un69atP2-30" style = "position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" allowfullscreen title = "YouTube Video" > < / iframe >
< / div >
< ol >
< li > Download the source files< / li >
< / ol >
< pre > < code class = "language-bash" > git clone https://github.com/QuantumPackage/qp2.git
< / code > < / pre >
< ol >
< li > Install the dependencies< / li >
< / ol >
< pre > < code class = "language-bash" > ./configure # tells you what to install. See in INSTALL.rst
< / code > < / pre >
< ol >
< li > < em > USE AT YOUR OWN RISK, NO SUPPORT WILL BE PROVIDED< / em > < / li >
< / ol >
< pre > < code class = "language-bash" > ./configure --install something
< / code > < / pre >
< ol >
< li > < p > The following libraries are needed for the ocaml package< / p >
< ul >
< li > zlib1g-dev< / li >
< li > libncurses5-dev< / li >
< li > pkg-config< / li >
< li > libgmp3-dev< / li >
< li > m4< / li >
< / ul > < / li >
< li > < p > Once the smiling cow appears, load the environment variables< / p > < / li >
< / ol >
< pre > < code class = "language-bash" > source quantum_package.rc
< / code > < / pre >
< ol >
< li > Define your compilation configuration file< / li >
< / ol >
< pre > < code class = "language-bash" > ./configure -c ./config/a_file.cfg
< / code > < / pre >
< ol >
< li > Compile with Ninja< / li >
< / ol >
< pre > < code class = "language-bash" > ninja
< / code > < / pre >
< / article >
< ul class = "pager blog-pager" >
< li class = "next" >
2019-02-07 10:03:34 +01:00
< a href = "https://quantumpackage.github.io/qp2/post/hartree-fock/" data-toggle = "tooltip" data-placement = "top" title = "Hartree-Fock calculation" > Next Post → < / a >
2019-02-05 16:53:36 +01:00
< / li >
< / ul >
< / div >
< / div >
< / div >
< footer >
< div class = "container" >
< div class = "row" >
< div class = "col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1" >
< ul class = "list-inline text-center footer-links" >
< li >
< a href = "mailto:quantum.package@gmail.com" title = "Email me" >
< span class = "fa-stack fa-lg" >
< i class = "fa fa-circle fa-stack-2x" > < / i >
< i class = "fas fa-envelope fa-stack-1x fa-inverse" > < / i >
< / span >
< / a >
< / li >
< li >
< a href = "https://github.com/QuantumPackage/qp2" title = "GitHub" >
< span class = "fa-stack fa-lg" >
< i class = "fa fa-circle fa-stack-2x" > < / i >
< i class = "fab fa-github fa-stack-1x fa-inverse" > < / i >
< / span >
< / a >
< / li >
< li >
< a href = "https://twitter.com/quantum_package" title = "Twitter" >
< span class = "fa-stack fa-lg" >
< i class = "fa fa-circle fa-stack-2x" > < / i >
< i class = "fab fa-twitter fa-stack-1x fa-inverse" > < / i >
< / span >
< / a >
< / li >
< li >
< a href = "https://www.youtube.com/channel/UC3a7Yakg9gk36G3HKDIFaYw" title = "Youtube" >
< span class = "fa-stack fa-lg" >
< i class = "fa fa-circle fa-stack-2x" > < / i >
< i class = "fab fa-youtube fa-stack-1x fa-inverse" > < / i >
< / span >
< / a >
< / li >
< / ul >
< p class = "credits copyright text-muted" >
•
2019
•
< a href = "https://quantumpackage.github.io/qp2" > Quantum Package< / a >
< / p >
< p class = "credits theme-by text-muted" >
< a href = "http://gohugo.io" > Hugo v0.53< / a > powered • Theme by < a href = "http://deanattali.com/beautiful-jekyll/" > Beautiful Jekyll< / a > adapted to < a href = "https://github.com/halogenica/beautifulhugo" > Beautiful Hugo< / a >
< / p >
< / div >
< / div >
< / div >
< / footer >
< script src = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.js" integrity = "sha384-/y1Nn9+QQAipbNQWU65krzJralCnuOasHncUFXGkdwntGeSvQicrYkiUBwsgUqc1" crossorigin = "anonymous" > < / script >
< script src = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/contrib/auto-render.min.js" integrity = "sha384-dq1/gEHSxPZQ7DdrM82ID4YVol9BYyU7GbWlIwnwyPzotpoc57wDw/guX8EaYGPx" crossorigin = "anonymous" > < / script >
< script src = "https://code.jquery.com/jquery-1.12.4.min.js" integrity = "sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin = "anonymous" > < / script >
< script src = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity = "sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin = "anonymous" > < / script >
< script src = "https://quantumpackage.github.io/qp2/js/main.js" > < / script >
< script src = "https://quantumpackage.github.io/qp2/js/highlight.min.js" > < / script >
< script > hljs . initHighlightingOnLoad ( ) ; < / script >
< script > renderMathInElement ( document . body ) ; < / script >
< / body >
< / html >