makedep not found

bari... at gmail.com bari... at gmail.com
Sat Jun 20 12:06:36 UTC 2009


Thanks Teo

I realized immediately after the post that I forgot to add the arch
file which I did in a subsequent post.

What I have in the arch file is

CC       = icc
CPP      =
FC       = ifort
LD       = ifort
AR       = ar -r

INTEL_INC = $(MKLROOT)/include
INTEL_INCF = $(INTEL_INC)/fftw
INTEL_LIB = $(MKLROOT)/lib/em64t

#LIBINTLIB=$(LIBINTROOT)/lib/
#LIBINTTOOL=$(LIBINTTOOLROOT)/libint_cpp_wrapper.o
#LIBINTLIBS=$(LIBINTTOOL) $(LIBINTLIB)/libderiv.a $(LIBINTLIB)/
libint.a -lstdc++

DFLAGS   = -D__INTEL -D__FFTSG -D__FFTW3 #-D__LIBINT
CPPFLAGS = -C -traditional $(DFLAGS) -I$(INTEL_INC) -I$(INTEL_INCF)
##-heap-arrays 64 gives DEALLOCTE errors (maybe size is too big?)
FCFLAGS  = $(DFLAGS) -I$(INTEL_INC) -I$(INTEL_INCF) -O3 -xHOST -heap-
arrays -Vaxlib -fpp -free
LDFLAGS  = $(FCFLAGS)
LIBS     = $(INTEL_LIB)/libfftw3xf_intel.a\
	   $(INTEL_LIB)/libmkl_lapack.a\
	   $(INTEL_LIB)/libmkl_em64t.a\
	   $(INTEL_LIB)/libiomp5.a\
	   $(INTEL_LIB)/libguide.a -lpthread #$(LIBINTLIBS)


OBJECTS_ARCHITECTURE = machine_intel.o


in the makedepf90-build folder I actually have an executable which
when i test run gives the output below.
I have also harmonized the C compile in the tools/makedepf90/
Makefile.def with the arch file


-W	print warning messages about missing includes/modules.

-m fmt	Write mod-file names using the format 'fmt'.
	'fmt' may contain any of the following modifiers:
	  '%%' for '%'
	  '%f' for name of the source file (without suffix),
	  '%m' for 'modulename' (in lowercase)
	  '%M' for 'MODULENAME' (in uppercase).
	Default: "%f.o".

-u module
	Ignore modules named 'module'.

-d file	Make all targets dependent on 'file'.

-r rule	Add 'rule' (indented by a tab) to all dependency lines,
	except lines given rule(s) with the -R option below.
	'rule' may contain the modifiers:
	  '%f' for the name (without suffix) of the source file that
	       line was created for.
	  '%%' for '%'

-R pattern rule
	Add 'rule' (indented by a tab) to the dependency
	line for files matching 'pattern', where 'pattern' is a
	"shell pattern", i.e it may contain the wildcards
	  '*' for any number of any characters
	  '?' for any character
	  '[abc]' for any of 'a', 'b' or 'c'.

-fixed	Treat all files as fixed format.

-free	Treat all files as free format.

-o name	Create a dependency line + rule for linking the final
	executable 'name'.

-l rule	Use 'rule' for linking the executable.
	Default: $(FC) -o $@ $(FFLAGS) $(LDFLAGS) $(FOBJ) $(LIBS)

-coco	Look for coco set-files.  Implies '-free'.

-D NAME	Define pre-processor symbol 'NAME'

-b PATH	Assume object files are placed in PATH.

-nosrc	Remove the explicit dependency on the source file

-I PATH1:PATH2:...
	Search path(s) for source files


Report bugs to erik.e... at iki.fi

thanks and regards

Baribefe
On Jun 20, 1:21 pm, Laino Teodoro <teodor... at gmail.com> wrote:
> Clearly the compilation of the makedepf90 tool did not succeed in  
> your case.
> Check about the C compiler you are using and post more info if you  
> want more help.
>
> I would recommend in particular:
> 1) cd cp2k/makefiles
> 2) make distclean (this cleans everything)
> 3) make <PUT_HERE_THE_VERSION_YOU_ARE_TRYING_TO_COMPILE>  
> ARCH=<YOUR_ARCHITECTURE>
> 4) post EVERYTHING you see on screen
> 5) post also the arch file corresponding to the information above.
>
> Teo
>
> On 20 Jun 2009, at 13:14, bari... at gmail.com wrote:
>
>
>
> > Hi All
>
> > I am trying to compile cp2k and I get the following error:
>
> > /bin/sh: /user/home/gent/vsc400/vsc40047/work/cp2k/cp2k/makefiles/../
> > obj/Linux-x86-64-intel/tools/makedepf90: No such file or directory
> > make[1]: *** [all.dep] Error 1
> > make[1]: Leaving directory `/user/home/gent/vsc400/vsc40047/work/cp2k/
> > cp2k/src'
> > make: *** [build] Error 2
>
> > looking at ../obj/Linux-x86-64-intel/tools/ i find a directory named
> > makedepf90-build instead
>
> > any pointers is appreciated
>
> > many thanks
>
> > Baribefe


More information about the CP2K-user mailing list