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

fluent performance degradation: sched_setaffinity() call failed

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2016, 02:15
Default fluent performance degradation: sched_setaffinity() call failed
  #1
New Member
 
puneet
Join Date: Nov 2015
Posts: 19
Rep Power: 10
puneet336 is on a distinguished road
Hi,
i am using version 15.0 of fluent on centos6 with intel mpi

time -p fluent -g 3d -t 16 -i jour.jou -mpi=intel
i get :
sched_setaffinity() call failed: Invalid argument
sched_setaffinity() call failed: Invalid argument
sched_setaffinity() call failed: Invalid argument
sched_setaffinity() call failed: Invalid argument
sched_setaffinity() call failed: Invalid argument
also i tried with:
time -p fluent -g 3d -t 16 -i jour.jou -mpi=openmpi
and again i get same message.

i ran HPL on the node and performance was normal. It was then that i noticed that wheneaver sched_setaffinity() call failed, my job experiences degraded performance.Ans also it writes out some files.
(journal.jou)
/solve/set/time-step 0.0005
/solve/dual-time-iterate 100000 150
and even after 24 hours, i cannot see even a single cas/dat file (maybe due to the slowness??).

Is there any command line argument/switch via which i can provide "valid argument" to sched_setaffinity via fluent ?

please let me know if more information is needed from my side.
puneet336 is offline   Reply With Quote

Old   April 27, 2016, 16:16
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,673
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Try running on fewer threads, e.g. -t 8
If that works...

Check your hosts file to make sure you have 16 entries.
Check your mpi

You can manually set affinity using set-affinity

To automatically set affinity use:
(set-affinity "")

To manually set affinity use:
(set-affinity "node-id1 processor1 node-id2 processor2 ...")

e.g. if your machine host file is
machine-1 machine-1 machine-2 machine-2
(set-affinity "0 0 1 1 2 0 3 1")

will specify
node0 to run on processor-0 of machine-1
node1 to run on processor-1 of machine-1

node2 to run on processor-0 of machine-2
node3 to run on processor-1 of machine-2
LuckyTran is offline   Reply With Quote

Old   October 27, 2018, 01:29
Default
  #3
Senior Member
 
SinaJ
Join Date: Nov 2009
Posts: 136
Rep Power: 16
sina_mech is on a distinguished road
Quote:
Originally Posted by puneet336 View Post
Hi,
i am using version 15.0 of fluent on centos6 with intel mpi

time -p fluent -g 3d -t 16 -i jour.jou -mpi=intel
i get :
sched_setaffinity() call failed: Invalid argument
sched_setaffinity() call failed: Invalid argument
sched_setaffinity() call failed: Invalid argument
sched_setaffinity() call failed: Invalid argument
sched_setaffinity() call failed: Invalid argument
also i tried with:
time -p fluent -g 3d -t 16 -i jour.jou -mpi=openmpi
and again i get same message.

i ran HPL on the node and performance was normal. It was then that i noticed that wheneaver sched_setaffinity() call failed, my job experiences degraded performance.Ans also it writes out some files.
(journal.jou)
/solve/set/time-step 0.0005
/solve/dual-time-iterate 100000 150
and even after 24 hours, i cannot see even a single cas/dat file (maybe due to the slowness??).

Is there any command line argument/switch via which i can provide "valid argument" to sched_setaffinity via fluent ?

please let me know if more information is needed from my side.

Could you solve this problem? I am facing the same issue. I'd appreciate if you share your experience.
sina_mech is offline   Reply With Quote

Old   October 27, 2018, 14:15
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,673
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by sina_mech View Post
Could you solve this problem? I am facing the same issue. I'd appreciate if you share your experience.

It's trying to set the process affinity for the thread to the job scheduler. Meaning it wants the process to have priority over other tasks in cpu and memory. But it fails, which means you don't have priority and that's why your calculation runs slow. I'm not familiar with CentOS so I can't help you further. The problem isn't Fluent, it's something in your environment.


I've never seen this command time fluent. Is that CentOS specific?
LuckyTran is offline   Reply With Quote

Old   October 27, 2018, 15:17
Default
  #5
Senior Member
 
SinaJ
Join Date: Nov 2009
Posts: 136
Rep Power: 16
sina_mech is on a distinguished road
It is a CentOS 7. If it is not Fluent, then there should be something that our HPC admins can do to fix it. I will keep searching.
sina_mech is offline   Reply With Quote

Reply


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
Linux Fluent HPC parallel system check failed saad3000 FLUENT 1 January 8, 2021 03:34
Transient boundary conditions Jarrod Sinclair (Sinclair) OpenFOAM Running, Solving & CFD 133 May 6, 2015 06:21
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
[OpenFOAM] ParaView/Parafoam error when making animation Disco_Caine ParaView 6 September 28, 2010 09:54
Performance of fluent on win200 and linux Seb FLUENT 7 February 5, 2004 15:08


All times are GMT -4. The time now is 18:08.