Install Gaussian 16 on a Mac
Note: Official installation guide could be found here.
Contents
1. Unzip installation file
- Find the
M*.tbzfile and double-click, theg16folder would be generated at current dictionary after finishing the decompressing. - Create a
Scratchfolder in theg16folder. - Move
g16folder to the/Application.
2. Set Unix environment variables
- Open Terminal.
- Run
echo $SHELLcommand, if/bin/bashis displayed in the command windows, you are running bash shell, if/bin/tcshis displayed, you are running tcsh shell. - If the current shell is not bash or tcsh, run
chsh -s /bin/bash, and refer to the following section 2.1.
2.1 If you are running bash shell
- Run following command:
cd touch .bash_profile ln -s .bash_profile my_profile - Go to
/Users/your_user_namein Finder, and double-click themy_profilefile (open it in TextEdit). Add following contents to themy_profilefile:export g16root=/Applications . $g16root/g16/bsd/g16.profile export GAUSS_SCRDIR=/Applications/g16/Scratch
2.2 If you are running tcsh shell
- Run following command:
cd touch .login ln -s .login my_login - Go to
/Users/your_user_namein Finder, and double-click themy_loginfile (open it in TextEdit). Add following contents to themy_loginfile:setenv g16root /Applications source $g16root/g16/bsd/g16.login setenv GAUSS_SCRDIR /Applications/g16/Scratch
3. Check installation
Run g16 in Terminal, if Entering Gaussian System, Link 0=g16 is displayed in current windows, the Gaussian 16 is successfully installed on your computer.
Enjoy Reading This Article?
Here are some more articles you might like to read next: