Author Topic: Stiff command problem with parfeap  (Read 14217 times)

aleximos

  • Jr. Member
  • **
  • Posts: 34
Stiff command problem with parfeap
« on: March 07, 2013, 08:17:44 AM »
Hi,

I am trying to run a simulation with 30000 elements. When  I put nodal stiffness by using "stiff" command to some nodes I get such an error "PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range".
I attached the full log file for the error.

If I dont use any nodal stiffness in the same problem, there is no such an error.

What could be the reason and solution for that? Any ideas are welcome.

Thanks

aleximos

  • Jr. Member
  • **
  • Posts: 34
Re: Stiff command problem with parfeap
« Reply #1 on: March 07, 2013, 08:30:28 AM »
By the way I am using feap83 with petscience 3.2.p7.

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Stiff command problem with parfeap
« Reply #2 on: March 07, 2013, 09:34:01 AM »
Two things to do:
1) run with petsc option --attach_debugger_on_error
That will allow you to generate a stack trace
2) run with valgrind

In the meantime we will look to see what about 'stiff' can cause the error.

aleximos

  • Jr. Member
  • **
  • Posts: 34
Re: Stiff command problem with parfeap
« Reply #3 on: March 07, 2013, 11:38:18 AM »
I noticed that the problem doesnt come always.

I tried to run parfeap by using 1x1x1 cube with 1000 element. I attached nodal stiffness in x and y directions to all nodes at y=1.
If I run parfeap with 2 partitions it works. But with 3 or 4 partitions it crashes.  ???

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Stiff command problem with parfeap
« Reply #4 on: March 08, 2013, 12:12:03 AM »
Can you please post a your input file (the simplest one that demonstrates the problem).

aleximos

  • Jr. Member
  • **
  • Posts: 34
Re: Stiff command problem with parfeap
« Reply #5 on: March 08, 2013, 12:49:42 AM »
thank you!

aleximos

  • Jr. Member
  • **
  • Posts: 34
Re: Stiff command problem with parfeap
« Reply #6 on: March 19, 2013, 04:34:07 AM »
Dear Admins, is there any solution to this problem?
Have you observed the same thing?

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Stiff command problem with parfeap
« Reply #7 on: March 20, 2013, 10:21:09 PM »
I tried to run your problem in serial but I could not get it to run.

Can you edit your file to include a batch script that will run the problem in serial?

aleximos

  • Jr. Member
  • **
  • Posts: 34
Re: Stiff command problem with parfeap
« Reply #8 on: March 21, 2013, 12:12:08 AM »
You also observed the same problem?

This is the input file to run the same problem in serial.

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Stiff command problem with parfeap
« Reply #9 on: March 21, 2013, 09:58:51 AM »
Thanks.  The problem seems to run in serial now.

In parallel, it is throwing a memory error.  We will try to track it down.

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Stiff command problem with parfeap
« Reply #10 on: March 21, 2013, 01:27:14 PM »
Aleximos,
  we have found the error.  it seems that nodal spring/mass/dampers were never set up to properly run in parallel.  On the runs that 'worked' you simply got lucky with how the memory was laid out.  But with other size problems all sorts of data was getting overwritten.
  we are working on a fix (within 8.4 the next release) hopefully it will also be back portable.

aleximos

  • Jr. Member
  • **
  • Posts: 34
Re: Stiff command problem with parfeap
« Reply #11 on: March 22, 2013, 12:08:15 AM »
When is coming new release approximately? Is there any date?

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Stiff command problem with parfeap
« Reply #12 on: March 22, 2013, 08:58:51 AM »
Hopefully in the month.

pjarz

  • Jr. Member
  • **
  • Posts: 12
Re: Stiff command problem with parfeap
« Reply #13 on: March 14, 2014, 05:41:57 AM »
Could you send a fix for version FEAP 8.3 ?