From chemistry-request@server.ccl.net Sat Apr 28 20:38:15 2001
Received: from ccl.net ([192.148.249.4])
	by server.ccl.net (8.11.0/8.11.0) with ESMTP id f3T0cAI14814
	for <chemistry@ccl.net>; Sat, 28 Apr 2001 20:38:10 -0400
Received: from estancia.infonet.com.br ([200.241.52.3])
	by ccl.net (8.9.3/8.9.3/OSC 2.0) with ESMTP id UAA20312
	for <chemistry@ccl.net>; Sat, 28 Apr 2001 20:38:07 -0400 (EDT)
Received: from infonet.com.br ([200.241.52.52]) by estancia.infonet.com.br
          (Post.Office MTA v3.5.3 release 223 ID# 0-71335U14000L2900S0V35)
          with ESMTP id br for <chemistry@ccl.net>;
          Sat, 28 Apr 2001 21:32:45 -0300
Sender: root@ccl.net
Message-ID: <3AEB3708.C5C21BC9@infonet.com.br>
Date: Sat, 28 Apr 2001 17:32:57 -0400
From: root <schc@infonet.com.br>
Reply-To: schc@infonet.com.br
Organization: home
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.15pre3 ppc)
X-Accept-Language: en
MIME-Version: 1.0
To: chemistry@ccl.net
Subject: Compiling mopac
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

    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 (^)




