<div dir="ltr"><br>Hi,<br>I have been compiling and using cp2k on a mac for a while now and recently downloaded the latest trunk (revision 16221)<br>When I try to compile with the usual makefile for my sopt version, compilation runs through but the executable seems faulty...<br>trying to run gives <br><i><br>At line 121 of file ../cp2k/cp2k/src/base/machine_posix.f90 (unit = 121245)<br>Fortran runtime error: Cannot open file '/proc/self/statm': No such file or directory</i><br><br>If I use the exact same makefile on a fresh svn checkout of version 2.6.2, all is good and well.<br>What may be the problem here?<br><br>Here is my simple Darwin-IntelMacintosh-gfortran.sopt<br><br>CC       = cc<br>CPP      =<br>FC       = gfortran<br>LD       = gfortran<br>AR       = ar -r<br>RANLIB   = ranlib<br>DFLAGS   =<br>FCFLAGS  = -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form $(DFLAGS)<br>LDFLAGS  = $(FCFLAGS)<br>LIBS     = -Wl,-framework -Wl,accelerate -Wl,-Y -Wl,10<br><br>thanks for any help!<br>Johannes<br><br></div>