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   June 1, 2010, 05:28
Default
  #41
Member
 
Derwin Parkin
Join Date: Feb 2010
Posts: 35
Rep Power: 16
derz is on a distinguished road
damn this ubuntu stuff is confusing.

I believe I've finally installed workbench 12.1 on my ubuntu.

now how do I actually run the program?
derz is offline   Reply With Quote

Old   June 1, 2010, 09:27
Default
  #42
New Member
 
Carsten \'t Mannetje
Join Date: Mar 2009
Posts: 5
Rep Power: 17
carstentm is on a distinguished road
Hi (irw in particular, hope you're still following this thread),

Since I'm having some issues (they seem memory related) with running v12.1 in Windows (Vista) I've been running some simulations on a system with Ubuntu 9.04 installed (64 bits version, AMD Phenom 64 processor). So far, so good.
However, I'd prefer to run the whole procedure in the same OS, so I'm looking to get Design Modeler and meshing to run in Ubuntu as well.

Unsurprisingly, that runs into some problems.

First thing I did was add the rpm script as per yankee's (post #3) instruction.
Reduced the number of errors, but no successful install all the same.

So I tried to follow the instructions in post #15;

The third code block fails with a;
Code:
sed: -e expression #1, char 11: unterminated `s' command
I tried the next step (since the complaint about arch was the first visible complaint in the installation)
and then tried to install the whole Ansys package again.. Now I'm running into the following problem:
Code:
/home/carsten/CFX121_install/anssh.ini: 2080: uname: Permission denied

 ANSYS is not supported on this system.  Contact your ANSYS
 sales representative for a list of supported hardware platforms.
So rather than going forward, I seem to have managed to succeed in getting it to do LESS than before...

I am by no means an expert in Linux, so it's most likely a beginner's mistake, but any help is appreciated.
carstentm is offline   Reply With Quote

Old   June 1, 2010, 10:15
Default
  #43
New Member
 
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16
Yankee is on a distinguished road
to carstentm :
as indicated by the error message, your syntax for "sed" was not good : please do copy exactly both quotes (in order) at the end of the line taken from post #15 :
echo `uname2 -m | sed -e 's/i686/i386'`

then, the "permission denied" problem for uname is certainly due do the lack of "execute" permission for the script uname you just created...
Yankee is offline   Reply With Quote

Old   June 1, 2010, 10:18
Default
  #44
New Member
 
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16
Yankee is on a distinguished road
to derz :
To run workbench on a linux system, you have to type the command "runwb2" in a terminal, after being sure that your locale is en_US (see preceding posts)
NB runwb2 will only work if it is correctly inserted in your path (see the installation manual, post-intallation instructions)
Yankee is offline   Reply With Quote

Old   June 1, 2010, 10:49
Default
  #45
New Member
 
Carsten \'t Mannetje
Join Date: Mar 2009
Posts: 5
Rep Power: 17
carstentm is on a distinguished road
Quote:
Originally Posted by Yankee View Post
to carstentm :
as indicated by the error message, your syntax for "sed" was not good : please do copy exactly both quotes (in order) at the end of the line taken from post #15 :
echo `uname2 -m | sed -e 's/i686/i386'`
I tried both typing it myself and doing a copy-paste. Sadly, they both lead to the same error. I'd imagine not, but could this be a keyboard/language-setting related issue?
carstentm is offline   Reply With Quote

Old   June 1, 2010, 11:24
Default
  #46
New Member
 
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16
Yankee is on a distinguished road
I can't understand your error, maybe it's related to the shell you are using. The third block in post #15 was just there to rename /bin/uname to /bin/uname2 , and then create a new executable script /bin/uname , containing :

Quote:
#!/bin/bash
if [ "$1" ="-i" ]; then
echo `uname2 -m | sed -e 's/i686/i386'`
else
uname2 $@
fi
You can do all that with other methods... The only thing is that after modification the command
Quote:
uname -i
should return i386 on a 32-bit PC, and the same as
Quote:
uname -m
on a 64 bit PC
Yankee is offline   Reply With Quote

Old   June 2, 2010, 01:04
Default
  #47
Member
 
Derwin Parkin
Join Date: Feb 2010
Posts: 35
Rep Power: 16
derz is on a distinguished road
thanks for the help.

i can now run workbench on ubuntu 10.04.

each application seems to load fine. however...within modeler the graphic window on the right (where you usually try and draw things) is all blank white. when i try draw something in there, it won't do anything.

when i load CFX-Pre, or CFX-Post however, then the graphic window seems to be operating normally (that nice gradient shaded blue background and i can see the x, y, z axes thing).

so something is going wrong with design modeler here...are you guys having that same problem?
derz is offline   Reply With Quote

Old   June 2, 2010, 05:12
Default
  #48
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 derz View Post
each application seems to load fine. however...within modeler the graphic window on the right (where you usually try and draw things) is all blank white. when i try draw something in there, it won't do anything.
I have this symptom also with Design Modeller called from workbench 12.1.1 , in a Ubuntu 10.04 64bit system running inside virtualbox. I have the following message (a lot of times) in the shell from which workbench2 was run :
Unable to resolve function glXMakeCurrent
My application code (for me it's Fluent, not CFX) runs correctly, including graphics, when using X11 as "graphic driver" (which seems the default in my case), but hangs when started with the option "-driver openGL"

So it seems we have a problem with openGL, and unfortunately DesignModeller seems to need it.

On my Ubuntu10.04 32bit system (native, not in virtualbox) I don't have the problem, design modeller works fine.
Yankee is offline   Reply With Quote

Old   June 2, 2010, 05:15
Default
  #49
Member
 
Derwin Parkin
Join Date: Feb 2010
Posts: 35
Rep Power: 16
derz is on a distinguished road
haha...i thought about it long and hard whether to install 32-bit or 64-bit ubuntu 10.04 last night. my research told me may as well go with 64-bit as there had been only a few issues with it.

now it seems i should have gone 32-bit if i want design modeler to work!

well i'll download the 32-bit ubuntu and give it a try...
derz is offline   Reply With Quote

Old   June 2, 2010, 05:44
Default
  #50
New Member
 
Carsten \'t Mannetje
Join Date: Mar 2009
Posts: 5
Rep Power: 17
carstentm is on a distinguished road
Quote:
Originally Posted by Yankee View Post
I can't understand your error, maybe it's related to the shell you are using. The third block in post #15 was just there to rename /bin/uname to /bin/uname2 , and then create a new executable script /bin/uname , containing :



You can do all that with other methods... The only thing is that after modification the command
should return i386 on a 32-bit PC, and the same as

on a 64 bit PC
Thanks for the help; sadly, it seems that there is some difference between my system and the expected behaviour.
I tried "manually" (using gedit) editing the uname file with that code, here's the result;

Code:
carsten@PC:~/CFX121_install$ uname
/bin/uname: line 2: [: : unary operator expected
Linux
carsten@PC:~/CFX121_install$ uname -i
/bin/uname: line 2: [: -i: unary operator expected
unknown
carsten@PC:~/CFX121_install$ uname -m
/bin/uname: line 2: [: -m: unary operator expected
x86_64
I've been trying to find hints in both "help if" and "help sed" (since that's what the error points to if I try the scripted method to editing the file) to see if I can find a syntax difference, but no such luck.
carstentm is offline   Reply With Quote

Old   June 2, 2010, 17:52
Default
  #51
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 derz View Post
now it seems i should have gone 32-bit if i want design modeler to work!
well i'll download the 32-bit ubuntu and give it a try...
Be careful, on my 32 bit Ubuntu DM works, but not Ansys Meshing !

Others (see messages above in this post) have a complete running ansys on ubuntu 64 bits. That's why I tried to install a 64 bit distro on virtualbox. Maybe the problem is related to virtualbox (which passes graphic directives from the virtual machine to the graphics driver, in my case nvidia-current) ; or to graphic libraries...
Yankee is offline   Reply With Quote

Old   June 2, 2010, 17:57
Default
  #52
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 carstentm View Post
Thanks for the help; sadly, it seems that there is some difference between my system and the expected behaviour.
I've been trying to find hints in both "help if" and "help sed" (since that's what the error points to if I try the scripted method to editing the file) to see if I can find a syntax difference, but no such luck.
It's a shell related issue, not the subject of this post. Try to see if /bin/bash is correctly installed (that's the shell that should read the script, as indicated in the first line), and for help look at "man bash" or "info bash" or shell-related web ressources (for the bourne shell family, to which bash belongs).
Yankee is offline   Reply With Quote

Old   June 3, 2010, 05:29
Default
  #53
New Member
 
Carsten \'t Mannetje
Join Date: Mar 2009
Posts: 5
Rep Power: 17
carstentm is on a distinguished road
alright, finally managed to get the script to work without any errors; just in case it's any use to others:
Code:
#!/bin/bash
if [ "$1" = '-i' ]; then
echo ` uname2 -m | sed -e '/i686/s//i386/' `
else
uname2 $@
fi

only errors remaining are

Code:
[: 335: /ansys_inc/v121/aisol/dll/linx64/libans.common.clrhostmonou.so: unexpect
ed operator
[: 335: /ansys_inc/v121/aisol/dll/linx64/libans.common.controlsu.so: unexpected operator
[: 335: /ansys_inc/v121/aisol/dll/linx64/libans.graphics.controlsu.so: unexpected operator
[: 335: /ansys_inc/v121/aisol/dll/linx64/libans.graphics.graphutilityu.so: unexpected operator
(the last one repeated a few times)

Something that needs to be installed, or? If so, any idea what?

Design Modeler still doesn't work, although no errors are generated that I can find.
carstentm is offline   Reply With Quote

Old   June 4, 2010, 14:13
Default
  #54
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 carstentm View Post
only errors remaining are

Code:
[: 335: /ansys_inc/v121/aisol/dll/linx64/libans.common.clrhostmonou.so: unexpect
ed operator
[: 335: /ansys_inc/v121/aisol/dll/linx64/libans.common.controlsu.so: unexpected operator
[: 335: /ansys_inc/v121/aisol/dll/linx64/libans.graphics.controlsu.so: unexpected operator
[: 335: /ansys_inc/v121/aisol/dll/linx64/libans.graphics.graphutilityu.so: unexpected operator
(the last one repeated a few times)

Something that needs to be installed, or? If so, any idea what?
I've the same errors in ansys_inc/install.err , it seems that there is a small problem in an installation script. On my 32 bit ubuntu this does not prevent Design Modeller to work (but, as said before, Meshing does not).

Quote:
Design Modeler still doesn't work, although no errors are generated that I can find.
For the "blank graphics screen" problem in Design Modeller on my 64 bit distro, I found a workaround : add the following two directories in LD_LIBRARY_PATH before calling runwb2:
ansys_inc/v121/Framework/bin/Mesa
ansys_inc/v121/Framework/bin
In fact the "mono" executable called by runwb2 (an horrible windows-like programming environment, but freeware, so don't shout at it !), should pre-load openGL libraries (more exactly their "mesa" variant) because of an environment variable LD_PRELOAD set by runwb2. Seems that it doesn't work... Maybe it's not transmitted to windows executables running DM or Meshing? But with LD_LIBRARY_PATH, for me it works.

I use the following script called wb2, placed in /usr/local/bin (which is in my path), to run ansys, in place of runwb2:

Code:
#!/bin/bash
RUNWB2CMD=`which runwb2`
RUNWB2DIR=`dirname $RUNWB2CMD`
if test -z "$LD_LIBRARY_PATH"; then
    LD_LIBRARY_PATH=$RUNWB2DIR/Mesa:$RUNWB2DIR
else
   LD_LIBRARY_PATH=$RUNWB2DIR/Mesa:$RUNWB2DIR:$LD_LIBRARY_PATH
fi
export LD_LIBRARY_PATH
export LANG=en_US.UTF8
runwb2 $@
Then, just type wb2 in place of runwb2, and for me it works!
Yankee is offline   Reply With Quote

Old   June 5, 2010, 16:56
Default Ubuntu 10.04
  #55
New Member
 
Join Date: Feb 2010
Posts: 3
Rep Power: 16
strider is on a distinguished road
I have updated my Ubuntu to version 10.04 and suddenly I run into problems with CFX-Pre. I get the error:
p, li { white-space: pre-wrap; } 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.

Design modeler and mesher are working (thanks to irw).

Any idea?
strider is offline   Reply With Quote

Old   June 12, 2010, 05:32
Default Ansys 12.1 under Slackware 13.1
  #56
New Member
 
Join Date: Jun 2010
Posts: 1
Rep Power: 0
wootletootle is on a distinguished road
The installation for a 32 bit Linux OS generated errors as
mentioned by others above. However the installation could be
completed by using using information given by Yankee & Mhsr,
specifically

(1) make changes to the workbench script (/usr/ansys_inc/v121/aisol/workbench)
as suggested by Mhsr.

(2) Include some additional Ansys libs in LD_LIBRARY_PATH
LD_LIBRARY_PATH="/usr/ansys_inc/v121/aisol/mw/lib-linux_optimized:/usr/ansys_inc/v121/aisol/lib/linia32::$LD_LIBRARY_PATH"

(3) Register the libraries mentioned in the error log (ansys_inc/install.err) by running
the installation sequence (after each ERROR: line) from the command line

After this I am able to execute /usr/ansys_inc/v121/aisol/workbench
and /usr/ansys_inc/v121/Framework/bin/Linux32/runwb2

However there are still some unresolved issues:

(a) Running "workbench" only Design Modeler is started, and the
project gui cannot be reached. The console has the message
"Workbench error: error connecting to Albion"

(b) Running "runwb2" the project gui is started, but apparently in
a truncated form, e.g. only CFX and FLUENT appear under the
Analysis Systems tab.

Can anybody comment on these points?

EDIT: Yes, and the meshing doesn't work, either, as noted above:
"Unable to create object WBScript.WBWshShell.121"

Last edited by wootletootle; June 12, 2010 at 07:06.
wootletootle is offline   Reply With Quote

Old   June 15, 2010, 06:01
Default WB 12.1 on Ubuntu 10.04 64-bit
  #57
New Member
 
joachim
Join Date: Jun 2010
Posts: 1
Rep Power: 0
megamin is on a distinguished road
Hi all,

finally I got WB 12.1 running on Ubuntu 10.04 64-bit with Nvidia-Driver 195.36.15 by the following steps:

(1) installing packages 'rpm' and 'mesa-utils'

(2) starting WB by wrapper script setting the PATH-Variable according to the Installation-Manual. Setting the LD_LIBRARY_PATH-Variable to

/usr/lib/nvidia-current

Everything works including CFX and Fluent. The only thing left is messages in install.err about "unexpected operator"
megamin is offline   Reply With Quote

Old   June 23, 2010, 02:23
Default
  #58
Member
 
Basharat
Join Date: Feb 2010
Posts: 37
Rep Power: 16
elbasharat is on a distinguished road
can anyone give me Ansys customer portal login ID and password please.?
__________________
Rgds
Martin
elbasharat is offline   Reply With Quote

Old   June 23, 2010, 09:24
Default OpenGL problems
  #59
irw
New Member
 
Join Date: Mar 2010
Posts: 21
Rep Power: 16
irw is on a distinguished road
For those of you reporting problems with the Meshing tool and OpenGL/NVidia graphics, have you tried starting workbench with:

Code:
runwb2 -oglmesa
This will force workbench to use software graphics acceleration rather than the problematic hardware glx driver. This works for me on a clean Ubuntu 9.10 64-bit install following the instructions I gave previously.

Following the instructions I provided earlier gives a fully functional ANSYS Fluent, Design Modeller, Meshing and CFX-post on three different Ubuntu 9.10 64-bit installations (one with ATI graphics card and two with NVIDIA cards).
irw is offline   Reply With Quote

Old   June 23, 2010, 12:48
Default
  #60
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 irw View Post
For those of you reporting problems with the Meshing tool and OpenGL/NVidia graphics, have you tried starting workbench with:
Code:
runwb2 -oglmesa
On ubuntu 10.04 64 bits, yes I tried, and no it didn't work, because the mesa libes were not available to the products started by workbench. I described a workaround in post #54, wiyh tha all works fine as for you.
Yankee 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 01:16.