XANSYS Message: 92849 [Go back to message list]
[bookmark on del.icio.us]
Average Rating: 10 (1 votes)
Rate item:

Subject: Re: OTHER: ANSYS 11 in 64-bit OpenSUSE10.3 - ELFCLASS32
Author: Jason Krantz
Date: 2008-04-14 19:24:36

This is a subject near and dear to my heart; I really wish ANSYS would
support the various dot releases for at least one Linux distro (but see
below).

Renee, you would probably have better luck with SuSE 10.0 x64; that's
the latest officially supported version of SuSE. If I recall correctly,
we've had pretty good luck with 10.1, but 10.2 and 10.3 have been less
than seamless. This is due to the binaries ANSYS releases, not due to
any errors or malfeasance on the part of SuSE.

Michael Leventis and Mike Marscher gave you some good tips; here's what
I have to add:

- The OpenSuSE distro makes use of the OpenMotif libraries. OpenMotif
has been made available to the Linux community by the company behind
Motif and is free (i.e., no cost) for use by people like us. However,
some people who feel strongly about open-source software feel that the
OpenMotif license is too restrictive. That's why they've created
lesstif. (Get it? Mo-tif and les-tif? I think the naming joke is that
les is mo; I take no responsibility for the humor content of that joke).

- I don't get very worked up about the purity of open-source software
and have no qualms about using OpenMotif. I haven't looked closely at
the OpenMotif license, and I'm certainly not an intellectual property
attorney, but ultimately I'm entirely unconcerned about the terms of the
license. That's not to say that the more zealous open-source advocates
don't have a point; it's just that I'm not too worried personally.

- We happen to have a 64-bit OpenSuse 10.3 box here, though ANSYS is not
installed on it. We also have several OpenSuse 10.2 boxes successfully
running WB and Classic via OpenMotif. On our 10.3 box, when I look
around for what versions of openmotif and libXm.so.3 we have installed,
I get this:

~ # rpm -qa | grep openmotif
openmotif22-libs-32bit-2.2.4-84.1
openmotif-libs-2.3.0-23
openmotif22-libs-2.2.4-84.1

~ # rpm -q --provides openmotif22-libs-32bit
libMrm.so.3
libUil.so.3
libXm.so.3
openmotif22-libs-32bit = 2.2.4-84.1

~ # rpm -q --provides openmotif22-libs
libMrm.so.3()(64bit)
libUil.so.3()(64bit)
libXm.so.3()(64bit)

So you can see that we have libXm.so.3 available in both 64-bit and
32-bit versions. (One is in /usr/lib and the other is in /usr/lib64) So
first, you need to make sure that you have the openmotif22-libs.x86_64
rpm installed. Then, you can either remove the openmmotif22-libs-32bit
package and try running Classic or you can rename /usr/lib/libXm.so.3 to
/usr/lib/libXm.so.3.old and create a symlink from /usr/lib/libXm.so.3 to
/usr/lib64/libXm.so.3.

Alternatively, you could cd into /ansys/v110/syslib/linem64t and create
a symlink named libXm.so.3 that connects to /usr/lib64/libXm.so.3. As I
said, we got both WB and Classic working on OpenSuse 10.2; we compiled a
beta release of OpenMotif-2.3 from source...if I recall correctly, ANSYS
was complaining about something that required us to use it. However, the
first-party package repositories for OpenSuse 10.3 currently list
OpenMotif 2.3 as the default version, so you may not need to take this
step.

Even so, you may have to do some further playing around with symlinks to
get ANSYS to use the right libraries. If you just want to get a
Linux-based ANSYS solver up and running quickly, you need to use either
RHEL4/CENTOS4 or SuSE10.0.

I hope this helps.

Jason

-----------------------------------
Jason Krantz
Senior Mechanical Engineer
Mechanical Simulation
Phoenix Analysis & Design Technologies
jason.krantz_at_padtinc.com
480-813-4884 x145



-----------------------------------
An addendum, entitled:

"Thoughts and Opinions about using ANSYS with Current Versions of Linux
Distros"
-or-
"No One Asked But I Wrote It Anyway"

If we here at PADT think we might have to run Workbench on a Linux box,
we install an officially supported distro: either Centos4 or SuSE 10.0.
(CentOS is Redhat Enterprise Linux with the logos stripped out; it's
free and indistinguishable from the equivalent RHEL release. If you
don't need Redhat support for your Linux boxes, CentOS is a great
option). I recently tried to get Workbench running with CentOS5.1, but
it was no go. I had an exchange with some of the ANSYS people about it,
and the upshot was that although RHEL5/Centos5 *might* be supported for
Workbench in, say, 11.0SP2 (if there ever is such a thing) one cannot
count on 5.x support for Workbench until v12.


With regard to making current distros work, I have this to offer for
RHEL5/CentOS5:

- Classic can be made to work without too much fuss:
- Upon initial install, we would say:
bash-3.1$ /apps/ansys/v110/ansys/bin/ansys110
- and the machine would reply with:
/apps/ansys/v110/ansys/bin/linop64/ansys.e110:
/apps/ansys/v110/ansys/syslib/linop64/libgcc_s.so.1: version `GCC_4.2.0'
not found (required by /usr/lib64/libstdc++.so.6)

- But when we said:
cd /apps/ansys/v110/ansys/syslib/linop64/
mv ./libgcc_s.so.1 ./libgcc_s.so.1_ORIG
ANSYS classic ran just fine. Essentially, ANSYS was loading the
wrong version of libgcc_s.so.1, and by renaming it, we were forcing
ANSYS to load the "right" version, which we had already installed.

When building a new Linux machine, I like to use the latest official
release of whatever distribution we've chosen. Choosing the most recent
release means that security updates will be available for a long time.

Realistically, a RedHat or CentOS machine will be obsolete (and retired)
as an ANSYS solver long before security updates run out; RedHat's
official policy is to issue security updates for seven years after the
initial release:

http://www.redhat.com/security/updates/errata/

So running RHEL 4 isn't ultimately a problem; my complaint is primarily
from a best-practices perspective (as opposed to being from a
hey-really-this-is-an-urgent-security-problem perspective). I imagine
the situation is similar with SuSE.

Finally, for what it's worth, we've been able to get Fluent running on
RHEL5/CentOS5. Let me know if you're interested in how we wrangled it.




-----Original Message-----
From: xansys-bounces_at_xansys.org [mailto:xansys-bounces_at_xansys.org] On
Behalf Of MCM
Sent: Monday, April 14, 2008 7:27 AM
To: ANSYS User Discussion List
Subject: Re: [Xansys] OTHER: ANSYS 11 in 64-bit OpenSUSE10.3 -
ELFCLASS32 error

I have installed ANSYS 11, WB, and CFX on both 64-bit SLES9 and SLES10.
I was not able to get WB or CFX to work on CentOS 5 (binary compatible
with Redhat) due to errors similar to what you are seeing but "classic"
worked. In the end, I relented and installed SLES9.

You are incorrect in stating that ANSYS does not support Linux. They do
support Linux, just not the flavor you are trying to use:
http://www.ansys.com/services/ss-linux.htm

ANSYS R12 Linux support is shown here:
http://www1.ansys.com/customer/content/ANSYS12_product_platform_support_
plan-091907.pdf

I have had issues on my Linux installs where a new version of a library
breaks ANSYS and I have to revert to an earlier version of the library.
In my experience, XFree86-devel, XFree86-Mesa, and XFree86-Mesa-devel
have all been sensitive regarding their version. Have you checked what
version of libXm your school's 32 bit machines are running and tried
installing the same version 64-bit lib on your machine?

I agree with Michael Leventis that the error appears to be related to
Motif and that you are probably missing the correct non-free libraries
because you are using OpenSUSE instead of SLED/SLES.

I don't think LessTif is going to fix your problem but I suppose it is
worth a try before you install one of the supported distributions.

Mike Marscher
Mechanical Solutions Inc.

Mail Boileau Renee wrote:
> Hello -
>
> Has anyone installed ANSYS on a 64-bit linux platform?
>
> I am trying to run ANSYS 11 in OpenSUSE 10.3 with an Intel Core2 Quad.

> I have installed the linuxM64T (64-bit for Xeon) package per the
> online documentation, and the Product Launcher window opens fine, but
> when I launch ANSYS Classic, a white window opens with the error:
>
> ERROR MESSAGE: /usr/ansys_inc/v110/ansys/bin/linem64t/ansys.e110:
> error while loading shared libraries: libXm.so.3: wrong ELF class:
> ELFCLASS32
>
> I have this library installed. It appears it is looking for a 64-bit
setting.
> I have had no luck finding a fix online and ANSYS doesn't provide
> support for linux. (ANSYS already runs fine in OpenSUSE on the
> school's 32-bit systems.)
>
> Can someone can offer any tips on where to look for a solution?
>
> Thank you,
>
> Renee
> ^--------------------------------------------------------
> | XANSYS - www.xansys.org |
> | The Discussion List for users of ANSYS, Inc. Software |
> | Hosted by PADT - www.padtinc.com |
> ^--------------------------------------------------------

Posts possibly associated with message #92849AuthorDateScore
92837OTHER: ANSYS 11 in 64-bit OpenSUSE10.3 - ELFCLASS32 errorMail Boileau Renee 2008/04/14 
92839Re: OTHER: ANSYS 11 in 64-bit OpenSUSE10.3 - ELFCLASS32Mihalis Leventis2008/04/14 
92844Re: OTHER: ANSYS 11 in 64-bit OpenSUSE10.3 - ELFCLASS32elope-From: mcm_at_mechsol.com2008/04/14 
92849Re: OTHER: ANSYS 11 in 64-bit OpenSUSE10.3 - ELFCLASS32Jason Krantz2008/04/1410
92855Re: OTHER: ANSYS 11 in 64-bit OpenSUSE10.3 - ELFCLASS32XANSYS-CADFEM 2008/04/15