[CPMD-list] compiling warings but it works
liu liuxiandong
xiandongliu at gmail.com
Sat Mar 24 03:09:09 CET 2007
Dear all,
I make CPMD-3.11.1 on Xeon-CPU linux cluster, and got the following
warnings. But the compilation is successful and the cpmd.x indeed works for
several tests. I am not sure what the warings mean. Thanks for any
suggestions.
Best.
The CONFIGURE content is,
#INFO#
IRAT=2
CFLAGS='-O3 -Wall'
CPP='/lib/cpp -P -C -traditional'
CPPFLAGS='-D__Linux -D__PGI -DFFT_DEFAULT -DPOINTER8 \
-DPARALLEL -DMYRINET -DLINUX_IFC -DMP_LIBRARY=__MPI
-DINTEL_MKL'
FFLAGS='-c -w90 -w95 -O3 -unroll -tpp7 -cm'
LFLAGS='-static-libcxa -Xlinker -Bstatic -lsvml
-L/opt/intel/mpi/2.0/lib64 -lmpi -L/opt/intel/cmkl/8.0/lib/em64t
-lmkl_lapack -lmkl_em64t -lguide -Vaxlib -Xlinker -Bdynamic -lpthread'
FFLAGS_GROMOS=' $(FFLAGS)'
if [ $debug ]; then
FC='mpiifort -c -g'
CC='mpiicc -g -Wall'
LD='mpiifort -g'
else
FC='mpiifort -c '
CC='mpiicc'
LD='mpiifort -i-static'
fi
-------------------------------------------------------------------------------------------
The warings are,
./sysdepend.c(57): remark #1418: external definition with no prior
declaration
double derf_(double *value)
^
./sysdepend.c(59): remark #310: old-style parameter list (anachronism)
double erf();
^
./sysdepend.c(59): remark #1419: external declaration in primary source file
double erf();
^
./sysdepend.c(63): remark #1418: external definition with no prior
declaration
double derfc_(double *value)
^
./sysdepend.c(65): remark #310: old-style parameter list (anachronism)
double erfc();
^
./sysdepend.c(65): remark #1419: external declaration in primary source file
double erfc();
^
./sysdepend.c(415): remark #1418: external definition with no prior
declaration
void silentstdout_(void)
^
./sysdepend.c(446): remark #1418: external definition with no prior
declaration
void printmemsize_(void)
^
./sysdepend.c(503): remark #1418: external definition with no prior
declaration
double timef_() {
^
./sysdepend.c(552): remark #310: old-style parameter list (anachronism)
const char *s;
^
./sysdepend.c(553): remark #310: old-style parameter list (anachronism)
const int sz;
^
./sysdepend.c(551): remark #1418: external definition with no prior
declaration
char *f77strdup(s,sz)
^
./sysdepend.c(565): remark #310: old-style parameter list (anachronism)
char *n;
^
./sysdepend.c(566): remark #310: old-style parameter list (anachronism)
int sz;
^
./sysdepend.c(564): remark #1418: external definition with no prior
declaration
void rmfile_(n,sz)
^
./sysdepend.c(570): remark #180: argument is incompatible with formal
parameter
name = f77strdup(n,sz);
^
./sysdepend.c(583): remark #310: old-style parameter list (anachronism)
const char *o;
^
./sysdepend.c(584): remark #310: old-style parameter list (anachronism)
const char *n;
^
./sysdepend.c(585): remark #310: old-style parameter list (anachronism)
int os;
^
./sysdepend.c(586): remark #310: old-style parameter list (anachronism)
int ns;
^
./sysdepend.c(582): remark #1418: external definition with no prior
declaration
void cpfile_(o, n, os, ns)
^
./sysdepend.c(600): remark #1682: implicit conversion of a 64-bit integral
type to a smaller integral type (potential portability problem)
sz = fread(iobuf, 1, IOBUFSIZE, op);
CLOSURE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cpmd.org/pipermail/cpmd-list/attachments/20070324/7cfff6e0/attachment.html
More information about the CPMD-list
mailing list