[CPMD-list] cpmd-3.9.2 run error

haider abbas haiderabbasphy at yahoo.co.in
Fri Dec 16 07:23:52 CET 2005


Dear all cpmd user,

runnin cpmd-3.9.2 shows on the terminal

haider at robin:~> cd cp9
haider at robin:~/cp9> cpmd.x inp-1>out-1&
[1] 11658
haider at robin:~/cp9> bash: ./cpmd.x: cannot execute
binary file

I have compiled cpmd-3.9.2 using the makefile

----------------------------------------------------------------------------
# Makefile for cpmd.x (plane wave electronic
calculation)
# Configuration: PC-IFC-P4
# Creation of Makefile: Dec 16 2005
# on Linux robin 2.4.21-15.EL #1 Sun May 16 02:45:06
EDT 2004 i686 athlon i386 GNU/Linux
# Author: haider
#----------------------------------------------------------------------------
#
SHELL = /bin/sh
#
#--------------- Default Configuration for PC-IFC-P4
---------------
SRC  = .
DEST = .
BIN  = .
#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS  = -L. -lmm
FFLAGS = -c -w90 -w95 -O2 -pc64 -unroll -tune pn4
-arch pn4 
LFLAGS = -L.-latlas $(QMMM_LIBS)
CFLAGS = -c -O2 -Wall
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__Linux -D__PGI -DFFT_DEFAULT -DLINUX_IFC
 
NOOPT_FLAG = 
CC = gcc 
FC = ifort 
LD = ifort -i-static 
AR = ar
#----------------------------------------------------------------------------
CFGDEST = .
CFGMACH = PC-IFC-P4
#
#  LIST OF FILES


and the few lines before the completion of compilation
are


mm_cpmd_ext_pot_f77.o mm_mddiag.o mm_forces_diag.o
mm_rho_forcedr.o vdwin.o vdw.o bs_forces_diag.o
bswfo.o lsforce.o setbsstate.o wrccfl.o  sysdepend.o 
-L.-latlas
/opt/intel_fc_80/lib/libifcoremt.a(for_open_proc.o)(.text+0x3c56):
In function `for__compute_filename':
: Using 'getpwnam' in statically linked applications
requires at runtime the shared libraries from the
glibc version used for linking
/opt/intel_fc_80/lib/libifcoremt.a(for_open_proc.o)(.text+0x3d39):
In function `for__compute_filename':
: Using 'getpwuid' in statically linked applications
requires at runtime the shared libraries from the
glibc version used for linking
haider at robin:~/codes/CPMD-3.9.2/SOURCE>


could you please tell me what is wrong however, on the
same machine cpmd-3.7.2 is working well

thanks 
yours sincerely 
Haider Abbas






Send instant messages to your online friends http://in.messenger.yahoo.com 



More information about the CPMD-list mailing list