Islamic Azad University Kerman Branch
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
How can I restart an opt=qst3 Gaussian(09) calculation from its endpoint?
Popular answers (1)
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)
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
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.
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
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
Tarbiat Modares University/University of Tehran/Sharif University of Technology
You can add the "opt=restart" keyword to your route section.
1 Recommendation
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.
Similar questions and discussions
Related Publications
In elementary courses of algebra and number theory one runs across the well-known division algorithm.