CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   ANSYS Workbench on "Uncertified" Linux Distros (https://www.cfd-online.com/Forums/cfx/25236-ansys-workbench-uncertified-linux-distros.html)

irw April 21, 2010 11:09

ia32-libs
 
I've just noticed that you need to make sure that the ia32-libs package is installed as well.

Sorry mechanicaldesign, I've no idea why you're getting SegFaults on CentOS. I'd look at the runwb2 file on line 24 for clues.

irw April 21, 2010 12:06

Permissions
 
After a new installation in Ubuntu 9.10 Karmic I've noticed DesignModeller only works if the installation directory has write permissions. For example, running "runwb2" as super-user worked but failed as other users.

The ANSYS installer untar's some big files with the owner set to UID 8029 and group set to "staff". I want to set this to root:root but I've seen DesignModeller try to write to the install directory! As such I've now settled on the permissions myuser:mygroup instead for the install directory.

Specifically:
chown -R myuser:mygroup /ansys_inc
chmod -R +w /ansys_inc

mechanicaldesign April 21, 2010 13:41

Hi irw,

Iīm glad to see that you know that library ia32. Unfortunately I donīt know from were I can downloaded, or which is her name on CentOS:

>yum install ia32 ???

I will apreciate if you can send me the name of my missing library, or to send me how to install it with yum. In this moment I have installed EPEL and RPMforge like repository.

Thank you for advice in advance.

Best regards.:o

Yankee April 26, 2010 05:41

I'm very glad to see that somebody made it work on Ubuntu Karmic, but for me I still have the problem "Meshing must close" when meshing tries to open the files saved by design modeller.

I followed the indications of the preceding posts, but nothing works on my 32bits distribution. Maybe it works only in 64bits on ubuntu? So, two questions :

- irw, did you succeed using the meshing product, or only design modeler?
- does anybody have a complete modelling chain (DM + Meshing + any solver and postpro) working on Ubuntu 32bits?

irw April 26, 2010 06:23

Yankee,

Yes, I have DesignModeller, the Meshing Tool and fluent working in 64-bit Ubuntu 9.10 (Karmic). We do not have a post-processing licence here.


I can work through the full modelling chain with one exception - when closing DesignModeller, the application hangs AFTER it has saved all the data. So I force Design Modeller to quit and continue without difficulty.

irw April 26, 2010 06:36

Yankee,

I'll have a go at installing it on one of our 32-bit machines today.

irw April 26, 2010 12:16

Debian Etch 32bit
 
Yankee,

I tried installing workbench on a 32-bit install of Debian Etch. I had to change various directory names in the above instructions (e.g. Linux64 to Linux32, /usr/lib64 to /usr/lib etc.) Other than that the installation process was the same as for the 64-bit version.


When I start Workbench the local licence server crashes out with the error "Local server exited or could not read local server port ANSYSLI_LOCAL_PORT". I've checked that my licence configuration in /ansys_inc/shared_files/licensing/ansyslmd.ini is the same as for the other computers on our network. Workbench opens and under licence preferences I can see our FLUENT and DesignModeller licences, but they are not present in workbench. Any ideas?

elbasharat April 27, 2010 09:23

dear friend.. !

i have run workbench also.. it runs fine.. but i have only problem with my flexlm.. as you know already... my workbench window is running even i dont have flexlm running. you see your email address.. i have sent jpegs of my workbench.. you can see there. but solve my flexlm problem also..


i m wonder how your flexlm is running in lic admin.............. :))))


Martinnnnnnnnnnn

Yankee April 27, 2010 11:24

Hello irw,

There was no special concern for me about licenses on my 32bit systems. But I find it amazing that you use a local license server on your 32bit machine if you already have one on a 64bit server: try to simply specify the 64bit machine, with the server already running, as your license server in ansyslmd.ini (or alternatively with the tool anslic_admin, that you can also use to check the license status)

irw April 27, 2010 11:39

Yankee,

I am using the same _remote_ licence server for the 32bit machine as I am for the 64bit machine. I have specified the remove machine in ansyslmd.ini and according diagnostics from anslic_admin the server is up and running. However, I still get a licensing error message when I run workbench on 32bit Debian Etch.

elbasharat April 27, 2010 15:00

Dear irw .!

the same error i have facing.. stil my server is also up and running but there is still flexlm not running... is your flexlm is running?


rgds
Maratin

irw April 28, 2010 04:18

Flexlm ('lmgrd') is running on our remote server. Our remote server is 32bit. It is accessible from other 64-bit machines running fluent and workbench. lmgrd is not running on the local 32-bit machine.

From the 32-bit machine I have tried the following commands:
arch -> i686
uname -i -> i386
uname -m -> i686

From a 64-bit machine I have tried the following commands:
arch -> x86_64
uname -i -> x86_64
uname -m -> x86_64

elbasharat April 28, 2010 04:29

dear friend.

I m not getting you so much proper.. can you tell me about your OS platforms....

if you have 32 bit flexlm is runing there. then is there valid license? and if you have another 64 bit then whats there on it?

i m concerned with license file.....

:))))

cheers
Martin

irw April 28, 2010 04:55

Maybe our licence is restricted to 64-bit only?

pini May 12, 2010 11:51

ANSYS 12.1 on Debian etch amd64
 
Hi,

Thanks to this thread I'm now able to run ANSYS 12.1 on Debian etch amd64. I've made a local debian package, which introduces extra-complexity :/

1- uname wrapper to put somewhere in the PATH (this is for the amd64 arch only; ia32 arch requires an extra conversion i686 -> i386):
Code:

#!/bin/sh

if [ "$1" = "-i" ]; then
        /bin/uname -m
else
        /bin/uname "$@"
fi

2- Postintall: install the above uname wrapper into <ansys_root>/v121/aisol/mw/bin/

3- Postinstall: rename the workbench script (<ansys_root>/v121/aisol/workbench) to workbench.real and install this wrapper as workbench:
Code:

#!/bin/sh
MALLOC_CHECK_=0 LC_NUMERIC=C exec $0.real "$@"

Problems yet to be solved
1- During the Debian package build into a cowbuilder chroot, the silent install produces these error messages below. It's because the user used for the build (pbuser) doesn't have a $HOME. I don't know yet how critical these errors are...
Code:

>>>---------------------------------------> 
 ANSYS installation: Wed May 12 08:18:07 UTC 2010 
 Revision: 12.1 
 
 ** (/local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/commonfiles/CAD/bin/linx64/Ans.CadInt.CADConfigurationUtility.exe:25025): CRITICAL **: _wapi_shm_file_open: shared file [/home/pbuser/.wapi/shared_data-ingvsxi7-Linux-x86_64-328-12-0] open error: No such file or directory 
 
 ** (/local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/commonfiles/CAD/bin/linx64/Ans.CadInt.CADConfigurationUtility.exe:25025): CRITICAL **: _wapi_shm_attach: shared file [/home/pbuser/.wapi/shared_data-ingvsxi7-Linux-x86_64-328-12-0] open error 
 
 ** ERROR **: file shared.c: line 521 (shm_semaphores_init): assertion failed: (tmp_shared != NULL) 
 aborting... 
 
 ** (process:25025): WARNING (recursed) **: Thread (nil) may have been prematurely finalized 
 Stacktrace: 
 
 
 ** (process:25025): WARNING (recursed) **: Thread (nil) may have been prematurely finalized 
 
 Native stacktrace: 
 
  /local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/Tools/mono/Linux64/bin/mono [0x48d4c7] 
      /lib/libpthread.so.0 [0x2afe59cd9410] 
      /lib/libc.so.6(gsignal+0x3b) [0x2afe59f9407b] 
      /lib/libc.so.6(abort+0x10e) [0x2afe59f9584e] 
      /usr/lib/libglib-2.0.so.0 [0x2afe5995797b] 
      /usr/lib/libglib-2.0.so.0(g_log+0x83) [0x2afe59957a03] 
  /local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/Tools/mono/Linux64/bin/mono [0x58faf3] 
  /local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/Tools/mono/Linux64/bin/mono [0x57cb27] 
  /local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/Tools/mono/Linux64/bin/mono(mono_once+0x101) [0x595bb1] 
  /local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/Tools/mono/Linux64/bin/mono [0x57ccb5] 
  /local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/Tools/mono/Linux64/bin/mono [0x583c30] 
  /local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/Tools/mono/Linux64/bin/mono [0x536cac] 
  /local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/Tools/mono/Linux64/bin/mono(mono_runtime_init+0x25) [0x50a3e5] 
  /local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/Tools/mono/Linux64/bin/mono [0x41af37] 
  /local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/Tools/mono/Linux64/bin/mono(mono_main+0x40c) [0x46cbcc] 
      /lib/libc.so.6(__libc_start_main+0xda) [0x2afe59f814ca] 
  /local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/Tools/mono/Linux64/bin/mono(fmod+0x62) [0x415cca] 
 
 Debug info from gdb: 
 
 
 ================================================================= 
 Got a SIGABRT while executing native code. This usually indicates 
 a fatal error in the mono runtime or one of the native libraries 
 used by your application. 
 ================================================================= 
 
 
/local00/utilisateur/d40140/debian/build-area/ansys-12.1/debian/ansys-12.1/usr/lib/ansys/12.1/v121/commonfiles/CAD/bin/ansmono:
line 91: 25025 Aborted $MONO_PREFIX/bin/mono
$WBII_ROOT/commonfiles/CAD/bin/$wbplatname/$inputexe $WBIIINTARGS 
 >>>--------------------------------------->

2- When launching workbench for the first time I've a couple or error popups related to WBScript.WBWshShell.121.
3- And at each run, this error message on the standard output:
Code:

Workbench Error: error connecting to Albion
But it seems functional so far.

Thanks everybody for sharing your experiences :) It's a PITA these tools aren't supported on (one of) the most widely used Linux desktop distro (Debian and derivatives).

elbasharat May 12, 2010 14:29

hello friend... i m still waiting about my flexlm...
its not running over redhat.. or centos.


can you tell me how did you run your felxlm ?

irw May 13, 2010 03:58

FlexLM
 
elbasharat, FlexLM runs under any Linux. You should refer to the licensing manual if you can't get that working. I followed the install instructions and it worked fine in Debian, Ubuntu and RedHat on both 64bit and 32bit.

elbasharat May 13, 2010 04:12

dear. friend.

I have lic generatos for 11 and versions 12 and even for version 12.1.

they work also in linux but they dont work with flexlm.

I have tried this many times. but always i dont get anything.

can you tell me how did you follow your procedure of installation over redhat or centos.

???

pini May 18, 2010 08:18

@elbasharat:

Please be much more specific with your question because it's impossible to answer with the current detail level.

Thanks,

elbasharat May 18, 2010 15:28

dear All friends... !


eventually I have run ansys 12.1 linux .........:)))))))))))))))))))))))))))))))))))))))) )))))))))))))))
alll products are working fine..

Rgds
Martin


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