Author Topic: compilation error  (Read 6118 times)

zhuying0727

  • New Member
  • *
  • Posts: 3
compilation error
« on: March 18, 2015, 08:01:10 PM »
Dear professor Tayor and FEAP Admin:
I am very glad to write to you.I am a college student from China. Thank your for providing us a useful software by Finite Element Method. As I am a new user, I apologize if my question might be naive.
I have some questions about Debug FEAPpv by Intel Visual Fortran when I want to change original code. The compiler can build FEAPpv.exe. But IVF  signals a run-time error when running this program. I find the error is in the 111st row in the vinput.f."if(n.gt.no.and.nv.le.nn) call setval(xxx(no:n),n-no,d(nv))". The array xxx has substring ending point 16 which is greater than the variable length of 15.
However, IVF does't signal a run-time error when running this program by release version.
I build debug/release version in windows 7/64bit - 32 bit environment/intel fortran 11. Any help is greatly appreciated.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2649
Re: compilation error
« Reply #1 on: March 19, 2015, 08:08:48 AM »
Thank you for the post.  Do you have any idea which routine called 'vinput' to produce this error?  That should be the source of the error.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2649
Re: compilation error
« Reply #2 on: March 19, 2015, 08:33:43 AM »
There are some errors in processing solution commands.  The attached file shows where the errors are located.  The parameter "50" should be changed to "80" in the 6 locations.

Hopefully this corrects the error you have located. 

Note that this correction does not apply to FEAP only FEAPpv.

Thank you again.

zhuying0727

  • New Member
  • *
  • Posts: 3
Re: compilation error
« Reply #3 on: March 20, 2015, 01:49:15 AM »
Thank you for the post.  Do you have any idea which routine called 'vinput' to produce this error?  That should be the source of the error.
Thank you for your help.
I have solved the problem.If the compiler builds feap.exe by debug version in x64 configuration and I use include files that are from integer8,IVF  won't signal a run-time error and I can get correct solution.