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

Local Parallel Processing

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 22, 2013, 06:40
Default Local Parallel Processing
  #1
New Member
 
BhaskarD
Join Date: May 2012
Location: Nepal
Posts: 22
Rep Power: 4
Magma is on a distinguished road
Send a message via Skype™ to Magma
Hello,
I had been using local parallel setup for processing for a long time, now the problem I am encountering is, the software runs only on serial mode and stops with error(code 255 or something like that).
I believe there is an option to activate all core (I use i5) somewhere there? Does any one have any idea.
I don't thing the problem is with licensing because the software was running well for a long time.

Help would be appreciated!!!
Magma is offline   Reply With Quote

Old   April 22, 2013, 08:54
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,211
Rep Power: 74
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Please post the error message.
ghorrocks is offline   Reply With Quote

Old   April 22, 2013, 23:43
Default Local Parallel Processing - error
  #3
New Member
 
BhaskarD
Join Date: May 2012
Location: Nepal
Posts: 22
Rep Power: 4
Magma is on a distinguished road
Send a message via Skype™ to Magma
First solver gives the following error:
An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver could not be started, or exited with return |
| code 255: No such file or directory. No results file has been |
| created.


Then the cause of error is given as :
Ansys.Core.Commands.UserReadableFailureException: The CFX Solver for system Copy of CFX did not produce a results file. Detailed information can be found in the output file for the run, which can be viewed by selecting Display Monitors from the Solution component.
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.HandleRun Failure(IFullContext context, CFXSolverRun run)
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.OnTaskRec onnect(IFullContext context, SolverTask task, CommandCancellationStatus interruptStatus)
at Ansys.Addins.Infrastructure.Rsm.Data.SolverTask.Re connect(IFullContext context)
at Ansys.Addins.Infrastructure.Rsm.Data.SolverTask.Wa itForFinish(IFullContext context, Boolean allowBreakWait)
at Ansys.Addins.Infrastructure.Rsm.Data.SolverTask.St art(IFullContext context, ICanStartSolverTask startObject, SolverTaskStartTag startTag)
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.RunSolver WithSolverTask(SolutionSettingsEntity solutionSettings, CFXJobDefinition cfxJobDef, CFXAppInfo cfxAppInfo, CUEAppArgList args, SolverIntermediateData solverData, Boolean forceResume, String runName, Boolean isMultiConfig)
at Ansys.CFX.CFXCore.Data.CFXSolutionSource.RunSolver (IFullContext context, Boolean forceResume)
at Ansys.CFX.CFXCore.Commands.UpdateSolutionCommand.E xecute(IFullContext context)
at Ansys.Core.Commands.Concurrency.CommandWorkUnit.ex ecuteInContext(CommandContext subContext, IExecutionEngineCallback tracer)
at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExe cute(IExecutionEngineCallback executionEngine, CommandContext subContext)
at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execu te(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: The CFX Solver for system Copy of CFX did not produce a results file. Detailed information can be found in the output file for the run, which can be viewed by selecting Display Monitors from the Solution component.
CommandName: CFX.UpdateSolution(Container="Solution 2")
at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
at Ansys.Core.Commands.CommandAsyncResult.Wait()
at Ansys.ProjectSchematic.Data.ComponentTemplateEntit y.Update(IFullContext context, IProgressMonitor progressMonitor, DataContainerReference container, List`1 downstream, List`1 allRemaining)
at Ansys.ProjectSchematic.Update.UpdateImpl.updateCom ponent(IFullContext context, UpdateTask task)
at Ansys.ProjectSchematic.Update.UpdateImpl.<>c__Disp layClass1d.<updateComponentAndDependencies>b__1c()
at Ansys.ProjectSchematic.Update.UpdateImpl.executeWi thSelectedErrorBehaviour(Op op, UpdateTask forTask)
at Ansys.ProjectSchematic.Update.UpdateImpl.updateCom ponentAndDependencies(UpdateTask task, Boolean& didSomething)
at Ansys.ProjectSchematic.Update.UpdateImpl.checkAndU pdateComponent(UpdateTask task, Boolean& didSomething)
at Ansys.ProjectSchematic.Update.UpdateImpl.doOutstan dingTasks(IEnumerable`1 tasks, Boolean& didSomething)
--- System.InvalidOperationException: Update of the Solution component in Copy of CFX failed: The CFX Solver for system Copy of CFX did not produce a results file. Detailed information can be found in the output file for the run, which can be viewed by selecting Display Monitors from the Solution component.
at Ansys.ProjectSchematic.Update.UpdateImpl.doOutstan dingTasks(IEnumerable`1 tasks, Boolean& didSomething)
at Ansys.ProjectSchematic.Update.UpdateImpl.<UpdateCo mponents>d__3.MoveNext()
at Ansys.ProjectSchematic.Commands.UpdateComponentCom mand.<Execute>d__0.MoveNext()
at Ansys.Core.Commands.Concurrency.SuspendableCommand WorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExe cute(IExecutionEngineCallback executionEngine, CommandContext subContext)
at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execu te(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: Update of the Solution component in Copy of CFX failed: The CFX Solver for system Copy of CFX did not produce a results file. Detailed information can be found in the output file for the run, which can be viewed by selecting Display Monitors from the Solution component.
CommandName: UpdateComponent(Component="/Schematic/Component:Solution 2", Force=True)
at Ansys.Core.Commands.CommandAsyncResult.WaitForSusp endOrComplete(Int32 milliSecondsTimeout, Boolean exitContext)
at Ansys.CFX.CFXCore.Commands.UpdateFromSolverManager Gui.Invoke(GuiOperationContext context)
at Ansys.UI.UIManager.<>c__DisplayClassb.<InvokeOpera tion>b__a()
at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction)
Magma is offline   Reply With Quote

Old   April 23, 2013, 11:21
Default
  #4
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 127
Rep Power: 7
hmasenger is on a distinguished road
howmany partitions did you used for parallel processing?did you try just 5 partitions (same part as your number of CPU processores)
hmasenger is online now   Reply With Quote

Old   April 24, 2013, 08:23
Default
  #5
Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 83
Rep Power: 5
monkey1 is on a distinguished road
"Detailed information can be found in the output file for the run, which can be viewed by selecting Display Monitors from the Solution component."

What is logged in the output file as an Error??

And in general without any HPC-Licenses you can run a simulation on max. 4 Cores Local Parallel. Just have to select this option in the solver gui and set the number of cores to 4 (if you have four cores).
monkey1 is offline   Reply With Quote

Old   April 24, 2013, 23:38
Default Local Parallel Processing - error
  #6
New Member
 
BhaskarD
Join Date: May 2012
Location: Nepal
Posts: 22
Rep Power: 4
Magma is on a distinguished road
Send a message via Skype™ to Magma
Quote:
Originally Posted by hmasenger View Post
howmany partitions did you used for parallel processing?did you try just 5 partitions (same part as your number of CPU processores)

Nope I used 2 CPU processors!! and sometimes 3. But either 2, 3, 4 does not work now. Runs just with serial processing.
Magma is offline   Reply With Quote

Old   April 24, 2013, 23:42
Default Local Parallel Processing - error
  #7
New Member
 
BhaskarD
Join Date: May 2012
Location: Nepal
Posts: 22
Rep Power: 4
Magma is on a distinguished road
Send a message via Skype™ to Magma
Quote:
Originally Posted by monkey1 View Post
"Detailed information can be found in the output file for the run, which can be viewed by selecting Display Monitors from the Solution component."

What is logged in the output file as an Error??

And in general without any HPC-Licenses you can run a simulation on max. 4 Cores Local Parallel. Just have to select this option in the solver gui and set the number of cores to 4 (if you have four cores).

Yes I understand there are two ways to set the number of processor, one in pre and one in solver. No matter where it is specified, i the solver ends with error.
Magma is offline   Reply With Quote

Old   April 25, 2013, 07:15
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,211
Rep Power: 74
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
I would dig deeper into this.

* Does the simulation complete the partitioning stage OK?
* If yes, try a different multi-processor approach (HP-MPI, PVM, anything different which is valid for your OS). Often a different approach works.
ghorrocks is offline   Reply With Quote

Old   April 26, 2013, 01:03
Default Local Parallel Processing - error
  #9
New Member
 
BhaskarD
Join Date: May 2012
Location: Nepal
Posts: 22
Rep Power: 4
Magma is on a distinguished road
Send a message via Skype™ to Magma
Quote:
Originally Posted by ghorrocks View Post
I would dig deeper into this.

* Does the simulation complete the partitioning stage OK?
* If yes, try a different multi-processor approach (HP-MPI, PVM, anything different which is valid for your OS). Often a different approach works.
I have tried all, distributed local parallel too. I don't have any idea where the software stores the partition file.
I have tried uninstalling and installing software, deleted all values from registry editor, and tried installing. Finally running again there is still the same error. Check out the license, it is fine. It's Horrible!!!!
Magma is offline   Reply With Quote

Old   April 26, 2013, 07:24
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,211
Rep Power: 74
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
It is highly unlikely you will get the same error with PVM versus MPI. They are totally different approaches. If PVM does not work you will at least get a different error message with it.

The first section of the output file describes the partitioning. Does it complete?
ghorrocks is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


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