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

Johannes Wagner joh... at gmail.com
Tue Oct 27 16:28:41 UTC 2015


Hi,
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
DFLAGS   =
FCFLAGS  = -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form 
$(DFLAGS)
LDFLAGS  = $(FCFLAGS)
LIBS     = -Wl,-framework -Wl,accelerate -Wl,-Y -Wl,10

thanks for any help!
Johannes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20151027/70babc33/attachment.htm>


More information about the CP2K-user mailing list