Skip to content

Commit 2211750

Browse files
committed
updated charge error and gamess header file syntax
1 parent 25050fa commit 2211750

File tree

7 files changed

+41
-13
lines changed

7 files changed

+41
-13
lines changed

methods/orbitals/header

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
! Calculation of molecular orbitals
22
! using a small and quick basis set
3-
$CONTRL COORD=CART UNITS=ANGS SCFTYP=RHF ICHARG=0 MAXIT=60 $END
3+
$CONTRL COORD=CART UNITS=ANGS SCFTYP=RHF
4+
icharg=0
5+
MAXIT=60 $END
46
$BASIS GBASIS=STO NGAUSS=3 $END

methods/orbitals/initialize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
mkdir($calculationType);
9090

9191
shell_exec('babel -xf '.CALPATH.'/'.$calculationType.'/header -ixyz coordinates.xyz -ogamin '.$calculationType.'/'.$hash.'.inp');
92-
shell_exec('sed -i "s/ICHARG=0/ICHARG='.$moleculeCharge.'/" '.$calculationType.'/'.$hash.'.inp');
92+
shell_exec('sed -i "s/icharg=0/icharg='.$moleculeCharge.'/" '.$calculationType.'/'.$hash.'.inp');
9393

9494
$json['next_step'] = 2;
9595
$json['next_pct'] = 95;

methods/solvation/header

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
!Calculate solvent effects
2-
$SYSTEM MWORDS=125 $END
3-
$BASIS GBASIS=PM3 $END
4-
$CONTRL SCFTYP=RHF RUNTYP=ENERGY ICHARG=0 $END
5-
$PCM SOLVNT=WATER MXTS=15000 ICAV=1 IDISP=1 $END
6-
$TESCAV MTHALL=4 NTSALL=60 $END
7-
2+
$system
3+
mwords=125
4+
$end
5+
$basis
6+
gbasis=PM3
7+
$end
8+
$contrl
9+
scftyp=RHF
10+
runtyp=energy
11+
icharg=0
12+
$end
13+
14+
$pcm
15+
solvnt=water
16+
mxts=15000
17+
icav=1
18+
idisp=1
19+
$end
20+
$tescav
21+
mthall=4
22+
ntsall=60
23+
$end
24+

methods/solvation/initialize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
mkdir($calculationType);
8989

9090
shell_exec('babel -xf '.CALPATH.'/'.$calculationType.'/header -ixyz coordinates.xyz -ogamin '.$calculationType.'/'.$hash.'.inp');
91-
shell_exec('sed -i "s/ICHARG=0/ICHARG='.$moleculeCharge.'/" '.$calculationType.'/'.$hash.'.inp');
91+
shell_exec('sed -i "s/icharg=0/icharg='.$moleculeCharge.'/" '.$calculationType.'/'.$hash.'.inp');
9292

9393
$json['next_step'] = 2;
9494
$json['next_pct'] = 95;

methods/thermodynamic/initialize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
mkdir($calculationType);
9090

9191
shell_exec('babel -xf '.CALPATH.'/'.$calculationType.'/header -ixyz coordinates.xyz -ogamin '.$calculationType.'/'.$hash.'.inp');
92-
shell_exec('sed -i "s/ICHARG=0/ICHARG='.$moleculeCharge.'/" '.$calculationType.'/'.$hash.'.inp');
92+
shell_exec('sed -i "s/icharg=0/icharg='.$moleculeCharge.'/" '.$calculationType.'/'.$hash.'.inp');
9393

9494
$json['next_step'] = 2;
9595
$json['next_pct'] = 95;

methods/vibrations/header

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
! Vibration calculation after a 30 step
22
! geometry optimisation via PM3
3-
$BASIS GBASIS=PM3 $END
4-
$CONTRL SCFTYP=RHF RUNTYP=HESSIAN ICHARG=0 MAXIT=60 $END
3+
4+
$basis
5+
gbasis=PM3
6+
$end
7+
8+
$contrl
9+
scftyp=RHF
10+
runtyp=hessian
11+
icharg=0
12+
maxit=60
13+
$end
514

methods/vibrations/initialize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
mkdir($calculationType);
9090

9191
shell_exec('babel -xf '.CALPATH.'/'.$calculationType.'/header -ixyz coordinates.xyz -ogamin '.$calculationType.'/'.$hash.'.inp');
92-
shell_exec('sed -i "s/ICHARG=0/ICHARG='.$moleculeCharge.'/" '.$calculationType.'/'.$hash.'.inp');
92+
shell_exec('sed -i "s/icharg=0/icharg='.$moleculeCharge.'/" '.$calculationType.'/'.$hash.'.inp');
9393

9494
$json['next_step'] = 2;
9595
$json['next_pct'] = 95;

0 commit comments

Comments
 (0)