Subject: Compiling mopac

From: root <[email-masked]>
Date: Sat, 28 Apr 2001 17:32:57 -0400

Dear sir;

    Would you please help me to compile mopac-7.01-4 on linuxppc?  I
have a problem with two files: matou1.f and sympro.f. The output error
messages are listed bellow. I'd appreciatte if you give me some advice
on how to modify these files.  I am using f77 to compile mopac on a G4,
350 MHz, 64 MB RAM.

    Thank you!

[root@localhost mopac-7.01-4]# f77 -O -w  -c matou1.f -o matou1.o
matou1.f: In subroutine `matou1':
matou1.f:5:
         PARAMETER (MAXDIM=MAX(MAXORB,3*NUMATM))
                           ^
Invalid declaration of or reference to symbol `max' at (^) [initially
seen at (^)]
matou1.f:37:
         CHARACTER*2 ELEMNT, ATORBS(9), ITEXT(MAXDIM),
JTEXT(MAXDIM),XYZ(3)
                                        1
matou1.f:42: (continued):
         ALLPRT=(INDEX(KEYWRD,'ALLVEC').NE.0)
         2
Invalid declaration of or reference to symbol `itext' at (2) [initially
seen at (1)]
matou1.f:37:
         CHARACTER*2 ELEMNT, ATORBS(9), ITEXT(MAXDIM),
JTEXT(MAXDIM),XYZ(3)
                                                       1
matou1.f:42: (continued):
         ALLPRT=(INDEX(KEYWRD,'ALLVEC').NE.0)
         2
Invalid declaration of or reference to symbol `jtext' at (2) [initially
seen at (1)]
matou1.f:38:
         DIMENSION NATOM(MAXDIM)
                   1
matou1.f:42: (continued):
         ALLPRT=(INDEX(KEYWRD,'ALLVEC').NE.0)
         2
Invalid declaration of or reference to symbol `natom' at (2) [initially
seen at (1)]
[root@localhost mopac-7.01-4]#

**********************************************************

[root@localhost mopac-7.01-4]# f77 -O -w  -c sympro.f -o sympro.o
sympro.f: In subroutine `symr':
sympro.f:173:
    210  FORMAT(X,A10,I7,8I7)
                                   ^
Invalid X specifier in FORMAT statement at (^) -- correct form: nX
sympro.f:176:
    220  FORMAT(X,A10,I7,8F7.3)
                                   ^
Invalid X specifier in FORMAT statement at (^) -- correct form: nX

********************************************************

WHEN I CHANGE RO nX IT GIVES:

*******************************************************

[root@localhost mopac-7.01-4]# f77 -O -w  -c sympro.f -o sympro.o
sympro.f: In subroutine `symr':
sympro.f:173:
    210  FORMAT(nX,A10,I7,8I7)
                                  ^
Unrecognized FORMAT specifier at (^)
sympro.f:176:
    220  FORMAT(nX,A10,I7,8F7.3)
                                    ^
Unrecognized FORMAT specifier at (^)