FEAP User Forum
FEAP => FEAPpv => Topic started by: monavari 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,
-
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
setvar = palloc(24,'PROP2',2,2)
to some thing like
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.
-
The patch attached should fix the problem. Place in the program directory.