Subject: charmm compilation problem

From: wei <[email-masked]>
Date: Thu, 7 Nov 2002 10:51:24 -0500

Hi,
   I want to compile charmm on redhat linux with gnu. and I type the command 
"install.com gnu large", it didn't create the executable. and gave out 
followling information in gnu.log. can anybody tell me  if I have to modify 
some thing and how to do it?

**************************************************************************
**CHARMM Build on gnu Thu Nov 7 10:46:15 EST 2002
/home/shiva/charmm/c27b1/tool/preflx 
/home/shiva/charmm/c27b1/source/adumb/cmds.src
Segmentation fault (core dumped)
g77 -malign-double -fno-f2c -fno-backslash -O2 -fugly-complex -fno-globals 
-Wno-globals -DGNU  -c cmds.f
cmds.f: In subroutine `numfil':
cmds.f:1480: 
         IMPLICIT NONE
         ^
End of source file before end of block started at (^)
cmds.f:1472: 
         SUBROUTINE NUMFIL(IPT,JPT,INM,JNM,LIS,
                           1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `ipt' at (2) [initially seen at 
(1)]
cmds.f:1472: 
         SUBROUTINE NUMFIL(IPT,JPT,INM,JNM,LIS,
                               1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `jpt' at (2) [initially seen at 
(1)]
cmds.f:1472: 
         SUBROUTINE NUMFIL(IPT,JPT,INM,JNM,LIS,
                                   1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `inm' at (2) [initially seen at 
(1)]
cmds.f:1472: 
         SUBROUTINE NUMFIL(IPT,JPT,INM,JNM,LIS,
                                       1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `jnm' at (2) [initially seen at 
(1)]
cmds.f:1472: 
         SUBROUTINE NUMFIL(IPT,JPT,INM,JNM,LIS,
                                           1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `lis' at (2) [initially seen at 
(1)]
cmds.f:1473: 
        &                  RMN,KMN,RMX,KMX,FMX,TCN,AVE,EXP)
                           1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `rmn' at (2) [initially seen at 
(1)]
cmds.f:1473: 
        &                  RMN,KMN,RMX,KMX,FMX,TCN,AVE,EXP)
                               1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `kmn' at (2) [initially seen at 
(1)]
cmds.f:1473: 
        &                  RMN,KMN,RMX,KMX,FMX,TCN,AVE,EXP)
                                   1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `rmx' at (2) [initially seen at 
(1)]
cmds.f:1473: 
        &                  RMN,KMN,RMX,KMX,FMX,TCN,AVE,EXP)
                                       1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `kmx' at (2) [initially seen at 
(1)]
cmds.f:1473: 
        &                  RMN,KMN,RMX,KMX,FMX,TCN,AVE,EXP)
                                           1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `fmx' at (2) [initially seen at 
(1)]
cmds.f:1473: 
        &                  RMN,KMN,RMX,KMX,FMX,TCN,AVE,EXP)
                                               1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `tcn' at (2) [initially seen at 
(1)]
cmds.f:1473: 
        &                  RMN,KMN,RMX,KMX,FMX,TCN,AVE,EXP)
                                                   1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `ave' at (2) [initially seen at 
(1)]
cmds.f:1473: 
        &                  RMN,KMN,RMX,KMX,FMX,TCN,AVE,EXP)
                                                       1
cmds.f:1758: (continued):
         COMMON /PNOE/ c0x ,c0y ,c0z, QPNOE
   2
Invalid declaration of or reference to symbol `exp' at (2) [initially seen at 
(1)]
make: *** [/home/shiva/charmm/c27b1/lib/gnu/adumb.a(cmds.o)] Error 1
****************************************************************