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

ANSYS Workbench on "Uncertified" Linux Distros

Register Blogs Community New Posts Updated Threads Search

Like Tree26Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2010, 18:17
Default CFX Pre and Solver Broken
  #81
New Member
 
Scott Johnson
Join Date: Nov 2010
Posts: 14
Rep Power: 16
Scott Johnson is on a distinguished road
First off, I would like to thank you all for the helpful information you have posted here. I now have workbench, design modeler, and mesh all working thanks to the information provided here.

I recently got a new computer, and have installed both Ubuntu 10.04.1 and Ubuntu 10.10, both 64 bit, on this machine. My previous computer was running 64 bit Ubuntu 10.04, and I had CFX Pre, Solver & Post all working great (run with ansys_inc/v121/CFX/bin/cfx5), but DM and Mesh both did not work (I hadn't followed all the steps outlined here). Workbench would come up, but I couldn't do much with it.

Now, after installing on my new computer, when I try to run CFX Pre (either from workbench or directly from ansys_inc/v121/CFX/bin/cfx5), I get the following error:

Code:
-- ERROR -- CCL validation failed with message:
Warning: Can't check parameter Message (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Message): Can't find rule.
Warning: Can't check parameter Message Type (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Message Type): Can't find rule.
Warning: Can't check parameter Severity (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Severity): Can't find rule.
Warning: Can't check parameter Suppressed (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Suppressed): Can't find rule.
I saw that a few people posted the same error back in June, but no other solutions/ideas were posted. Has anyone figured out how to fix these errors?

I also am not able to run CFX solver, and get the same error as above on the command line, and this additional error if I try to run the solver from within workbench:
Edit: I forgot to mention that CFX post runs just fine. The issue is only with Pre and Solver.

Code:
Ans.Core.Commands.UserReadableFailure: Unexpected Solver Input File request from empty Setup component.
  at Ans.CFX.CFXCore.Data.CFXSetupSource.GetSolverInputFile (Ans.Core.Commands.CommandContext context) [0x00000] 
  at Ans.CFX.CFXCore.Data.CFXSetupProvider.DoRetrieveData (Ans.Core.Commands.CommandContext context, Guid connectionKey) [0x00000] 
  at Ans.CFX.Foundation.Data.TransferDataObject.RetrieveData (Ans.Core.Commands.CommandContext context, Guid connectionKey) [0x00000] 
  at Ans.CFX.Foundation.Data.RetrieveDataCommand.Execute (Ans.Core.Commands.CommandContext context) [0x00000] 
  at Ans.Core.Commands.Concurrency.CommandWorkUnit.executeInContext (Ans.Core.Commands.CommandContext subContext, IExecutionEngineCallback tracer) [0x00000] 
--- Ans.Core.Commands.CommandFailedException: Unexpected Solver Input File request from empty Setup component.
Command: CFX.RetrieveData(Entity="/Setup/CFXSetup:Setup Provider", ConnectionKey="6e264da9-49a2-4c1b-b86d-f1ea8deeeb82")
  at Ans.Core.Commands.CommandAsyncResult.RethrowFailureException (System.Exception e) [0x00000] 
  at Ans.Core.Commands.CommandAsyncResult.Wait (Int32 milliSecondsTimeout, Boolean exitContext) [0x00000] 
  at Ans.Core.Commands.CommandAsyncResult.Wait () [0x00000] 
  at Ans.Core.Commands.CommandContext.InvokeCommandAndWait (IProgressMonitor progressMonitor, Ans.Core.Commands.Core.CommandInfo commandInfo, Ans.Core.Commands.ArgDictionary args) [0x00000] 
  at Ans.Core.Commands.CommandContext.InvokeMethodAndWait (IProgressMonitor progressMonitor, IObjectReference objRef, System.String methodName, Ans.Core.Commands.ArgDictionary args) [0x00000] 
  at Ans.Core.Commands.CommandContext.InvokeMethodAndWait (IObjectReference objRef, System.String methodName, Ans.Core.Commands.ArgDictionary args) [0x00000] 
  at Ans.CFX.Foundation.DataTransfer.DataLink.RetrieveData (Ans.Core.Commands.CommandContext context) [0x00000] 
  at Ans.CFX.CFXCore.Data.CFXSolutionSource.GetUpstreamSetup (Ans.Core.Commands.CommandContext context) [0x00000] 
  at Ans.CFX.CFXCore.Data.CFXSolutionSource.DefineRun (Ans.Core.Commands.CommandContext context) [0x00000] 
  at Ans.CFX.CFXCore.Commands.EditRunDefinitionCommand.Execute (Ans.Core.Commands.CommandContext context) [0x00000] 
  at Ans.Core.Commands.Concurrency.CommandWorkUnit.executeInContext (Ans.Core.Commands.CommandContext subContext, IExecutionEngineCallback tracer) [0x00000] 
--- Ans.Core.Commands.CommandFailedException: Unexpected Solver Input File request from empty Setup component.
Command: CFX.EditRunDefinition(Container="Solution")
  at Ans.Core.Commands.CommandAsyncResult.RethrowFailureException (System.Exception e) [0x00000] 
  at Ans.Core.Commands.CommandAsyncResult.Wait (Int32 milliSecondsTimeout, Boolean exitContext) [0x00000] 
  at Ans.Core.Commands.CommandAsyncResult.Wait () [0x00000] 
  at Ans.CFX.CFXCore.Commands.EditRunDefinitionCommand.InvokeAndWait (ICommandContext context, Ans.Core.DataModel.ProjectSystem.DataContainerReference Container) [0x00000] 
  at Ans.CFX.CFXCore.Commands.EditRunDefinitionGui.Invoke (Ans.UI.GuiOperationContext context) [0x00000] 
  at Ans.UI.GuiOperationContext.Invoke (Ans.UI.GuiOperationMetaData operationData) [0x00000] 
  at Ans.UI.UIManager+<InvokeOperation>c__AnonStorey1A.<>m__16 () [0x00000] 
  at Ans.UI.UIManager.InvokeOperationCore (System.String pseudoname, Ans.UI.Views.OperationDelegate callback, Boolean allowOSMessages) [0x00000] 




This is what is shown in the solver window:



 +--------------------------------------------------------------------+
 |                                                                    |
 |                    CFX Command Language for Run                    |
 |                                                                    |
 +--------------------------------------------------------------------+

 SIMULATION CONTROL:
 END
 




ccl2flow: * command language error *



Message: getChildList: unable to find the requested path

Context: returned by cclApi call



 +--------------------------------------------------------------------+
 |                An error has occurred in cfx5solve:                 |
 |                                                                    |
 | /Software/ansys_inc/v121/CFX/bin/linux-amd64/ccl2flow.exe exited   |
 | with return code 3.                                                |
 +--------------------------------------------------------------------+


 +--------------------------------------------------------------------+
 |                An error has occurred in cfx5solve:                 |
 |                                                                    |
 | An error was encountered in problem setup.  See the output file    |
 |                                                                    |
 |         /work/CFD/CFX_001.out                                      |
 |                                                                    |
 | for more details.                                                  |
 +--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.
Any help would be greatly appreciated!


In case it is helpful to anyone else, below are the steps I took to get workbench, DM and Mesh working:

Code:
1) edit /etc/hosts so that my hostname only appears on one line.  For example, I changed something like:

10.0.0.XX      MYHOSTNAME  # Added by NetworkManager
127.0.0.1      MYHOSTNAME

to 

10.0.0.XX      MYHOSTNAME  # Added by NetworkManager
#127.0.0.1      MYHOSTNAME # Commented Out

2) sudo aptitude install mesa-utils gamin
    sudo aptitude remove rpm alien
    sudo aptitude install libmotif3

3) Make an executable file called 'rpm' and copied to /usr/bin/ which contained the following:
#!/bin/bash
echo glibc-2.12.1

4)  Make an executable file called 'uname' containing the following:
#!/bin/bash
if [ "$1" = "-i" ]; then
echo ` uname2 -m | sed -e '/i686/s//i386/' `
else
uname2 $@
fi

then:

sudo mv /bin/uname /bin/uname2
sudo cp uname /bin/

5) Install ANSYS by calling the INSTALL script that unpacks with the installation.

6) Register the libraries:

find /work/Software/ansys_inc/v121/aisol/dll/linx64/ -iname "*.so*" | sudo xargs /work/Software/ansys_inc/v121/aisol/workbench -cmd /work/Software/ansys_inc/v121/aisol/mw/bin-amd64_linux_optimized/regsvr32 
-c -nodisplay
     
7) Added the following to my .bashrc file:
export AWP_ROOT121=/work/Software/ansys_inc/v121
export ANSYS121_DIR=${AWP_ROOT121}/aisol
export PATH=${PATH}:${ANSYS121_DIR}
RUNWB2_DIR=${AWP_ROOT121}/Framework/bin/Linux64
export PATH=${PATH}:${RUNWB2_DIR}
export PATH=${PATH}:${AWP_ROOT121}/CFX/bin

8) Finally I created the script to run workbench called wb2:

#!/bin/bash

LD_LIBRARY_PATH="/Software/ansys_inc/v121/aisol/mw/lib-amd64_linux_optimized:/Software/ansys_inc/v121/aisol/lib/linx64/:/usr/lib/nvidia-current"

export LD_LIBRARY_PATH
export LANG=en_US.UTF8
export MALLOC_CHECK_=0
/Software/ansys_inc/v121/Framework/bin/Linux64/runwb2
export MALLOC_CHECK_=2

Last edited by Scott Johnson; November 5, 2010 at 19:10.
Scott Johnson is offline   Reply With Quote

Old   December 6, 2010, 05:22
Default Ansys 13 on Ubuntu 10.04
  #82
New Member
 
makkemal
Join Date: Dec 2010
Posts: 5
Rep Power: 15
makkemal is on a distinguished road
Have anyone figured out how to run Ansys 13 on ubuntu 10.04
I have 12.1 running well on 10.04 with the instruction posted on this Forum.
I have Installed 13 but It does not work. I can get the framework running by running as sudo but nether DM or mechanical want to start

Thanks
M
makkemal is offline   Reply With Quote

Old   December 7, 2010, 12:56
Default
  #83
New Member
 
Scott Johnson
Join Date: Nov 2010
Posts: 14
Rep Power: 16
Scott Johnson is on a distinguished road
I have tried to install ANSYS V13 on my Ubuntu 10.10 64 bit machine. Things have gotten worse, not better than V12.1 for me. Basically, everything is broken -- I can run workbench, but every component (DM, CFX, etc) won't work.
Scott Johnson is offline   Reply With Quote

Old   December 10, 2010, 13:12
Default
  #84
New Member
 
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16
Yankee is on a distinguished road
Quote:
Originally Posted by Scott Johnson View Post
I have tried to install ANSYS V13 on my Ubuntu 10.10 64 bit machine. Things have gotten worse, not better than V12.1 for me. Basically, everything is broken -- I can run workbench, but every component (DM, CFX, etc) won't work.
For me it works (Workbench, DM, Meshing, Fluent)

Here attached (procedure.txt) is my installation procedure - notice the trick about graphic libraries ( also mentionned in http://doc.ubuntu-fr.org/ansys_workbench ) and the need to control your /etc/hosts, where Network Manager adds two lines containing your hostname (one for ipv4, one for ipv6) which causes problems for ansys...
Yankee is offline   Reply With Quote

Old   December 11, 2010, 00:55
Default
  #85
New Member
 
Scott Johnson
Join Date: Nov 2010
Posts: 14
Rep Power: 16
Scott Johnson is on a distinguished road
Yankee,

Thank you for the reply. Unfortunately, I can't read your attached procedure. I get an error that says the source file could not be read. Any chance you could try to post it again?

Thanks again,

Scott

Last edited by Scott Johnson; December 13, 2010 at 20:04. Reason: typo
Scott Johnson is offline   Reply With Quote

Old   December 12, 2010, 17:20
Default
  #86
New Member
 
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16
Yankee is on a distinguished road
Quote:
Originally Posted by Scott Johnson View Post
Yankee,

Thank you for the reply. Unfortunately, I can't read your attached procedure. I get an error that says the source file could not be read. Any chance you could try to post it again?

Thanks again,

Jeff
Here is my procedure... I found it cleaner to attach it separately, but seems it does not work...

Code:
# Installation procedure for Ansys13.0 on ubuntu10.10 - 64bits

# 1. enter root session for steps 1-7 (assuming you're allowed to do that, it will ask YOUR passwd and not the one of root)
sudo -s

# 2. add "rpm" and "uname" custom commands to make the installer happy (supposing /usr/local/bin is in the PATH)
cat > /usr/local/bin/uname <<'eof'
#!/bin/bash
  if [ "$1" = "-i" ]; then
    echo `/bin/uname -m | sed -e 's/i686/i386/' `
  else
    /bin/uname $1
  fi
eof
  chmod +x /usr/local/bin/uname
cat > /usr/local/bin/rpm <<'eof'
#!/bin/bash
  echo glibc-2.12-1
eof
  chmod +x /usr/local/bin/uname

# 3. be sure that your hostname appears in only 1 uncommented line of /etc/host
  grep `hostname` /etc/hosts
#    if it appears more than once edit it manually and make it immutable to avoid changes by netmork manager :
  chattr +i /etc/hosts

# 4. download ANSYS130_LINX64_DVD1.iso and ANSYS130_LINX64_DVD2.iso from ansys customer portal into /tmp (not described)

# 5. install ansys (choosing its installation directory, and the products for which you have licenses)
#    at the middle of install indicate "/mnt/iso2" as location for the second DVD
#    at the end of install you should provide the name of your license server and verify its ports
#    don't be afraid of the 12 messages "[: 335: xxx.so: unexpected operator" in /ansys_inc/install.err
  cd /tmp
  mkdir /mnt/iso1 /mnt/iso2
  mount -o loop -t iso9660 ANSYS130_LINX64_DVD1.iso /mnt/iso1
  mount -o loop -t iso9660 ANSYS130_LINX64_DVD1.iso /mnt/iso2
  cd /mnt/iso1
  ./INSTALL
  cd /tmp
  umount /mnt/iso1 /mnt/iso2
  rmdir /mnt/iso1 /mnt/iso2

# 6. define environement variables for all users (assuming they use bash) - adapted from "post-install procedures" in ai_unix_2828.pdf
  cat > /etc/profile.d/ansys_config.sh << 'eof'

  SYSVAR=`uname -m` # to choose between 32bit or 64bit pathes
  if [ ${AWP_ROOT:-undefined}  = undefined ]; then export AWP_ROOT=/ansys_inc/v130 ; fi
  if [ ${ANSYS_DIR:-undefined} = undefined ]; then export ANSYS_DIR=${AWP_ROOT}/aisol ; fi
  if [ ${SYSVAR} = 'x86_64' ]; then
    if [ ${ICEM_ACN:-undefined}   = undefined ]; then export ICEM_ACN=${AWP_ROOT}/icemcfd/linux64_amd ; fi
    RUNWB2_DIR=${AWP_ROOT}/Framework/bin/Linux64 ;
  else
    if [ ${ICEM_ACN:-undefined}   = undefined ]; then export ICEM_ACN=${AWP_ROOT}/icemcfd/linux ; fi
    RUNWB2_DIR=${AWP_ROOT}/Framework/bin/Linux32 ;
  fi
  if [ ${ANSYSLIC_DIR:-undefined} = undefined ]; then export ANSYSLIC_DIR=/ansys_inc/shared_files/licensing ; fi
  if [ -d ${ANSYS_DIR} ]; then              export PATH=${PATH}:${ANSYS_DIR} ; fi
  if [ -d ${RUNWB2_DIR} ]; then                export PATH=${PATH}:${RUNWB2_DIR} ; fi                # path to runwb2
  if [ -d ${AWP_ROOT}/fluent/bin ]; then    export PATH=${PATH}:${AWP_ROOT}/fluent/bin ; fi    # path to fluent
  if [ -d ${AWP_ROOT}/CFX/bin ]; then       export PATH=${PATH}:${AWP_ROOT}/CFX/bin ; fi       # path to cfx5
  if [ -d ${AWP_ROOT}/TurboGrid/bin ]; then export PATH=${PATH}:${AWP_ROOT}/TurboGrid/bin ; fi # path to cfxtg
  if [ -d ${ICEM_ACN}/bin ]; then export PATH=${PATH}:${ICEM_ACN}/bin ; fi                           # path to icemcfd
  if [ -d ${ANSYSLIC_DIR}/lic_admin ]; then export PATH=${PATH}:${ANSYSLIC_DIR}/lic_admin ; fi       # path to anslic_admin
eof

# 7. create a command "wb2" to add access to the mesa libes of your graphic driver (here, nvidia) and running workbench (supposing /usr/local/bin is in the PATH)
cat > /usr/local/bin/wb2 <<'eof'
#!/bin/bash
  if [ -d /usr/lib/nvidia-current ]; then export LD_LIBRARY_PATH=`echo /usr/lib/nvidia-current:$LD_LIBRARY_PATH | sed -e 's/:$//'` ; fi
  runwb2 $@
eof
  chmod +x /usr/local/bin/wb2

# 8. quit root session entered in 1.
  exit

# 9. For each user, verify the license (clic on "View Status/Diagnostic Options" then "display the license status")
#    and eventually choose your prefs ("Set License Preferences for user xxx" then v12.1 then, ie "Use Academic Licenses" if you have some...)
  anslic_admin

# 10. logout, login (to activate /etc/profile.d/ansys_config.sh), run ansys and enjoy!
  wb2

Last edited by Yankee; December 14, 2010 at 17:02.
Yankee is offline   Reply With Quote

Old   December 13, 2010, 20:03
Default
  #87
New Member
 
Scott Johnson
Join Date: Nov 2010
Posts: 14
Rep Power: 16
Scott Johnson is on a distinguished road
Yankee,

Thanks for the help! Your instructions on how to prevent /etc/hosts from getting changed was very helpful. I didn't realize it, but my /etc/hosts had changed, and I did have multiple lines with my hostname again. I am hopeful that was part of my problem. I realized that I had erased my ANSYS 13 install, and so I am having to download it again before I can test out your suggestions. In the mean time, I have a couple of questions/comments:

1. In step 3, when I do ldd --version I get "ldd (Ubuntu EGLIBC 2.12.1-0ubuntu9) 2.12.1", so I changed your 'echo glibc-1.12-1' to 'echo glibc-1.12.1'. was this a typo, or did this work for you the way you had it?

2. I think you forgot to add a few lines to your wb2 script (like calling runwb2). Can you tell me if you export any other environment variables in your wb2 script (like export LANG=en_US.UTF8 or export MALLOC_CHECK_=0, etc.)? Also, do you use the -oglmesa flag with runwb2?

Thanks again,

Scott
Scott Johnson is offline   Reply With Quote

Old   December 14, 2010, 12:04
Default
  #88
New Member
 
Scott Johnson
Join Date: Nov 2010
Posts: 14
Rep Power: 16
Scott Johnson is on a distinguished road
Alas, I am still plagued with CCL errors. When I try to open CFX PRE, I get the following error:

Code:
 p, li { white-space: pre-wrap; } CFX-Pre Application Error
  ERROR
 CCL validation failed with message:
 Warning: Can't check parameter Message Type (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Message Type): Can't find rule.
 Warning: Can't check parameter Severity (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Severity): Can't find rule.
 Warning: Can't check parameter Message (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Message): Can't find rule.
 Warning: Can't check parameter Suppressed (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Suppressed): Can't find rule.
When I try to run solver I get a similar error:

Code:
 p, li { white-space: pre-wrap; } Ansys.Core.Commands.UserReadableFailureException: The CFX Solver for system Copy of Fluid Flow (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.HandleRunFailure (IFullContext context, Ansys.CFX.CFXCore.Data.CFXSolverRun run) [0x00000] 
   at Ansys.CFX.CFXCore.Data.CFXSolutionSource.OnTaskReconnect (IFullContext context, Ansys.Addins.Infrastructure.Rsm.Data.SolverTask task, CommandCancellationStatus interruptStatus) [0x00000] 
   at Ansys.Addins.Infrastructure.Rsm.Data.SolverTask.Reconnect (IFullContext context) [0x00000] 
 --- Ansys.Core.Commands.CommandFailedException: The CFX Solver for system Copy of Fluid Flow (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 1")
   at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException (System.Exception e) [0x00000] 
   at Ansys.Core.Commands.CommandAsyncResult.Wait (Int32 milliSecondsTimeout, Boolean exitContext) [0x00000] 
   at Ansys.Core.Commands.CommandAsyncResult.Wait () [0x00000] 
   at Ansys.ProjectSchematic.Data.ComponentTemplateEntity.Update (IFullContext context, IProgressMonitor progressMonitor, Ansys.Core.DataModel.ProjectSystem.DataContainerReference container, System.Collections.Generic.List`1 downstream, System.Collections.Generic.List`1 allRemaining) [0x00000] 
   at Ansys.ProjectSchematic.Update.UpdateImpl.updateComponent (IFullContext context, Ansys.ProjectSchematic.Update.UpdateTask task) [0x00000] 
   at Ansys.ProjectSchematic.Update.UpdateImpl+<updateComponentAndDependencies>c__AnonStorey6A.<>m__56 () [0x00000] 
   at Ansys.ProjectSchematic.Update.UpdateImpl.executeWithSelectedErrorBehaviour (Ansys.ProjectSchematic.Update.Op op, Ansys.ProjectSchematic.Update.UpdateTask forTask) [0x00000] 
 --- System.InvalidOperationException: Update of the Solution component in Copy of Fluid Flow (CFX) failed: The CFX Solver for system Copy of Fluid Flow (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.doOutstandingTasks (IEnumerable`1 tasks, System.Boolean& didSomething) [0x00000] 
   at Ansys.ProjectSchematic.Update.UpdateImpl+<UpdateComponents>c__Iterator37.MoveNext () [0x00000] 
   at Ansys.ProjectSchematic.Commands.UpdateComponentCommand+<Execute>c__Iterator4.MoveNext () [0x00000] 
   at Ansys.Core.Commands.Concurrency.SuspendableCommandWorkUnit.executeInContext (Ansys.Core.Commands.CommandContext subContext, IExecutionEngineCallback tracer) [0x00000] 
 --- Ansys.Core.Commands.CommandFailedException: Update of the Solution component in Copy of Fluid Flow (CFX) failed: The CFX Solver for system Copy of Fluid Flow (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 1", Force=True)
   at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException (System.Exception e) [0x00000] 
   at Ansys.Core.Commands.CommandAsyncResult.WaitForSuspendOrComplete (Int32 milliSecondsTimeout, Boolean exitContext) [0x00000] 
   at Ansys.CFX.CFXCore.Commands.UpdateFromSolverManagerGui.Invoke (Ansys.UI.GuiOperationContext context) [0x00000] 
   at Ansys.UI.GuiOperationContext.Invoke (Ansys.UI.GuiOperationMetaData operationData) [0x00000] 
   at Ansys.UI.UIManager+<InvokeOperation>c__AnonStorey35.<>m__1D () [0x00000] 
   at Ansys.UI.UIManager.InvokeOperationCore (System.String pseudoname, Ansys.UI.Views.OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction) [0x00000]
Workbench, DM and Mesh appear to work correctly. Unfortunately, the application I most need to work natively in Linux (CFX Solver) won't work. Interestingly, I have never had problems with CFX previously until I upgraded to a new computer. I get the same errors with CFX V12.1 on my new computer, while I was able to run CFX V12.1 on my previous hardware. This makes me think the problem is either hardware related (which doesn't make sense to me that I would get CCL errors due to hardware), or there is some Ubuntu package I had (or didn't have) installed on my previous machine. I wish I had an idea on where to go from here. Anyone have any suggestions?

Thanks
Scott Johnson is offline   Reply With Quote

Old   December 14, 2010, 17:01
Default
  #89
New Member
 
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16
Yankee is on a distinguished road
Quote:
Originally Posted by Scott Johnson View Post
Yankee,

In step 2, when I do ldd --version I get "ldd (Ubuntu EGLIBC 2.12.1-0ubuntu9) 2.12.1", so I changed your 'echo glibc-1.12-1' to 'echo glibc-1.12.1'. was this a typo, or did this work for you the way you had it?
I've the same libc version as you, i.e. 1.12.1 (I saw it by executing /lib/libc.so.6), but for me it works like that (echoing glibc-1.12-1)... Maybe a typo when I build this rpm command, or an information I got somewhere else (i.e. in packages).

Quote:
Originally Posted by Scott Johnson View Post
I think you forgot to add a few lines to your wb2 script (like calling runwb2). Can you tell me if you export any other environment variables in your wb2 script (like export LANG=en_US.UTF8 or export MALLOC_CHECK_=0, etc.)? Also, do you use the -oglmesa flag with runwb2?
OOps, you're right, the last line was missing (I'll try to edit the previous post). That line is just :
runwb2 $@
I don't use -oglmesa, and setting LANG is no more necessary since ansys12.1.4 (see the release notes: ansys on linux now has localization, I use it in french). I never needed MALLOC_CHECK_=0 . I just run wb2 without options and it works for DM, Meshing and fluent

Unfortunately I cannot help you for CFX...
Yankee is offline   Reply With Quote

Old   December 15, 2010, 11:48
Default
  #90
New Member
 
Scott Johnson
Join Date: Nov 2010
Posts: 14
Rep Power: 16
Scott Johnson is on a distinguished road
Thanks for all the help Yankee
Scott Johnson is offline   Reply With Quote

Old   December 15, 2010, 16:55
Default
  #91
New Member
 
Charlotte
Join Date: Oct 2009
Posts: 17
Rep Power: 17
charlotte is on a distinguished road
I have Ubuntu 10.04 64bit and I have exactly the same error... I can open WB, use DM to make a geometry,mesh it. I check CFDPost: it works.
But when I launch CFXPre, I get the same CCL errors than below.

When I ran "./INSTALL" I got several messages like:
/tmp/ans_install_tmp21311/common/../tcl/wish: Symbol `vmlsAcos4' causes overflow in R_X86_64_PC32 relocation
Could it be a tcl problem?

The only error I got from the installation is:
>>>--------------------------------------->
ANSYS installation: Wed Dec 15 03:18:55 PM EST 2010
Revision: 12.1
GC Warning: Limiting number of mark threads
>>>--------------------------------------->
which normally can be ignored.

I contacted the customer portal, and their answer was "we officially support RH4&5 and SUSE Enterprise 10". Argghh, so frustrating.

Charlotte

Quote:
Originally Posted by Scott Johnson View Post
Alas, I am still plagued with CCL errors. When I try to open CFX PRE, I get the following error:

Code:
 p, li { white-space: pre-wrap; } CFX-Pre Application Error
  ERROR
 CCL validation failed with message:
 Warning: Can't check parameter Message Type (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Message Type): Can't find rule.
 Warning: Can't check parameter Severity (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Severity): Can't find rule.
 Warning: Can't check parameter Message (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Message): Can't find rule.
 Warning: Can't check parameter Suppressed (/PHYSICS MESSAGES/PHYSICS MESSAGE:msg0000/Suppressed): Can't find rule.
When I try to run solver I get a similar error:

Code:
 p, li { white-space: pre-wrap; } Ansys.Core.Commands.UserReadableFailureException: The CFX Solver for system Copy of Fluid Flow (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.HandleRunFailure (IFullContext context, Ansys.CFX.CFXCore.Data.CFXSolverRun run) [0x00000] 
   at Ansys.CFX.CFXCore.Data.CFXSolutionSource.OnTaskReconnect (IFullContext context, Ansys.Addins.Infrastructure.Rsm.Data.SolverTask task, CommandCancellationStatus interruptStatus) [0x00000] 
   at Ansys.Addins.Infrastructure.Rsm.Data.SolverTask.Reconnect (IFullContext context) [0x00000] 
 --- Ansys.Core.Commands.CommandFailedException: The CFX Solver for system Copy of Fluid Flow (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 1")
   at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException (System.Exception e) [0x00000] 
   at Ansys.Core.Commands.CommandAsyncResult.Wait (Int32 milliSecondsTimeout, Boolean exitContext) [0x00000] 
   at Ansys.Core.Commands.CommandAsyncResult.Wait () [0x00000] 
   at Ansys.ProjectSchematic.Data.ComponentTemplateEntity.Update (IFullContext context, IProgressMonitor progressMonitor, Ansys.Core.DataModel.ProjectSystem.DataContainerReference container, System.Collections.Generic.List`1 downstream, System.Collections.Generic.List`1 allRemaining) [0x00000] 
   at Ansys.ProjectSchematic.Update.UpdateImpl.updateComponent (IFullContext context, Ansys.ProjectSchematic.Update.UpdateTask task) [0x00000] 
   at Ansys.ProjectSchematic.Update.UpdateImpl+<updateComponentAndDependencies>c__AnonStorey6A.<>m__56 () [0x00000] 
   at Ansys.ProjectSchematic.Update.UpdateImpl.executeWithSelectedErrorBehaviour (Ansys.ProjectSchematic.Update.Op op, Ansys.ProjectSchematic.Update.UpdateTask forTask) [0x00000] 
 --- System.InvalidOperationException: Update of the Solution component in Copy of Fluid Flow (CFX) failed: The CFX Solver for system Copy of Fluid Flow (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.doOutstandingTasks (IEnumerable`1 tasks, System.Boolean& didSomething) [0x00000] 
   at Ansys.ProjectSchematic.Update.UpdateImpl+<UpdateComponents>c__Iterator37.MoveNext () [0x00000] 
   at Ansys.ProjectSchematic.Commands.UpdateComponentCommand+<Execute>c__Iterator4.MoveNext () [0x00000] 
   at Ansys.Core.Commands.Concurrency.SuspendableCommandWorkUnit.executeInContext (Ansys.Core.Commands.CommandContext subContext, IExecutionEngineCallback tracer) [0x00000] 
 --- Ansys.Core.Commands.CommandFailedException: Update of the Solution component in Copy of Fluid Flow (CFX) failed: The CFX Solver for system Copy of Fluid Flow (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 1", Force=True)
   at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException (System.Exception e) [0x00000] 
   at Ansys.Core.Commands.CommandAsyncResult.WaitForSuspendOrComplete (Int32 milliSecondsTimeout, Boolean exitContext) [0x00000] 
   at Ansys.CFX.CFXCore.Commands.UpdateFromSolverManagerGui.Invoke (Ansys.UI.GuiOperationContext context) [0x00000] 
   at Ansys.UI.GuiOperationContext.Invoke (Ansys.UI.GuiOperationMetaData operationData) [0x00000] 
   at Ansys.UI.UIManager+<InvokeOperation>c__AnonStorey35.<>m__1D () [0x00000] 
   at Ansys.UI.UIManager.InvokeOperationCore (System.String pseudoname, Ansys.UI.Views.OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction) [0x00000]
Workbench, DM and Mesh appear to work correctly. Unfortunately, the application I most need to work natively in Linux (CFX Solver) won't work. Interestingly, I have never had problems with CFX previously until I upgraded to a new computer. I get the same errors with CFX V12.1 on my new computer, while I was able to run CFX V12.1 on my previous hardware. This makes me think the problem is either hardware related (which doesn't make sense to me that I would get CCL errors due to hardware), or there is some Ubuntu package I had (or didn't have) installed on my previous machine. I wish I had an idea on where to go from here. Anyone have any suggestions?

Thanks
charlotte is offline   Reply With Quote

Old   December 18, 2010, 12:47
Default Ansys 13 error
  #92
New Member
 
makkemal
Join Date: Dec 2010
Posts: 5
Rep Power: 15
makkemal is on a distinguished road
Ubuntu 10.04
With the steps above 12.1 runs fine
in 13 I get the following errors on the same machine

QPainter::setFont: Painter not active
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread

Anyone seen this

Thanks
M
makkemal is offline   Reply With Quote

Old   December 20, 2010, 04:29
Default
  #93
New Member
 
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16
Yankee is on a distinguished road
Quote:
Originally Posted by makkemal View Post
Ubuntu 10.04
With the steps above 12.1 runs fine
in 13 I get the following errors on the same machine

QPainter::setFont: Painter not active
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread

Anyone seen this

Thanks
M

I got that in my first tests, but I don't remember what exactly made it disappear. Did you correctly redefine rpm and uname before installing (step 2 of procedure in thread #86)? are you sure that your /etc/hosts refer only once to your hostname (step 3, hostname is obtained with the command hostname)? did you verify that the GL libes from your (maybe proprietary) graphic driver are available (step 7)?

If all that is correct, please verify your environement variables (see step 6), and maybe you'll have to remove your .ansys and/or .config/ANSYS in your home dir (but you'll loose all personalizations of ansys). I did all that, and for me it works.
Yankee is offline   Reply With Quote

Old   December 20, 2010, 15:27
Default
  #94
New Member
 
makkemal
Join Date: Dec 2010
Posts: 5
Rep Power: 15
makkemal is on a distinguished road
Quote:
Originally Posted by Yankee View Post
I got that in my first tests, but I don't remember what exactly made it disappear. Did you correctly redefine rpm and uname before installing (step 2 of procedure in thread #86)? are you sure that your /etc/hosts refer only once to your hostname (step 3, hostname is obtained with the command hostname)? did you verify that the GL libes from your (maybe proprietary) graphic driver are available (step 7)?

If all that is correct, please verify your environement variables (see step 6), and maybe you'll have to remove your .ansys and/or .config/ANSYS in your home dir (but you'll loose all personalizations of ansys). I did all that, and for me it works.

Thanks Yankee removing the ~/.ansys and ~/.mc did the trick
makkemal is offline   Reply With Quote

Old   January 4, 2011, 05:16
Default
  #95
New Member
 
Denis
Join Date: Jan 2011
Posts: 6
Rep Power: 15
siden is on a distinguished road
Hi, i've installed ansys 13.0 on a linux machine (debian squeeze 6.0 64bits)
I can't access to the servers licence which are installed on 2 win7 machines.

the licence manager give me this:

Quote:
AFFICHER L'ETAT DE LICENCE:

Chemin d'ANSYS Licensing Interconnect = 2325@192.168.17.102:2325@VULCAIN

Chemin de la licence ANSYS FLEXlm = 1055@192.168.17.102:1055@VULCAIN


***** Remarque: Il se peut que toutes les tâches ne soient pas trouvées en raison d'une limitation de FLEXlm. *****
__________________________________________________ ___

***** ETAT DU SERVEUR DE LICENCES: 1055@192.168.17.102 *****

ERREUR - Impossible de déterminer l'état de licence - échec de la commande lmstat.

couldn't execute "/ansys_inc/shared_files/licensing/linx64/lmutil": no such file or directory
__________________________________________________ ___

***** ETAT DU SERVEUR DE LICENCES: 1055@VULCAIN *****

ERREUR - Impossible de déterminer l'état de licence - échec de la commande lmstat.

couldn't execute "/ansys_inc/shared_files/licensing/linx64/lmutil": no such file or directory
when i try to launch "lmutil" in a console, the console tell me there's no file or foled of this kind
siden is offline   Reply With Quote

Old   January 4, 2011, 05:23
Default
  #96
New Member
 
makkemal
Join Date: Dec 2010
Posts: 5
Rep Power: 15
makkemal is on a distinguished road
Make sure that ansys is fully installed with the fake rpm and uname script
then
sudo apt-get install lsb

Pls note this install rpm ass well that is why ansys products has to be installed.
Then reinstall on the license manager and it will work

Cheers
M

Quote:
Originally Posted by siden View Post
Hi, i've installed ansys 13.0 on a linux machine (debian squeeze 6.0 64bits)
I can't access to the servers licence which are installed on 2 win7 machines.

the licence manager give me this:


when i try to launch "lmutil" in a console, the console tell me there's no file or foled of this kind
makkemal is offline   Reply With Quote

Old   January 9, 2011, 23:24
Default
  #97
New Member
 
Scott Johnson
Join Date: Nov 2010
Posts: 14
Rep Power: 16
Scott Johnson is on a distinguished road
I recently went back to my old computer an re-installed Ubuntu 10.04.1 from scratch (64 bit). I then installed Ansys 13, and once again CFX pre and solver work fine (no CCL errors). I then re-installed the same Ubuntu 10.04.1 from the same DVD on a new partition on my new machine. I then again installed Ansys 13 and got the same CCL errors as before (see post #88).

I installed Ansys before adding any additional software (just like I did recently on my old machine). It is therefore clear that this problem is, at least to some degree, hardware related. Since these particular errors seem to also be limited to Debian based distros, I guess that the issue is with a hardware driver. My best guess is that it is related to my video card. I should note, however, that the problem did not change from when I first installed on my new machine (using some default driver with poor display resolution) and when I installed the proprietary Nvidia driver form my video card (much better display). Either way, the problem remains with my new computer.

I should note that my old computer used an ATI video card. Could this issue be related to the Nvidia card drivers for Debian based systems? Can someone confirm this issue on a machine using an ATI video card?

Unfortunately, my Linux knowledge is not sufficient to figure out how to further track the issue down from here.

Scott
Scott Johnson is offline   Reply With Quote

Old   January 10, 2011, 03:17
Default
  #98
New Member
 
makkemal
Join Date: Dec 2010
Posts: 5
Rep Power: 15
makkemal is on a distinguished road
ANSYS expects to find libGL.so.1 in /usr/lib/.
The following solved my problem:

For Nvidia drivers

sudo ln -s /usr/lib/nvidia-current/libGL.so.1 /usr/lib/libGL.so.1

For Mesa drivers

sudo ln -s /usr/lib/mesa/libGL.so.1 /usr/lib/libGL.so.1




Quote:
Originally Posted by Scott Johnson View Post
I recently went back to my old computer an re-installed Ubuntu 10.04.1 from scratch (64 bit). I then installed Ansys 13, and once again CFX pre and solver work fine (no CCL errors). I then re-installed the same Ubuntu 10.04.1 from the same DVD on a new partition on my new machine. I then again installed Ansys 13 and got the same CCL errors as before (see post #88).

I installed Ansys before adding any additional software (just like I did recently on my old machine). It is therefore clear that this problem is, at least to some degree, hardware related. Since these particular errors seem to also be limited to Debian based distros, I guess that the issue is with a hardware driver. My best guess is that it is related to my video card. I should note, however, that the problem did not change from when I first installed on my new machine (using some default driver with poor display resolution) and when I installed the proprietary Nvidia driver form my video card (much better display). Either way, the problem remains with my new computer.

I should note that my old computer used an ATI video card. Could this issue be related to the Nvidia card drivers for Debian based systems? Can someone confirm this issue on a machine using an ATI video card?

Unfortunately, my Linux knowledge is not sufficient to figure out how to further track the issue down from here.

Scott
makkemal is offline   Reply With Quote

Old   January 11, 2011, 12:58
Default
  #99
New Member
 
Charlotte
Join Date: Oct 2009
Posts: 17
Rep Power: 17
charlotte is on a distinguished road
I have an ATI card and I have the CCL errors. so I guess the CCL errors are not linked to the graphic card...
charlotte is offline   Reply With Quote

Old   January 11, 2011, 15:07
Default
  #100
New Member
 
Scott Johnson
Join Date: Nov 2010
Posts: 14
Rep Power: 16
Scott Johnson is on a distinguished road
Makkemal - Thanks for the pointer. I will try this next time I am able to boot into Linux -- I am running CFX in Windows right now .

Charlotte - Thanks for the info.
Scott Johnson 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 Experts: Help with installing ANSYS workbench faisal_durr ANSYS 1 May 30, 2014 09:07
Ansys workbench problem Jonny6001 ANSYS 2 September 30, 2010 13:59
How can I start the ANSYS 12 workbench in LINUX Ardisia ANSYS 3 September 7, 2010 01:19
ANSYS Workbench on Linux CPUcruncher ANSYS 4 July 11, 2010 10:19
ANSYS Workbench on "Certified" linux distro mechanicaldesign CFX 0 April 16, 2010 02:56


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