Question
Asked 5 April 2020

How can I restart a Gaussian calculation from its endpoint?

I was running an optimization+frequency calculation of a metal-containing compound on G16W. After running the job for several hours one of my mates mistakenly stopped the Gaussian running window. This also occurred due to the disturbance of electricity some other times. It is very annoying.
Can anyone help me to start that specific calculation from its endpoint?
My input is given below:
%chk=C:\Users\TITONS~1\AppData\Local\Temp\gv4_5_2020_22_19_49\Preview_r1cql.chk
# opt freq=vcd b3lyp/genecp geom=connectivity
Cd
0 1
C 1.21691427 -0.44678615 0.02945608
C 0.41006320 0.63773189 0.76729887
C -1.00351688 0.10789379 1.07170477
N 0.31257287 1.83625290 -0.07824417
O 2.28845401 -0.10487705 -0.94107430
O 0.94847830 -2.04466726 0.27522962
H -0.21135640 2.54048539 0.40087452
H -0.14772695 1.60329011 -0.93489603
H 0.90258400 0.88700207 1.68391636
S -1.82285056 -0.30677997 -0.45313555
H -1.56412120 0.86142255 1.58436177
H -0.93255454 -0.76449906 1.68716806
H -1.13650322 -1.22932454 -1.08078103
H 1.23048201 2.18030361 -0.27591034
Cd 2.59298109 -1.96734827 -0.70776863
1 2 1.0 5 1.5 6 1.0
2 3 1.0 4 1.0 9 1.0
3 10 1.0 11 1.0 12 1.0
4 7 1.0 8 1.0 14 1.0
5 15 1.0
6 15 1.0
7
8
9
10 13 1.0
11
12
13
14
15
C H O N S 0
6-311++G(d)
****
Cd 0
LanL2DZ
****
Cd 0
LanL2DZ

Most recent answer

Sayed Ali Ahmadi
Islamic Azad University Kerman Branch
How can I restart an opt=qst3 Gaussian(09) calculation from its endpoint?

Popular answers (1)

Tahereh Hosseini
University of Tehran
Three ways to do it:
1. "Restart" restarts a previously-failed optimization via (checkpoint file) .chk and a previously-field frequency via (read-writ file) .rwf. G09 and G16 can do the restart an analytic freq work if it can find out the .rwf file (If you have used %rwf=X.rwf ), otherwise you have to start it from the beginning.
For restart, Keep (%chk, %mem, %nprocshared, %rwf) but use "Restart keyword" in the route section.
2. This will restart optimization from the last geometry from the .chk and then start the frequency calculations from the beginning.
Take a copy of the original input file and add:
#Geom=Checkpoint guess=read (Reads the initial guess from the .chk and it's a way to switch from one basis to another) or
#Geom=AllCheckpoint (Reads the geometry, charge, multiplicity and title from the .chk and it's used to start at a different level).
3. You can open the output file (.log) in gaussview, save the last geometry and then run gaussian again without any OPT, but just do single-point energy + frequency calculations. This will also start the frequency calculations from the beginning.
Best,
Tahereh
16 Recommendations

All Answers (10)

Tahereh Hosseini
University of Tehran
Three ways to do it:
1. "Restart" restarts a previously-failed optimization via (checkpoint file) .chk and a previously-field frequency via (read-writ file) .rwf. G09 and G16 can do the restart an analytic freq work if it can find out the .rwf file (If you have used %rwf=X.rwf ), otherwise you have to start it from the beginning.
For restart, Keep (%chk, %mem, %nprocshared, %rwf) but use "Restart keyword" in the route section.
2. This will restart optimization from the last geometry from the .chk and then start the frequency calculations from the beginning.
Take a copy of the original input file and add:
#Geom=Checkpoint guess=read (Reads the initial guess from the .chk and it's a way to switch from one basis to another) or
#Geom=AllCheckpoint (Reads the geometry, charge, multiplicity and title from the .chk and it's used to start at a different level).
3. You can open the output file (.log) in gaussview, save the last geometry and then run gaussian again without any OPT, but just do single-point energy + frequency calculations. This will also start the frequency calculations from the beginning.
Best,
Tahereh
16 Recommendations
Titon Saha
University of Chittagong
Thanks a lot, Melek Hajji & Tahereh Hosseini .
Firstly, I've never saved '.rwt' files for my calculation before. In that case, can I start from .chk file only?
Secondly, Tahereh Hosseini is there any option to restart both optimization and frequency at a time (from the endpoint) other than your 2nd & 3rd option?
My job is an optimization+frequency job, that's why I am very confused about it.
I'm attaching my chk, log & gjf files of the related task. I'll be very glad if you clarify me/if you can attach the file by adding the required keywords.
Tahereh Hosseini
University of Tehran
I must say, the geometry optimization can be restarted from the .chk file as usual and the one-step computation, such as Analytic frequency calculations, can be restarted from .rwf file and based on my information, without .rwf you can't restart freq calculation. As I said, you can just restart optimization from the last geometry from the .chk and then start the frequency calculations from the beginning.
For your other job:
(You should note that if you anticipate that a job may need restarting at some point, then you can assign a name to the read-write file (.rwf) in the original job:
%RWF=/path/filename.rwf
Also, to restart a job from .rwf, you need to know where the file is from previous run and If you don’t specify the rwf file path then you cannot restart it from where it left. For example, .chk is in the directory where you submitted the job but .rwf is in /scratch/yourid/jobid/. You have to move *.rwf file from /scratch/youris/jobid/ to /scratch/yourid/ to restart the previous job from that .rwf file).
Sample input file for freq and opt job:
1 Recommendation
Tahereh Hosseini
University of Tehran
This link will be useful for you, it's about restarting Analytic and Numerical frequency calculations and for full details, you can use Gaussian user’s reference.
I hope you find it helpful.
1 Recommendation
Titon Saha
University of Chittagong
Many many thanks for your detailed answer. :-) @Seyedeh
Mojgan Ayoubi-Chianeh
Tarbiat Modares University/University of Tehran/Sharif University of Technology
You can add the "opt=restart" keyword to your route section.
1 Recommendation
Soumya Ranjan Dash
CSIR - National Chemical Laboratory, Pune
Along with (rwf files are usually huge so better to save them in /scratch directory)
***
%rwf=/scratch/user/g09scr/file.rwf
%NoSave
***
following link is helpful.
Sayed Ali Ahmadi
Islamic Azad University Kerman Branch
How can I restart an opt=qst3 Gaussian(09) calculation from its endpoint?

Similar questions and discussions

How can I circumvent Bend failed for angle errors in Gaussian?
Question
15 answers
  • Anthony NashAnthony Nash
Hi all,
I have a compound with a particular functional group surrounded by water molecules. I am using Gaussian G09 to optimise, first with HF/6-31+g** and then I will progressively move higher per stable structure. Unfortunately, of the twenty different model arrangements (4 functional groups I am interested in and 8, 10, 12, 14, 16) water molecules neighbouring) only three of the twenty ran successfully. The others suffered from the following error (atom numbers will have been different obviously):
GradGradGradGradGradGradGradGradGradGradGradGradGradGradGradGradGradGrad
Berny optimization.
Using GEDIIS/GDIIS optimizer.
Bend failed for angle    39 -    70 -    68
Tors failed for dihedral    15 -    39 -    70 -    68
Tors failed for dihedral    51 -    39 -    70 -    68
Tors failed for dihedral    69 -    68 -    70 -    39
FormBX had a problem.
Error termination via Lnk1e in /usr/local/g09_d01/l103.exe at Tue Mar 24 10:12:24 2015.
When I investigate this further, the first failure (Bend on the angle 39, 70, 68) is an angle between the oxygen and hydrogen of a water, followed by the hydrogen of a hydroxyl group. It turns out to be exactly 180 degrees. I understand the optimisation algorithm in gaussian struggles with inline angle. 
Surely, restarting with a different arrangement to the water molecules isn't the best or only solution? Any tips or suggestions are very grateful.
Thanks
Anthony

Related Publications

Got a technical question?
Get high-quality answers from experts.