makedep not found

bari... at bari... at
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_LIB = $(MKLROOT)/lib/em64t

libint.a -lstdc++

##-heap-arrays 64 gives DEALLOCTE errors (maybe size is too big?)
arrays -Vaxlib -fpp -free
LIBS     = $(INTEL_LIB)/libfftw3xf_intel.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

thanks and regards

On Jun 20, 1:21 pm, Laino Teodoro <teodor... at> 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)
> 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 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