|
[Sponsors] |
ANSYS Workbench on "Uncertified" Linux Distros |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 1, 2010, 05:28 |
|
#41 |
Member
Derwin Parkin
Join Date: Feb 2010
Posts: 35
Rep Power: 16 |
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? |
|
June 1, 2010, 09:27 |
|
#42 |
New Member
Carsten \'t Mannetje
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
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 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. I am by no means an expert in Linux, so it's most likely a beginner's mistake, but any help is appreciated. |
|
June 1, 2010, 10:15 |
|
#43 |
New Member
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16 |
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... |
|
June 1, 2010, 10:18 |
|
#44 |
New Member
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16 |
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) |
|
June 1, 2010, 10:49 |
|
#45 |
New Member
Carsten \'t Mannetje
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
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?
|
|
June 1, 2010, 11:24 |
|
#46 | |||
New Member
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16 |
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:
Quote:
Quote:
|
||||
June 2, 2010, 01:04 |
|
#47 |
Member
Derwin Parkin
Join Date: Feb 2010
Posts: 35
Rep Power: 16 |
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? |
|
June 2, 2010, 05:12 |
|
#48 | |
New Member
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16 |
Quote:
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. |
||
June 2, 2010, 05:15 |
|
#49 |
Member
Derwin Parkin
Join Date: Feb 2010
Posts: 35
Rep Power: 16 |
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... |
|
June 2, 2010, 05:44 |
|
#50 | |
New Member
Carsten \'t Mannetje
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
Quote:
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 |
||
June 2, 2010, 17:52 |
|
#51 | |
New Member
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16 |
Quote:
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... |
||
June 2, 2010, 17:57 |
|
#52 | |
New Member
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16 |
Quote:
|
||
June 3, 2010, 05:29 |
|
#53 |
New Member
Carsten \'t Mannetje
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
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 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. |
|
June 4, 2010, 14:13 |
|
#54 | ||
New Member
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16 |
Quote:
Quote:
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 $@ |
|||
June 5, 2010, 16:56 |
Ubuntu 10.04
|
#55 |
New Member
Join Date: Feb 2010
Posts: 3
Rep Power: 16 |
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? |
|
June 12, 2010, 05:32 |
Ansys 12.1 under Slackware 13.1
|
#56 |
New Member
Join Date: Jun 2010
Posts: 1
Rep Power: 0 |
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. |
|
June 15, 2010, 06:01 |
WB 12.1 on Ubuntu 10.04 64-bit
|
#57 |
New Member
joachim
Join Date: Jun 2010
Posts: 1
Rep Power: 0 |
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" |
|
June 23, 2010, 02:23 |
|
#58 |
Member
Basharat
Join Date: Feb 2010
Posts: 37
Rep Power: 16 |
can anyone give me Ansys customer portal login ID and password please.?
__________________
Rgds Martin |
|
June 23, 2010, 09:24 |
OpenGL problems
|
#59 |
New Member
Join Date: Mar 2010
Posts: 21
Rep Power: 16 |
For those of you reporting problems with the Meshing tool and OpenGL/NVidia graphics, have you tried starting workbench with:
Code:
runwb2 -oglmesa 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). |
|
June 23, 2010, 12:48 |
|
#60 |
New Member
Yves Delannoy
Join Date: Feb 2010
Location: Grenoble, France
Posts: 24
Rep Power: 16 |
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.
|
|
|
|
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 |