[CPMD-list] problems compiling

Natasa Mateljevic natasa.mateljevic at yale.edu
Mon Sep 16 18:46:06 CEST 2002


Hi,
to explain what I have done:
I added this in the Makefile
#--------------- Default Configuration for PC-PGI ---------------
SRC  = .
DEST = .
BIN  = .
#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS  = -L. -lmm
FFLAGS = -Mr8 -pc64 -Msignextend -Msecond_underscore -Mbyteswapio
LFLAGS = -llapack -lf77blas -latlas $(QMMM_LIBS)
CFLAGS =
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT
CC = gcc -O2 -Wall
FC = pgf77 -c -fast
LD = pgf77 -fast
AR =
#----------------------------------------------------------------------------
I ran this command:
g77 -o-Mbyteswapio cpmd.f cpmd.o

and I got this error:
         INTEGER       MAPGP(*)
                       1
cpmd.f:185: (continued):
         END
         2
Invalid declaration of or reference to symbol `mapgp' at (2) [initially 
seen at (1)]
system.h:193: 
         INTEGER NATPE,NORBPE,IATPT,IPEPT,IATPE
                              1
cpmd.f:185: (continued):
         END
         2
Invalid declaration of or reference to symbol `iatpt' at (2) [initially 
seen at (1)]
system.h:193: 
         INTEGER NATPE,NORBPE,IATPT,IPEPT,IATPE
                                          1
cpmd.f:185: (continued):
         END
         2
Invalid declaration of or reference to symbol `iatpe' at (2) [initially 
seen at 
Thanks for looking into this,
Natasa




More information about the CPMD-list mailing list