[CPMD-list] Error on PC-Linux Clusters Compiler
César Carlos Díaz Torrejón
ccdiazt at kaliman.iimatercu.unam.mx
Wed May 22 00:42:49 CEST 2002
Dear all,
I am trying to compiler CPMD v. 3.5 on an cluster of 10 of 1GHz Intel PC
machines running Redhat 7.2.
I'm using next Makefile:
#----------------------------------------------------------------------------
# Makefile for cpmd.x (plane wave electronic calculation)
# Configuration: PC-PGI-MPI
# Creation of Makefile: May 21 2002
# on Linux cluster.iimatercu.unam.mx 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT
2001 i686 unknown
# Author: cluster.iimatercu.unam.mx!ccdiazt
#----------------------------------------------------------------------------
#
SHELL = /bin/sh
#
#--------------- Default Configuration for PC-PGI-MPI ---------------
SRC = .
DEST = .
BIN = .
#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS = -L. -lmm
FFLAGS = -Mr8 -pc64 -byteswapio -Msignextend -Msecond_underscore
LFLAGS = -L/usr/pgi/linux86/lib -llapack \
-L/usr/local/mpich-1.2.4/lib -lmpich-pgf77 \
-L/usr/local/lib/ATLAS -lcblas -lf77blas -latlas -byteswapio
CFLAGS =
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT \
-DPARALLEL -DMP_LIBRARY=__MPI
CC = /usr/local/mpich-1.2.4/bin/mpicc -O2 -Wall
FC = /usr/local/mpich-1.2.4/bin/mpif77-pgf77 -c -fast
LD = /usr/local/mpich-1.2.4/bin/mpif77-pgf77 -fast
AR =
#----------------------------------------------------------------------------
and the end of compilation I have the next error:
my_para.o: In function `my_start__':
my_para.o(.text+0x1c): undefined reference to `mpi_init__'
my_para.o: In function `my_end__':
my_para.o(.text+0xcd7): undefined reference to `mpi_finalize__'
my_para.o: In function `my_group__':
my_para.o(.text+0xd1e): undefined reference to `mpi_comm_group__'
my_para.o(.text+0xd4d): undefined reference to `mpi_group_incl__'
my_para.o(.text+0xd74): undefined reference to `mpi_comm_create__'
my_para.o: In function `my_stopall__':
my_para.o(.text+0xddd): undefined reference to `mpi_abort__'
my_para.o: In function `my_sync__':
my_para.o(.text+0xe0f): undefined reference to `mpi_barrier__'
my_para.o: In function `my_environ__':
my_para.o(.text+0xe8d): undefined reference to `mpi_comm_rank__'
my_para.o(.text+0xeab): undefined reference to `mpi_comm_size__'
my_para.o: In function `my_bcast__':
my_para.o(.text+0xf74): undefined reference to `mpi_bcast__'
my_para.o: In function `my_bsend__':
my_para.o(.text+0x133d): undefined reference to `mpi_send__'
my_para.o: In function `my_brecv__':
my_para.o(.text+0x1416): undefined reference to `mpi_recv__'
my_para.o: In function `my_concat__':
my_para.o(.text+0x14b1): undefined reference to `mpi_allgather__'
my_para.o: In function `my_trans__':
my_para.o(.text+0x15b0): undefined reference to `mpi_alltoall__'
my_para.o: In function `my_combine__':
my_para.o(.text+0x16fc): undefined reference to `mpi_allreduce__'
my_para.o(.text+0x1753): undefined reference to `mpi_allreduce__'
my_para.o(.text+0x17bc): undefined reference to `mpi_allreduce__'
my_para.o(.text+0x1825): undefined reference to `mpi_allreduce__'
my_para.o(.text+0x187a): undefined reference to `mpi_allreduce__'
my_para.o: In function `my_shift__':
my_para.o(.text+0x1951): undefined reference to `mpi_comm_rank__'
my_para.o(.text+0x199e): undefined reference to `mpi_comm_size__'
my_para.o(.text+0x1a64): undefined reference to `mpi_isend__'
my_para.o(.text+0x1adc): undefined reference to `mpi_recv__'
make: *** [cpmd.x] Error 1
I use a MPI for communications with nodes.
Many thanks,
Best regards,
C.C.Díaz
--
_________________________________________________________
Fís. César Carlos Díaz Torrejón
Administrador de Sistemas Unix
Instituto de Investigaciones en Materiales, UNAM
Oficina: A-007
e-mail: ccdiazt at kaliman.iimatercu.unam.mx
tel: (5)6224611 (oficina)
________________________________________________________
More information about the CPMD-list
mailing list