CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Local Parallel Processing (https://www.cfd-online.com/Forums/cfx/116551-local-parallel-processing.html)

Magma April 22, 2013 06:40

Local Parallel Processing
 
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!!!:)

ghorrocks April 22, 2013 08:54

Please post the error message.

Magma April 22, 2013 23:43

Local Parallel Processing - error
 
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)

hmasenger April 23, 2013 11:21

howmany partitions did you used for parallel processing?did you try just 5 partitions (same part as your number of CPU processores)

monkey1 April 24, 2013 08:23

"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).

Magma April 24, 2013 23:38

Local Parallel Processing - error
 
Quote:

Originally Posted by hmasenger (Post 422644)
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 April 24, 2013 23:42

Local Parallel Processing - error
 
Quote:

Originally Posted by monkey1 (Post 422840)
"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.

ghorrocks April 25, 2013 07:15

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.

Magma April 26, 2013 01:03

Local Parallel Processing - error
 
Quote:

Originally Posted by ghorrocks (Post 423088)
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!!!!

ghorrocks April 26, 2013 07:24

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?


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