Author Topic: run time error : Cannot access block at zero offset  (Read 4178 times)

ace21

  • Jr. Member
  • **
  • Posts: 27
run time error : Cannot access block at zero offset
« on: November 04, 2016, 10:00:02 AM »
Dear FEAP users

I had to reinstall feap ver 8.2 on a new machine since my previous machine became faulty, I used the same source files from my previous machine which compiled and ran perfectly on it

The problem is that on my new machine , the executable is made but when I run simple example (Ex1 from example manual) , it gives the error " Cannot access block at zero offset"

I figure this is some memory problem since this error is printed  in cmem.c file

It would be great if I can get some suggestions to resolve this problem


Thanks

 

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: run time error : Cannot access block at zero offset
« Reply #1 on: November 04, 2016, 11:32:37 AM »
did your old computer use integer4 includes -- you need to use integer8 ones in the new build probably.

ace21

  • Jr. Member
  • **
  • Posts: 27
Re: run time error : Cannot access block at zero offset
« Reply #2 on: November 07, 2016, 04:23:36 AM »
thanks a lot Prof Taylor that solved the problem, however I also commented the otimization flags in makefile.in, they were also causing the "block offset" and "segmentation fault"  errors