[CPMD-list] Problem with building CPMD on HP/Linux Itanium-2.
y.liu at fz-juelich.de
y.liu at fz-juelich.de
Wed Jul 23 17:49:16 CEST 2003
Dear everyone,
I am building CPMD on HP/Linux platform (Intel Itanium-2 processors installed).
First I made a Makefile by using "./Configure LINUX_IA64_INTEL-MPI", then modified library link to HP's MLIB libraries. However, when I run make, the following error message were given,
---------------
rm -f cpmd.f
/lib/cpp -P -C -traditional -D__alpha -DPOINTER8 -DLAPACK -DFFT_DEFAULT -DAL
PHALINUX -DMYRINET -DPARALLEL=parallel -DMP_LIBRARY=__MPI -DLINUX_IA64_INTEL
./cpmd.F ./cpmd.f
mpif90 -c ./cpmd.f -o ./cpmd.o
/usr/bin/mpif90: eval: illegal option: -f
eval: usage: eval [arg ...]
make: *** [cpmd.o] Error 2
---------------
I checked the path for mpif90 is correct. What is the problem with "eval"? Should I do other modifications on Makefile? Any comments about this problem will be appreciated very much. The part of my Makefile is attached.
Yi
#---------------------------------------------------------------------------
-
# Makefile for cpmd.x (plane wave electronic calculation)
# Configuration: LINUX_IA64_INTEL-MPI
# Creation of Makefile: Jul 20 2003
# on Linux ng126 2.4.18-hp1_pnnl23smp #1 SMP Tue Mar 25 22:00:46 MST 2003
ia64 unknown
# Author: ng126!sconstas
#---------------------------------------------------------------------------
-
#
SHELL = /bin/sh
#
#--------------- Default Configuration for
LINUX_IA64_INTEL-MPI ---------------
SRC = .
DEST = .
BIN = .
#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS = -L. -lmm
FFLAGS =
LFLAGS = -L/opt/mlib/lib/linux -lveclib8 -llapack8 -lguide -lPEPCF90 \
-lm -lpthread $(QMMM_LIBS)
#LFLAGS = -L/opt/intel/mkl/lib/64 -lmkl_itp -lmkl_lapack -lmkl_itp \
# -lPEPCF90 -lm -lpthread $(QMMM_LIBS)
CFLAGS = -D__alpha
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__alpha -DPOINTER8 -DLAPACK -DFFT_DEFAULT -DALPHALINUX \
-DMYRINET -DPARALLEL=parallel -DMP_LIBRARY=__MPI -DLINUX_IA64_INTEL
NOOPT_FLAG =
CC = mpicc -c -O
FC = mpif90 -c
LD = mpif90
AR = /usr/bin/ar -r
... ...
---------------
More information about the CPMD-list
mailing list