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

Batch-processing working on Windows but not on Linux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2024, 09:21
Default Batch-processing working on Windows but not on Linux
  #1
New Member
 
Join Date: May 2024
Posts: 2
Rep Power: 0
bradipino is on a distinguished road
Hi, I am writing some code to automatise a the analysis of a large number of simulations and I need to get the post processing working. I have a cse script that works fine if I open it into the CFX Post GUI.

I tested it in batch mode on Windows and it worked withouth issues, so I moved to the Linux Linux HPC system, module loaded Ansys and typed

cfdpost -batch postprocess.cse results.res

For whatever reason things do not work here. I get a lot of

ERROR in WriteCommand: Writing command Key
ERROR in WriteToken: Writing token key


then after two minutes the application times out with error

Warning: token %1 was not used in the message: "socketError: Socket::waitForConnection - Connection timeout after 120s"Warning: token %1 was not used in the message: "socketError: Socket::waitForConnection - Connection timeout after 120s"
QtServicesInterface timeout on socket - Chart Viewer not responding.

signal 11 was caught: SIGSEGV
Warning!

CFD-Post exited with return code 1



I am not an expert of CFX but I've used it before and done some batch post processing on HPC so that's not new to me. The weird thing is that the same exact script (besides the obvious modification to the files paths) worked on Windows but not on a Linux system. Any help? Thanks!
bradipino is offline   Reply With Quote

Old   May 15, 2024, 18:44
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,740
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I have no idea what the problem is. It could be a bug in CFX.

All I can suggest is to set through the script file one line at a time to try to find the problem line. You can do this by generating script files of different lengths from your current file.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   May 17, 2024, 04:23
Default
  #3
New Member
 
Join Date: May 2024
Posts: 2
Rep Power: 0
bradipino is on a distinguished road
I figured out what the error was. Simply some formatting issue. The text file I had produced on Windows needed a dos2unix command before being used as an input for cfdpost on Linux.
bradipino is offline   Reply With Quote

Old   May 17, 2024, 04:55
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,740
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Just a thought - it would have been nice if the error message had said something about unknown EOL characters rather than the very cryptic feedback you appear to have received. Oh well, CFX error messages have always been cryptic.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks 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
[OpenFOAM] How to open virtual linux machine files with windows paraview boffin5 ParaView 4 April 10, 2024 12:17
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Windows XP Batch file help needed DL123 Main CFD Forum 2 July 3, 2009 08:53
Parallel Processing Between Windows and Linux Amir FLUENT 0 February 18, 2005 12:33
read unformatted file in windows and linux autofly Main CFD Forum 7 August 11, 2004 03:24


All times are GMT -4. The time now is 10:55.