Author Topic: Problem with Proportional loading type 2 (load table)  (Read 9563 times)

monavari

  • New Member
  • *
  • Posts: 1
Problem with Proportional loading type 2 (load table)
« on: January 21, 2013, 08:45:55 AM »
Hi,
I am trying to run the Iex8(example 8) of feap with feappv.
If I use the same input file with Proportional loading type 2 i get segmentation fault error. but if change it to type 1 it will work nicely!
in general i am not able to use type 2 in any example.

here i wrote both command sets: (type II is commented out)

c TYPE 1

BATCh
  PROP,,1
END
1 0 0 1 0 1 0 0


c TYPE 2

c BATCh
c  PROP
c END
c 2 5
c 0 1   1 1   2 0   3 -1   4 0


is there any problem with feappv ? any suggestion :)

Thanks,

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Problem with Proportional loading type 2 (load table)
« Reply #1 on: January 24, 2013, 10:41:36 AM »
Yes this is bug that was introduced in the last release of the program.  When the program reads the table it is reading it into unallocated memory due to a change in how we manage the programs memory.  We will fix the problem in the next release.
In the meantime the (ugly) work around is for you change line 157 in program/propld.f from
Code: [Select]
                setvar = palloc(24,'PROP2',2,2)
to some thing like
Code: [Select]
                setvar = palloc(24,'PROP2',2*100,2)
where '100' is a number larger than the number of load table pairs you ever expect to use.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2648
Re: Problem with Proportional loading type 2 (load table)
« Reply #2 on: January 25, 2013, 09:19:46 AM »
The patch attached should fix the problem.  Place in the program directory.