<div dir="ltr"><div>Hi Johannes,</div><div>to avoid that message you can add </div><div><br></div><div>-D__NO_STATM_ACCESS<br></div><div><br></div><div>in your DFLAGS variable in the arch file.</div><div><br></div><div>Alfio</div><br><br>Il giorno martedì 27 ottobre 2015 17:28:41 UTC+1, Johannes Wagner ha scritto:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><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_<wbr>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-<wbr>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></blockquote></div>