<div>Dear
Penson,</div><div><br></div><div>This happens when the wfn file is incomplete.
This typically happens when cp2k is terminated while writing the wfn file, e.g. because the job runs out of time.
</div><div><br></div><div>You can delete the file named
cp2k-RESTART.wfn and then restart the calculation. Unfortunately, you have to start the SCF from the ATOMIC guess again.</div><div><br></div><div>Cheers,</div><div>Fabian<br></div><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Sunday, 22 November 2020 at 12:17:56 UTC+1 sp...@gmail.com wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Dear developers and friends:</div><div>Hi, I was doing a structure composing of 168 atoms for structure optimization. However, it stops at step 51 and it can not be restart again. The detail error information can be found below. How can I solve this problems? Is that the problem of gcc compiler? Thanks a lot!<br></div><div>Best regard,</div><div>Penson</div><div><br></div><div><font color="#ff0000"><b>Error Information</b></font></div><div>At line 707 of file /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/qs_mo_io.F (unit = 1, file = 'cp2k-RESTART.wfn')</div><div>Fortran runtime error: End of file</div><div><br></div><div>Error termination. Backtrace:</div><div>#0 0x2aff3978cdfd in ???</div><div>#1 0x2aff3978d995 in ???</div><div>#2 0x2aff3978e17d in ???</div><div>#3 0x2aff39991b7b in ???</div><div>#4 0x2aff399925cf in ???</div><div>#5 0x2aff399926bc in ???</div><div>#6 0x2aff39994e08 in ???</div><div>#7 0xab97f8 in read_mos_restart_low</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/qs_mo_io.F:707</div><div>#8 0xac3f7e in __qs_mo_io_MOD_read_mo_set_from_restart</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/qs_mo_io.F:552</div><div>#9 0x10f2927 in __qs_initial_guess_MOD_calculate_first_density_matrix</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/qs_initial_guess.F:341</div><div>#10 0x13232d2 in scf_env_initial_rho_setup</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/qs_scf_initialization.F:1148</div><div>#11 0x13232d2 in init_scf_run</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/qs_scf_initialization.F:1046</div><div>#12 0x1324d51 in __qs_scf_initialization_MOD_qs_scf_env_initialize</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/qs_scf_initialization.F:183</div><div>#13 0x11c0af4 in __qs_scf_MOD_scf</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/qs_scf.F:215</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/qs_energy.F:86</div><div>#15 0xf80b4f in qs_forces</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/qs_force.F:208</div><div>#16 0xf83907 in __qs_force_MOD_qs_calc_energy_force</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/qs_force.F:113</div><div>#17 0x7c1f0e in __force_env_methods_MOD_force_env_calc_energy_force</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/force_env_methods.F:261</div><div>#18 0x6780e7 in cp_eval_at_</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/motion/gopt_f77_methods.F:137</div><div>#19 0x5c2fb1 in __bfgs_optimizer_MOD_geoopt_bfgs</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/motion/bfgs_optimizer.F:267</div><div>#20 0x4e900c in __geo_opt_MOD_cp_geo_opt</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/motion/geo_opt.F:91</div><div>#21 0x41cbba in cp2k_run</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/start/cp2k_runs.F:340</div><div>#22 0x41ee7b in __cp2k_runs_MOD_run_input</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/start/cp2k_runs.F:965</div><div>#23 0x413286 in cp2k</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/start/cp2k.F:296</div><div>#24 0x41198c in main</div><div> at /home/room/cp2k/cp2k-7.1-2/cp2k-7.1/src/start/cp2k.F:45</div><div>--------------------------------------------------------------------------</div><div>Primary job terminated normally, but 1 process returned</div><div>a non-zero exit code. Per user-direction, the job has been aborted.</div><div>--------------------------------------------------------------------------</div><div>--------------------------------------------------------------------------</div><div>mpirun detected that one or more processes exited with non-zero status, thus causing</div><div>the job to be terminated. The first process to do so was:</div><div><br></div><div> Process name: [[63995,1],0]</div><div> Exit code: 2</div><div><br></div></blockquote></div>