# A good software for DFT optimization and nonlinear optical properties

I'm running a series of calculation for nonlinear chromophores. The general pipeline is geometry optimization (B3LYP/def2-TZVP) -> Frequencies -> Hyperpolarizability calculation (M06-2X (or CAM-B3LYP or MP2)/aug-cc-TZVP).

At the moment I plan to run Orca for optimization and frequencies because it is faster and GAMESS-US for hyperpolarizability, but I want to switch to the software that can do both tasks.

I can run anything that is free (at least for academia) and can be parallelized. Please help me find a suitable software, I could only think of NWChem/LSDalton (but that's also two separate codes).

• Just out of curiosity: why is it a problem running two different (free) software? It doesn't seem very difficult to automate your workflow.
– Greg
Dec 5 '20 at 18:16
• It's mostly my perfectionism, it would be better to reformulate the question as "What is a good software for DFT and MP2 calculations of hyperpolarizability with various functionals?". AFAIK Orca can calculate only polarizability. Dec 6 '20 at 6:20
• I haven't used this program, so I wouldn't consider this a full answer, but Dalton should be able to do frequencies and hyperpolarizability.
– Tyberius
Dec 7 '20 at 1:15
• I've finally gave up and used Gaussian, since my university has a license. Jan 23 '21 at 13:27
• Maybe you can give a self-answer showing how you did it in GAUSSIAN, with minimalistic input files for the things that your questions asked for? Feb 28 '21 at 5:19

So I've used Gaussian as it is one of the few codes that can calculate hyperpolarizability for a lot of DFT functionals.

My input is very staightforward, hope it will help someone.

%NProcShared=24
%mem=192Gb
%Chk=optfreq.chk
#P B3LYP/Def2TZVP Opt Freq

Optfreq

0 1
*Here goes initial geometry*