CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

CFX Segmentation violation ERROR #001100279

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By ghorrocks
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 16, 2021, 12:58
Default CFX Segmentation violation ERROR #001100279
  #1
New Member
 
Join Date: Feb 2021
Location: France
Posts: 13
Rep Power: 6
Amir_line is on a distinguished road
Hello, everyone!

I try to do a simulation with CFX and using a user Fortran subroutine in Linux machine. When I compile and lance CFX solver, I obtain this error .

my subroutine integral a function from 0 => +infinity. When I use integral from 0.2 => +infinity it works normally but when I integrate from 0 or 0.1 => +infinity it gives me this error. (I tested my integral in online compiler without CFX and it works normally)

Parallel run: Received message from slave

-----------------------------------------

Slave partition : 14

Slave routine : ErrAction

Master location : Message Handler

Message label : 001100279

Message follows below - :



+--------------------------------------------------------------------+

| ERROR #001100279 has occurred in subroutine ErrAction. |

| Message: |

| Signal caught: Segmentation violation |

| |

| |

| |

| |

| |

+--------------------------------------------------------------------+



Parallel run: Received message from slave

-----------------------------------------

Slave partition : 14

Slave routine : ErrAction

Master location : Message Handler

Message label : 001100279

Message follows below - :



+--------------------------------------------------------------------+

| ERROR #001100279 has occurred in subroutine ErrAction. |

| Message: |

| Stopped in routine FPX: SIG_HANDLER |

| |

| |

| |

| |

| |

+--------------------------------------------------------------------+



+--------------------------------------------------------------------+

| ERROR #001100279 has occurred in subroutine MESG_RETRIEVE. |

| Message: |

| Stopping the run due to error(s) reported above |

| |

| |

| |

| |

| |

+--------------------------------------------------------------------+



+--------------------------------------------------------------------+

| An error has occurred in cfx5solve: |

| |

| The ANSYS CFX solver exited with return code 1. No results file |

| has been created. |

+--------------------------------------------------------------------+

can anyone help me, please?
Amir_line is offline   Reply With Quote

Old   February 16, 2021, 15:21
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 18,001
Rep Power: 146
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It looks like your function is not working as you expect. You need to do some basic debugging on your routine, get it to print out values from the routine and check they are what you expect.
Amir_line likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   February 16, 2021, 15:46
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 1,927
Rep Power: 34
Opaque will become famous soon enough
From the output, it seems you are running in parallel, correct?

I will follow Glenn's suggestion of debugging your routine first in serial mode, and once it is working to your expectations try it in parallel mode, and repeat the debugging if needed.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   February 16, 2021, 18:07
Default
  #4
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,994
Rep Power: 29
Gert-Jan will become famous soon enough
Your routine seems to work fine if you integrate starting from 0.2, but not from 0.

Then everything looks fine, except for the function that you integrate. So the question is: how does your function look like?
Gert-Jan is offline   Reply With Quote

Old   February 17, 2021, 06:42
Default
  #5
New Member
 
Join Date: Feb 2021
Location: France
Posts: 13
Rep Power: 6
Amir_line is on a distinguished road
Thanks Glenn for your reply!
I have checked that the values are good if I integrate from 0.2 => infinity (I compared them with a python code and with an online compiler Fortran).
Amir_line is offline   Reply With Quote

Old   February 17, 2021, 06:48
Default
  #6
New Member
 
Join Date: Feb 2021
Location: France
Posts: 13
Rep Power: 6
Amir_line is on a distinguished road
Quote:
Originally Posted by Opaque View Post
From the output, it seems you are running in parallel, correct?

I will follow Glenn's suggestion of debugging your routine first in serial mode, and once it is working to your expectations try it in parallel mode, and repeat the debugging if needed.
Thanks Opaque!
I tested in serial mode but the same problem appears.
Amir_line is offline   Reply With Quote

Old   February 17, 2021, 06:56
Default
  #7
New Member
 
Join Date: Feb 2021
Location: France
Posts: 13
Rep Power: 6
Amir_line is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
Your routine seems to work fine if you integrate starting from 0.2, but not from 0.

Then everything looks fine, except for the function that you integrate. So the question is: how does your function look like?
Thanks Gert,

My function is Gaussian. See the picture below.
Attached Images
File Type: jpg fonction.JPG (16.4 KB, 18 views)
Amir_line is offline   Reply With Quote

Old   February 17, 2021, 07:12
Default
  #8
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,994
Rep Power: 29
Gert-Jan will become famous soon enough
Nice picture, but it doesn't explain a lot.
What functions in CFX are present on your X and Y-axis?
Gert-Jan is offline   Reply With Quote

Old   March 2, 2021, 11:04
Default
  #9
New Member
 
Join Date: Feb 2021
Location: France
Posts: 13
Rep Power: 6
Amir_line is on a distinguished road
Hello!
Thanks all, we find the problem, it was in the cluster (Linux machine). When we try the integral in windows machine, it works normally.
Amir_line is offline   Reply With Quote

Old   March 2, 2021, 11:53
Default
  #10
Senior Member
 
Join Date: Jun 2009
Posts: 1,927
Rep Power: 34
Opaque will become famous soon enough
Glad to hear you are getting results.

However, it is a very bad sign that it works on a Windows cluster and not on the Linux cluster.

From experience, it is a sign that something is wrong with the code and the different initialization paradigms between Windows and Linux can produce a false positive that the code is working. Just beware that something else is lurking in those simulations.
Amir_line likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.

Last edited by Opaque; March 2, 2021 at 11:54. Reason: typo
Opaque is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
signal 11, segmentation violation, DISPLAY variable sakalido CFX 1 December 20, 2013 18:03
Segmentation violation error...why??? be89 Fluent UDF and Scheme Programming 0 September 6, 2011 17:01
A fatal signal (segmentation violation) sutthinan Fluent UDF and Scheme Programming 6 March 16, 2011 19:35
SEGMENTATION VIOLATION kROZ FLUENT 1 May 4, 2006 10:12
SEGMENTATION VIOLATION Arif FLUENT 3 May 27, 2003 09:24


All times are GMT -4. The time now is 09:14.