Skip to content

zstreeter/CHEM-210-AB-2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 

Repository files navigation

psi

Quantum Chemistry: CHEM 210 A 2021

Python Setup

  • Download Anaconda if you haven't already https://www.anaconda.com/distribution/

    • Make sure conda is installed and in your $PATH by looking at this command's output.

      conda --version

      Can check if $PATH environment variable is pointing to the spot you installed Anaconda via this command:

      echo $PATH
  • Checkout this site for installing Psi4 with Anaconda http://www.psicode.org/psi4manual/1.1/conda.html

    • Before doing anything else, update conda!

      conda update --all
    • Create virtual environment for Psi4

      $ conda create -n Psi4env python=3.7 psi4 psi4-rt -c psi4
    • Now can use this environment with the command

        (base) $ conda activate Psi4env

      and deactivate it with

         (Psi4env) $ conda deactivate
    • To add other packages (e.g. matplotlib) within your new virtual environment issue this command

         (Psi4env) $ conda install matplotlib

      The bare bones Psi4 environment may not have some packages we will use so this may be required if Spyder cannot find the module.

  • If you use an IDE like Spyder, then you need to install Spyder within your virtual environment.

    • So activate your environment like above and then install Spyder

        (Psi4env) $ conda install spyder
    • Now still within your virtual environment invoke spyder.

         (Psi4env) $ spyder

      Now you will be working inside of the Spyder IDE and have everything that's in the Psi4 environment!

  • Another useful IDE and voted number 1 for python is Pycharm. This IDE has a larger learning curve and that usually means it will benefit you in the long run if you adopt this as your main editor. I know most professionals in industry swear by it and I am pretty sure the professional version is free for students!

Unix Setup

  $ sudo port install molden

Windows Setup (Requires Windows 10)

  $ echo "export DISPLAY=:0" >> ~/.bashrc

Now we have a Windows developer setup!

  $ tar -xvf molden_file_name.tar
  1. Go inside molden folder
  $ cd molden_file_name
  1. Type the command
  $ make molden
  1. Now type the command
  $ make install

If you get errors in this process, please let me know.

 (Psi4env) $ conda install -c raimis psi4

Psi4

Slack

Useful Unix/Linux Terminal Commands

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published