1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
|
*-------------------------------------------------------------------------------
* Molecule: Acrolein
* Basis: ANO-R1
* Symmetry: C1
* Features tested: CASSCF,RASSI,HDF5,mort
* Responsible person: I. Fdez. Galván
*-------------------------------------------------------------------------------
* Skip the test if mort is not available
> IF ( -FILE $MOLCAS/Tools/mort/mort.py )
> GOTO HAVE_MORT
> ENDIF
> EXIT 36
> LABEL HAVE_MORT
> SHELL sh create_test_numpy_h5py $MOLCAS/Tools/mort/mort.py
> SHELL ./test_numpy_h5py.py || touch TEST_NUMPY_H5PY
> IF ( -FILE TEST_NUMPY_H5PY )
> EXIT 36
> ENDIF
* Suppose excited states are computed with the wrong orientation and atom order
* (first with minimal basis)
&GATEWAY
Coord = 8
C 1.769114 0.000000 0.136549
C 0.588145 0.000000 -0.434423
C -0.695203 0.000000 0.361447
O -1.808864 0.000000 -0.137998
H -0.548852 0.000000 1.455362
H 0.477859 0.000000 -1.512556
H 2.688665 0.000000 -0.434186
H 1.880903 0.000000 1.213924
Basis = STO-3G
Group = NoSym
RICD
&SEWARD
&RASSCF
File = $Project.guessorb.h5
Alter = 1 ; 1 11 13
Spin = 1
Charge = 0
NActEl = 6
RAS2 = 5
StAverage = 4
* Expand basis
&GATEWAY
Coord = $Project.rasscf.h5
Basis = ANO-R1
Group = NoSym
RICD
&SEWARD
> Exec $MOLCAS/Tools/mort/mort.py -f all $Project.rasscf.h5 $Project.guessorb.h5
&RASSCF
File = $Project.guessorb.h5
Spin = 1
Charge = 0
NActEl = 6
RAS2 = 5
CIRoot = 3 4 ; 2 3 4 ; 1 1 1
> Copy $Project.rasscf.h5 $Project.ES.h5
* This is the correct geometry we want to use for RASSI
&GATEWAY
Coord = 8
O -1.808864 -0.137998 0.000000
C 1.769114 0.136549 0.000000
C 0.588145 -0.434423 0.000000
C -0.695203 0.361447 0.000000
H -0.548852 1.455362 0.000000
H 0.477859 -1.512556 0.000000
H 2.688665 -0.434186 0.000000
H 1.880903 1.213924 0.000000
Basis = ANO-R1
Group = NoSym
RICD
&SEWARD
&RASSCF
File = $Project.guessorb.h5
Alter = 2 ; 1 10 14 ; 1 13 15
Spin = 1
Charge = 0
NActEl = 4
RAS2 = 4
* CIOnly run to make sure the n orbital stays in the active space
&RASSCF
File = $Project.rasscf.h5
CIOnly
Spin = 1
Charge = 0
NActEl = 6
RAS2 = 5
> Copy $Project.rasscf.h5 $Project.GS.h5
* Rotate and reorder the ES file to match the GS
> Copy $Project.GS.h5 JOB001
> Exec $MOLCAS/Tools/mort/mort.py -x 4,1,2,3,5,6,7,8 -r 1 0 0 0 0 1 0 1 0 $Project.ES.h5 JOB002
&RASSI
NrOfJob = 2 all
TRD1
>>FILE create_test_numpy_h5py
head -n 1 $1 > test_numpy_h5py.py
echo "import numpy" >> test_numpy_h5py.py
echo "import h5py" >> test_numpy_h5py.py
chmod +x test_numpy_h5py.py
>>EOF
>>FILE checkfile
* This file is autogenerated:
* Molcas version 24.06-77-g7ee3604a8
* Linux otis 5.15.0-119-generic #129-Ubuntu SMP Fri Aug 2 19:25:20 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
* Wed Aug 21 13:39:50 2024
*
#>> 1
#> POTNUC="102.496889872072"/12
#>> 2
#> POTNUC="102.496889872072"/12
#> SEWARD_MLTPL1X="3.343140945509"/5
#> SEWARD_KINETIC="15.891121812396"/5
#> SEWARD_ATTRACT="-39.964594306588"/5
#>> 3
#> RASSCF_ITER="12"/8
#> E_RASSCF[0]="-188.387720899373"/4
#> E_RASSCF[1]="-188.253040574024"/4
#> E_RASSCF[2]="-188.108560906394"/4
#> E_RASSCF[3]="-188.063693937059"/4
#> MLTPL__0="-0.000000000000"/2
#> MLTPL__1[0]="0.619356429994"/2
#> MLTPL__1[1]="0.0"/2
#> MLTPL__1[2]="0.198907226877"/2
#> MLTPL__2[0]="-2.269767644536"/2
#> MLTPL__2[1]="0.0"/2
#> MLTPL__2[2]="-0.679828445358"/2
#> MLTPL__2[3]="0.418611475190"/2
#> MLTPL__2[4]="0.0"/2
#> MLTPL__2[5]="1.851156169346"/2
#> MLTPL__0="-0.000000000000"/2
#> MLTPL__1[0]="0.256051818131"/2
#> MLTPL__1[1]="0.0"/2
#> MLTPL__1[2]="0.181487962580"/2
#> MLTPL__2[0]="-1.572836778760"/2
#> MLTPL__2[1]="0.0"/2
#> MLTPL__2[2]="-1.048274956544"/2
#> MLTPL__2[3]="-0.934146672773"/2
#> MLTPL__2[4]="0.0"/2
#> MLTPL__2[5]="2.506983451533"/2
#> MLTPL__0="-0.000000000000"/2
#> MLTPL__1[0]="0.153787889609"/2
#> MLTPL__1[1]="0.0"/2
#> MLTPL__1[2]="0.180357563005"/2
#> MLTPL__2[0]="-1.345672502996"/2
#> MLTPL__2[1]="0.0"/2
#> MLTPL__2[2]="-1.142993368022"/2
#> MLTPL__2[3]="-0.887910467814"/2
#> MLTPL__2[4]="0.0"/2
#> MLTPL__2[5]="2.233582970810"/2
#> MLTPL__0="-0.000000000000"/2
#> MLTPL__1[0]="0.632657016097"/2
#> MLTPL__1[1]="0.0"/2
#> MLTPL__1[2]="0.054950635399"/2
#> MLTPL__2[0]="-2.359162907727"/2
#> MLTPL__2[1]="0.0"/2
#> MLTPL__2[2]="-1.221137534615"/2
#> MLTPL__2[3]="0.667041523133"/2
#> MLTPL__2[4]="0.0"/2
#> MLTPL__2[5]="1.692121384594"/2
#>> 4
#> POTNUC="102.496889872072"/12
#>> 5
#> SEWARD_MLTPL1X="3.343140945509"/5
#> SEWARD_KINETIC="23350.035000000014"/5
#> SEWARD_ATTRACT="-1200.876109041755"/5
#> POTNUC="102.496889872072"/12
#> SEWARD_MLTPL1X="3.343140945509"/5
#> SEWARD_KINETIC="16.117924744635"/5
#> SEWARD_ATTRACT="-40.366510068953"/5
#>> 6
#> RASSCF_ITER="12"/8
#> E_RASSCF[0]="-190.828787812528"/4
#> E_RASSCF[1]="-190.704012000739"/4
#> E_RASSCF[2]="-190.674944092592"/4
#> MLTPL__0="-0.000000000001"/2
#> MLTPL__1[0]="1.005884239782"/2
#> MLTPL__1[1]="-0.000000025174"/2
#> MLTPL__1[2]="0.303661431451"/2
#> MLTPL__2[0]="-2.161456098500"/2
#> MLTPL__2[1]="0.000000205921"/2
#> MLTPL__2[2]="-0.423766235520"/2
#> MLTPL__2[3]="-0.686967637680"/2
#> MLTPL__2[4]="-0.000000065748"/2
#> MLTPL__2[5]="2.848423736180"/2
#> MLTPL__0="-0.000000000001"/2
#> MLTPL__1[0]="0.361793636453"/2
#> MLTPL__1[1]="-0.000000005420"/2
#> MLTPL__1[2]="0.219017869411"/2
#> MLTPL__2[0]="-0.973097470060"/2
#> MLTPL__2[1]="0.000000046354"/2
#> MLTPL__2[2]="-0.962018120799"/2
#> MLTPL__2[3]="-2.599493178858"/2
#> MLTPL__2[4]="-0.000000089818"/2
#> MLTPL__2[5]="3.572590648918"/2
#> MLTPL__0="-0.000000000001"/2
#> MLTPL__1[0]="0.311447476955"/2
#> MLTPL__1[1]="-0.000000005612"/2
#> MLTPL__1[2]="0.237910591173"/2
#> MLTPL__2[0]="-1.085360363616"/2
#> MLTPL__2[1]="0.000000089674"/2
#> MLTPL__2[2]="-1.255921080510"/2
#> MLTPL__2[3]="-2.280653679999"/2
#> MLTPL__2[4]="-0.000000084910"/2
#> MLTPL__2[5]="3.366014043615"/2
#> MLTPL__0="-0.000000000001"/2
#> MLTPL__1[0]="0.779414877967"/2
#> MLTPL__1[1]="-0.000000032847"/2
#> MLTPL__1[2]="0.032867439779"/2
#> MLTPL__2[0]="-1.735812903192"/2
#> MLTPL__2[1]="0.000000252054"/2
#> MLTPL__2[2]="-1.368844292545"/2
#> MLTPL__2[3]="-0.758602307646"/2
#> MLTPL__2[4]="-0.000000071982"/2
#> MLTPL__2[5]="2.494415210837"/2
#>> 7
#> POTNUC="102.496889872072"/12
#>> 8
#> SEWARD_MLTPL1X="-3.418257559014"/5
#> SEWARD_KINETIC="90135.945000000007"/5
#> SEWARD_ATTRACT="-3134.607880329439"/5
#> POTNUC="102.496889872072"/12
#> SEWARD_MLTPL1X="-3.418257559014"/5
#> SEWARD_KINETIC="29.405679010787"/5
#> SEWARD_ATTRACT="-66.844492397528"/5
#>> 9
#> RASSCF_ITER="17"/8
#> E_RASSCF="-190.977709054890"/4
#> MLTPL__0="-0.000000000001"/2
#> MLTPL__1[0]="1.103190796731"/2
#> MLTPL__1[1]="0.306217824605"/2
#> MLTPL__1[2]="0.000000062887"/2
#> MLTPL__2[0]="-2.472973342033"/2
#> MLTPL__2[1]="-0.868659716475"/2
#> MLTPL__2[2]="-0.000000301507"/2
#> MLTPL__2[3]="3.090691915821"/2
#> MLTPL__2[4]="-0.000000442993"/2
#> MLTPL__2[5]="-0.617718573788"/2
#>> 10
#> E_RASSCF="-190.977891069177"/4
#> MLTPL__0="-0.000000000000"/2
#> MLTPL__1[0]="1.102068926807"/2
#> MLTPL__1[1]="0.305898886114"/2
#> MLTPL__1[2]="0.000000062553"/2
#> MLTPL__2[0]="-2.470716699376"/2
#> MLTPL__2[1]="-0.868248861454"/2
#> MLTPL__2[2]="-0.000000331557"/2
#> MLTPL__2[3]="3.090973998028"/2
#> MLTPL__2[4]="-0.000000372043"/2
#> MLTPL__2[5]="-0.620257298652"/2
#>> 11
#> E_RASSI[0]="-190.977941031102"/4
#> E_RASSI[1]="-190.828787812523"/4
#> E_RASSI[2]="-190.704012000734"/4
#> E_RASSI[3]="-190.674890706326"/4
#> TMS(SF,LEN)="0.000026072847"/6
#> TMS(SF,LEN)="0.000432355648"/6
#> TMS(SF,LEN)="0.008316410917"/6
#> TMS(SF,LEN)="0.002605075262"/6
#> TMS(SF,LEN)="0.000000176927"/6
#> TMS(SF,LEN)="0.000006453689"/6
#> TMS(SF,VEL)="0.000000136107"/6
#> TMS(SF,VEL)="0.000299272404"/6
#> TMS(SF,VEL)="0.005192937358"/6
#> TMS(SF,VEL)="0.002616215302"/6
#> TMS(SF,VEL)="0.000001748930"/6
#> TMS(SF,VEL)="0.000149799808"/6
>>EOF
|