Dear All -
I am trying to optimize a big structure (105 atoms with a Zn ion in the middle). I am using a mixed basis/ecp set for the system where an external basis set (aug-cc-pVDZ-PP) for the Zn ion. Here are the relevant parts in my input files:
-------------- qchem.inp -------------------
$comment
Comments regarding the system
$end
$molecule
-2 1
.
.
.
(all the coordinates)
.
.
.
$end
$rem
Basis general
ECP general
Exchange HF
Jobtype OPT Optimize the structure
GEOM_OPT_MAX_CYCLES 1000
max_SCF_CYCLEs 200
MEM_STATIC 500
mem_total 20000
IANLTY 0
$end
$opt
CONSTRAINT
bend 14 105 44 109.5
bend 14 105 66 109.5
bend 14 105 96 109.5
bend 44 105 66 109.5
bend 66 105 96 109.5
bend 96 105 44 109.5
tors 2 5 7 9 170.92
tors 5 7 9 15 -76.80
tors 7 9 15 17 128.14
tors 9 15 17 19 -177.45
tors 15 17 19 25 -70.31
tors 17 19 25 27 -41.25
tors 19 25 27 29 -176.95
tors 25 27 29 35 -82.32
tors 27 29 35 37 -64.78
tors 29 35 37 39 -175.92
tors 35 37 39 45 -78.70
tors 37 39 45 47 -14.56
tors 39 45 47 49 168.60
tors 54 57 59 61 177.70
tors 57 59 61 67 -82.98
tors 59 61 67 69 170.01
tors 61 67 69 71 -175.26
tors 67 69 71 77 -48.87
tors 69 71 77 79 -58.06
tors 71 77 79 81 178.58
tors 77 79 81 87 -50.38
tors 79 81 87 89 -40.24
tors 81 87 89 91 178.94
tors 87 89 91 97 -73.38
tors 89 91 97 99 -30.23
tors 91 97 99 101 179.41
ENDCONSTRAINT
$end
$basis
N
6-31G*
****
C
6-31G*
****
S
6-31G*
****
O
6-31G*
****
H
6-31G*
****
Zn
S 7 1.00
629.1260000 0.0005590
62.9635000 -0.0096800
39.5791000 0.0623540
11.9173000 -0.4148790
2.5082400 0.7544660
1.0301900 0.4589960
0.1540020 0.0116640
S 7 1.00
629.1260000 -0.0001210
62.9635000 0.0014890
39.5791000 -0.0127370
11.9173000 0.0972460
2.5082400 -0.2199170
1.0301900 -0.2364740
0.1540020 0.5812910
S 7 1.00
629.1260000 0.0004210
62.9635000 -0.0051090
39.5791000 0.0414470
11.9173000 -0.3416430
2.5082400 1.4386170
1.0301900 -0.9824290
0.1540020 -1.1876310
S 1 1.00
0.0527950 1.0000000
S 1 1.00
0.0181000 1.0000000
P 6 1.00
92.9034000 0.0024880
19.7452000 -0.0791360
4.5507300 0.3880590
2.0019000 0.5093540
0.8438790 0.2245750
0.2033810 0.0126800
P 6 1.00
92.9034000 -0.0004030
19.7452000 0.0154470
4.5507300 -0.0843250
2.0019000 -0.1364890
0.8438790 0.0008020
0.2033810 0.5157920
P 6 1.00
92.9034000 -0.0005300
19.7452000 0.0247430
4.5507300 -0.1424780
2.0019000 -0.2340320
0.8438790 0.0921870
0.2033810 0.8377700
P 1 1.00
0.0595720 1.0000000
P 1 1.00
0.0174000 1.0000000
D 5 1.00
71.2766000 0.0158950
22.7604000 0.0924540
8.3236900 0.2594720
3.1687500 0.4033140
1.1470300 0.3878340
D 5 1.00
71.2766000 -0.0225160
22.7604000 -0.1333030
8.3236900 -0.3932530
3.1687500 -0.3512140
1.1470300 0.4061710
D 1 1.00
0.3666430 1.0000000
D 1 1.00
0.1172000 1.0000000
F 1 1.00
3.2168000 1.0000000
F 1 1.00
1.0870000 1.0000000
****
$end
$ecp
Zn
ZN-ECP 4 10
g-ul potential
1
2 1.0000000 0.0000000
s-ul potential
2
2 34.1740010 399.9863990
2 14.4563710 85.4897500
p-ul potential
4
2 39.8886830 92.3810770
2 39.6550170 184.7711760
2 15.2905460 23.0025410
2 14.9035240 46.0574270
d-ul potential
4
2 43.7082960 -13.6907340
2 43.6985360 -20.5439800
2 15.1507180 -1.3161540
2 15.2824410 -1.8387150
f-ul potential
2
2 8.1600140 -0.3703600
2 12.2284220 -1.0629430
****
$end
----------------------------------------------------------------
I use 6x12 cores for the optimization process. Initially, qchem works fine; takes the data/variables and minimizes the energy. Right after that, I am getting the following error message:
====== qchem.out ======
.
.
.
25 -4274.6505202080 4.00E-08
26 -4274.6505202083 1.59E-08
27 -4274.6505202058 7.51E-09 Convergence criterion met
---------------------------------------
SCF time: CPU 209.66 s wall 878.29 s
No wavefunction analysis requested
Calculating analytic gradient of the SCF energy
rm_l_63_23113: (957.660156) net_send: could not write to fd=5, errno = 32
Q-Chem fatal error occurred in module Shells.C, line 46:
In ~Shells: s1Ints != 0.
==============================
Something happens right after the minimization when calculating the analytical gradient of SCF energy. I initially thought that it is because of memory, but changing the mem_static or mem_total did not do anything good. Interestingly, however, if I used the build in lanl2dz basis set for Zn, optimization finishes.
I will appreciate if anyone can suggest me anything in order to finish this optimization. I am using a lot of constraints in the system, so the minimization should not take too many steps, but getting the above error message makes me wonder what I am doing wrong. Thanks in advance.
Best regards,
Ilyas
net_send: could not write to fd=5, errno = 32