[CPMD-list] Problem with building CPMD on HP/Linux Itanium-2.

Axel Kohlmeyer axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Wed Jul 23 18:17:48 CEST 2003


On Wed, 23 Jul 2003 11:49:16 -0400  y.liu at fz-juelich.de wrote:

> 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 t
o 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 modif
ications on Makefile? Any comments about this problem will be appreciated very much. The part of my 
Makefile is attached.


hello yi,

mpif90 is a wrapper to call the f90 compiler with the appropriate options
for mpi compilation. in this case it seems to be a shell script that is 
not compatible to your linux installation (thus the eval error). you should
probably contact whoever installed the mpi library on that machine and
make him or her aware of the problem.

cheers,
	axel kohlmeyer.

> 
> 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
> ... ...
> ---------------
> 
> 
> 
> _______________________________________________
> CPMD-list mailing list
> CPMD-list at cpmd.org
> http://www.cpmd.org/mailman/listinfo/cpmd-list
> 

--

=======================================================================
Axel Kohlmeyer      e-mail:  axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Lehrstuhl fuer Theoretische Chemie          Phone: ++49 (0)234/32-26673
Ruhr-Universitaet Bochum - NC 03/53         Fax:   ++49 (0)234/32-14045
D-44780 Bochum                   http://www.theochem.ruhr-uni-bochum.de
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.



More information about the CPMD-list mailing list