[CPMD-list] Makefile problems

Mark D. Kottke mkottke at mail.sdsu.edu
Mon Feb 10 20:01:42 CET 2003


Hello,

I have a problem occuring when I try to compile the Makefile.  The
configure was set to run for PC-IFC-MPI.  I'm running RH 7.3 and I have
the path correctly set for the mpif77 compiler.  Has anyone ran into this
problem before or does anyone know what the problem is, since my linux
skills are only a couple weeks old.  
Here are copies of the error messages and the Makefile.

./Makefile: SHELL: command not found
./Makefile: SRC: command not found
./Makefile: DEST: command not found
./Makefile: BIN: command not found
These just keep on scrolling on and on.

#----------------------------------------------------------------------------
# Makefile for cpmd.x (plane wave electronic calculation)
# Configuration: PC-IFC-MPI
# Creation of Makefile: Feb 10 2003
# on Linux number0.sdsu.edu 2.4.18-3 #1 Thu Apr 18 07:32:41 EDT 2002 i686
unknown
# Author: number0.sdsu.edu!root
#----------------------------------------------------------------------------
#
SHELL = /bin/sh
#
#--------------- Default Configuration for PC-IFC-MPI ---------------
SRC  = .
DEST = .
BIN  = .
#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS  = -L. -lmm
FFLAGS = -c -r8 -w90 -w95 -O3 -pc64 -axM -ip -tpp7 
LFLAGS = -llapack-ifc -lf77blas-ifc -latlas-ifc -Vaxlib $(QMMM_LIBS)
CFLAGS = -c -O2 -Wall
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT \
               -DPARALLEL -DMP_LIBRARY=__MPI -DMYRINET -DLINUX_IFC  
NOOPT_FLAG = 
#CC = mpicc
CC = /root/mpich-1.2.5/bin/mpicc
#FC = mpif77 
FC = /root/mpich-1.2.5/bin/mpif77
#LD = mpif77 
LD = /root/mpich-1.2.5/bin/mpif77
AR = 
#----------------------------------------------------------------------------
#
#  LIST OF FILES
#

Mark Kottke






More information about the CPMD-list mailing list