error running revision 16221 on a mac (gfortran, non parallel)

Johannes Wagner joh... at
Tue Oct 27 17:28:41 CET 2015

I have been compiling and using cp2k on a mac for a while now and recently 
downloaded the latest trunk (revision 16221)
When I try to compile with the usual makefile for my sopt version, 
compilation runs through but the executable seems faulty...
trying to run gives 

*At line 121 of file ../cp2k/cp2k/src/base/machine_posix.f90 (unit = 
121245)Fortran runtime error: Cannot open file '/proc/self/statm': No such 
file or directory*

If I use the exact same makefile on a fresh svn checkout of version 2.6.2, 
all is good and well.
What may be the problem here?

Here is my simple Darwin-IntelMacintosh-gfortran.sopt

CC       = cc
CPP      =
FC       = gfortran
LD       = gfortran
AR       = ar -r
RANLIB   = ranlib
FCFLAGS  = -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form 
LIBS     = -Wl,-framework -Wl,accelerate -Wl,-Y -Wl,10

thanks for any help!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the CP2K-user mailing list