[CPMD-list] CPMD3.11 compilation problem

Zhang Bing nnizb at nus.edu.sg
Fri Sep 29 13:10:09 CEST 2006


Dear all:

 

When compiling CPMD3.11 on our Itanium IA64 machines
(LINUX_IA64_INTEL_MPI configuration), I notice that the compilation in
fact is successfully. The only problem is at the final stage to link all
the obj files to form the cpmd.x.

 

It failed at the line below (inside the Makefile).

 

#-----------------------------------------------------------------------
-----
# Compile cpmd.x
#-----------------------------------------------------------------------
-----
cpmd.x : cpmd.o $(OBJECTS)   $(OBJ_CC)
        rm -f timetag.f
        $(CPP) $(CPPFLAGS) $(SRC)/timetag.F ./timetag.f
        $(FC) $(FFLAGS) ./timetag.f
        rm -f $@
        if [ "$(BIN)" != "." ]; then ln -s $(BIN)/cpmd.x cpmd.x; fi
        $(LD) -o $(BIN)/cpmd.x cpmd.o timetag.o $(OBJECTS) $(OBJ_CC)
$(LFLAGS)

And the error message is:

 

ld: --relax and -r may not be used together
make: *** [cpmd.x] Error 1

 

 

I have no idea of this error message,  could you kindly give me some
advice? Any help from you will be greatly appreciated!

 

Zhang Bing

 

Nanoscience and Nanotechnology Initiative

National University of Singapore

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cpmd.org/pipermail/cpmd-list/attachments/20060929/b70dfe69/attachment.html 


More information about the CPMD-list mailing list