CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Problem running in batch

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By renatovj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2014, 15:43
Question Problem running in batch
  #1
New Member
 
Renato Venturatto Junior
Join Date: May 2014
Posts: 18
Rep Power: 11
renatovj is on a distinguished road
Hello my friends,

Need your help very much!

I`m running a case of a simple cylinder with water flowing around it (Linux,2D,lam,transient Fluent 13.0).There`s a UDF hooked to the case and I`m tryinng to run it in batch mode.The following errors occur only when the UDF is hooked to the case:

Comand:
venturatto/teste_FSI_cilindro_2% fluent 2ddp -g -t1 < parameters.txt > output_cylinder_FSI_2_UDF
Error:
Primitive Error at Node 0: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (lnamd64).

No such file or directory
/opt/home/venturatto/teste_FSI_cilindro_2/libudf/lnamd64/2ddp_node/libudf.so

Error: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (lnamd64).

No such file or directory
/opt/home/venturatto/teste_FSI_cilindro_2/libudf/lnamd64/2ddp_host/libudf.so
Error Object: #f

================================================== ============================
Stack backtrace generated for node id 0 (pid = 28552) on signal 11 :
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0[0x13f2ff6]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0[0x13f6e68]
/lib64/libc.so.6(+0x34e10)[0x7f8ba3332e10]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0(user_sources+0x49f)[0x4ab70f]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0[0x833584]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0[0x84a7f0]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0(Solve_V+0x155)[0x830ee5]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0[0x82f5fe]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0(Models_Send_update_solve+0x194)[0x6af3d4]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0[0x5c794b]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0(Flow_Iterate+0xa2)[0x5c68c2]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0[0x64d8db]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0(eval+0x7cc)[0x140841c]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0(PRF_Command_Start+0x110c)[0x67f7ac]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0(PRF_Node_repl+0x2e)[0x67dcde]
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp_node/fluent_mpi.13.0.0(main+0x332)[0xf62482]
Check the file fluenterror.log for details.
Please include this information with any bug report you file on this issue!
================================================== ============================


Primitive Error at Node 0: received Segmentation Violation


Error: Compute node encountered error

Error Object: #f

I tried to substitute the specification of the number of cores (-t1) for:
Command:
venturatto/teste_FSI_cilindro_2% fluent 2ddp -g -i < parameters.txt > output_cylinder_FSI_2_UDF

Which gives the error:

venturatto/teste_FSI_cilindro_2% fluent 2ddp -g -i < parametros.txt > saida_cilindro_FSI_2_UDF
/opt/cfd/fluent13/v130/fluent/fluent13.0.0/cortex/lnamd64/cortex.13.0.0 -f fluent -g -newcx (fluent "2ddp -r13.0.0 -path/opt/cfd/fluent13/v130/fluent")
Starting /opt/cfd/fluent13/v130/fluent/fluent13.0.0/lnamd64/2ddp/fluent.13.0.0 -cx sgi3:57287:44763

Welcome to ANSYS FLUENT 13.0.0

Copyright 2010 ANSYS Inc.
All Rights Reserved. Unauthorized use, distribution or duplication
is prohibited. ANSYS and FLUENT are trademarks or registered trademarks
of ANSYS, Inc. or its subsidiaries in the United States or other countries.

Build Time: Oct 11 2010 23:42:53 EDT Build Id: 10703
Loading "/opt/cfd/fluent13/v130/fluent/fluent13.0.0/lib/flprim.dmp.1119-64"
Done.

Error: Divergence detected in AMG solver
Error Object: #f

Please, any ideas?
renatovj is offline   Reply With Quote

Old   December 15, 2014, 07:15
Default Solution
  #2
New Member
 
Renato Venturatto Junior
Join Date: May 2014
Posts: 18
Rep Power: 11
renatovj is on a distinguished road
I found a solution!

The problem occurred because I had a UDF of the EXECUTE_ON_DEMAND type, used to initialize the variables of the case.

I was not telling Fluent to execute this UDF in my "parameters.txt" file.

mhamad likes this.
renatovj is offline   Reply With Quote

Reply

Tags
divergence detected, segmentation error, udf and programming


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
Problem running movingCylinders case in parallel with foam-extend-3.1 mhkenergy OpenFOAM Running, Solving & CFD 5 March 3, 2017 05:20
problem with running shape_optimization modul Edris SU2 Installation 5 October 23, 2014 10:38
batch file problem Ansys CFX 15.0 papteo CFX 2 January 16, 2014 12:28
[Workbench] 'Batch mode' ICEM CFD problem 86682164 ANSYS Meshing & Geometry 0 August 22, 2013 16:53
Problem with running FoamX in a distributed environment susana OpenFOAM Pre-Processing 1 March 28, 2007 17:11


All times are GMT -4. The time now is 00:20.