[Pw_forum] Compilation Error - Cygwin - PGI 8.0.4 Compilers
snd2mra at yahoo.com
snd2mra at yahoo.com
Fri Mar 27 21:15:08 CET 2009
Dear Giannozzi,
Thanks for the reply. I tried commenting the 'stack.o' in the 'Makefile' present in clib/, without altering the contents of 'make.depend'. Now it proceeds all the way upto compiling 'pw.x', but could not find 'clib.a' and quit with the following error. Any suggestions will greatly be appreciated.
Thank you.
- Madan
----------------------------------------
Madan Mithra .L.M
Senior Research Fellow
Dept.of Physics
Indian Institute of Science
Bangalore - 560 012
INDIA
.........................................
e-mail : mit at physics.iisc.ernet.in
: snd2mra at yahoo.com
Phone : 91-80-22932313 (Lab)
: 91-80-22932918 (Hostel-S 46)
FAX : (080) 360 2602
-----------------------------------------
---- Error -----
Appending add_vuspsi_nc.o
Appending add_vuspsi.o
Appending add_efield.o
Appending add_bfield.o
Appending a2fmod.o
ranlib libpw.a
make[1]: *** No rule to make target `../clib/clib.a', needed by `pw.x'. Stop.
make[1]: Leaving directory `/d/Comp/p404new/PW'
make: *** [pw] Error 2
----------------------------------
----- Contents of the Makefile present in clib/ ----------
# Makefile for clib
include ../make.sys
OBJS = \
# stack.o \
c_mkdir.o \
cptimer.o \
fft_stick.o \
indici.o \
memstat.o \
qsort.o
all : clib.a
clib.a : $(OBJS)
$(AR) $(ARFLAGS) $@ $?
$(RANLIB) $@
source :
co -l $(OBJS:.o=.c)
clean :
- rm -f clib.a *.o *.mod *.i core*
include make.depend
-------------
--- On Wed, 3/25/09, Paolo Giannozzi <giannozz at democritos.it> wrote:
> From: Paolo Giannozzi <giannozz at democritos.it>
> Subject: Re: [Pw_forum] Compilation Error - Cygwin - PGI 8.0.4 Compilers
> To: snd2mra at yahoo.com, "PWSCF Forum" <pw_forum at pwscf.org>
> Date: Wednesday, March 25, 2009, 2:06 AM
> On Mar 24, 2009, at 19:58 , snd2mra at yahoo.com wrote:
>
> > checking for dummy main to link with Fortran
> libraries... unknown
> > configure: error: linking to Fortran libraries from C
> fails
>
> in the cvs version you may try "configure
> --disable-check"
>
> > PGC-F-0206-Can't find include file sys/resource.h
> (stack.c: 11)
>
>
> clib/stack.c is used only by the Intel compiler, so you can
> just
> comment the routine stack.c
>
> P.
> ---
> Paolo Giannozzi, Democritos and University of Udine, Italy
More information about the users
mailing list