You are not logged in.

#1 2011-12-05 23:39:50

jlight2011
Member
From: Melbourne
Registered: 2011-06-15
Posts: 51

[SOLVED] Linux Standard Base for Archlinux to run ANSYS Fluent

Hi Arch Users!
I am trying to get an engineering package to work on my arch distro but having difficulty. I installed OpenSUSE in virtualbox and had the same issue, being the licensing program does not work. After some searching online it was down to lsb not being installed. After I installed lsb core in OpenSUSE I was able to get the licensing manager to work.

However, I do not find an similar package in Archlinux. Can any one guide me on how to get LSB in Archlinux.

Cheers!

J

Last edited by jlight2011 (2012-09-26 01:54:09)

Offline

#2 2011-12-05 23:48:30

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,673
Website

Re: [SOLVED] Linux Standard Base for Archlinux to run ANSYS Fluent

Offline

#3 2011-12-05 23:55:11

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: [SOLVED] Linux Standard Base for Archlinux to run ANSYS Fluent

I would suspect it's not in Archlinux because when I stfw I see that LSB only comes as an RPM; however, it is an ISO standard, so if you stfw some more, you should be able to reproduce enough of the LSB to satisfy your software.

Does the software really say it needs LSB? I suspect you've got an X-Y problem.
X: I want my engineering package installed.
Y: I want LSB on Arch Linux.

What errors do you really get?

Offline

#4 2011-12-05 23:55:50

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Linux Standard Base for Archlinux to run ANSYS Fluent

pacman -Ss lsb
community/lsb-release 1.4-10
    LSB version query program

This ^?


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-12-06 00:08:15

jlight2011
Member
From: Melbourne
Registered: 2011-06-15
Posts: 51

Re: [SOLVED] Linux Standard Base for Archlinux to run ANSYS Fluent

I have already installed this and init-functions from AUR but did not help.

I also installed lsb-release. with not help.

Offline

#6 2011-12-06 00:13:31

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: [SOLVED] Linux Standard Base for Archlinux to run ANSYS Fluent

jlight2011 wrote:

I have already installed this and init-functions from AUR but did not help.

I also installed lsb-release. with not help.

Funny, your OP says,

jlight2011 wrote:

However, I do not find an similar package in Archlinux.


If you want quality help, give quality information.

  1. What do you want to do? - Okay, this was clear.

  2. What actually happens? - Nope, no info on this.

  3. What have you tried? - Apparently, you've tried using existing Arch solutions, even though you said you couldn't find any existing Arch solutions.

Last edited by /dev/zero (2011-12-06 00:14:20)

Offline

#7 2011-12-06 00:14:36

jlight2011
Member
From: Melbourne
Registered: 2011-06-15
Posts: 51

Re: [SOLVED] Linux Standard Base for Archlinux to run ANSYS Fluent

/dev/zero wrote:

I would suspect it's not in Archlinux because when I stfw I see that LSB only comes as an RPM; however, it is an ISO standard, so if you stfw some more, you should be able to reproduce enough of the LSB to satisfy your software.

Does the software really say it needs LSB? I suspect you've got an X-Y problem.
X: I want my engineering package installed.
Y: I want LSB on Arch Linux.

What errors do you really get?

I do not get an error as such, the issue is that the license manager issues an ID that I need to give to software services at Uni to issue my license. That ID is blank. It was blank in OpenSUSE too but after I installed the package lsb the ID was issued (as suggested in some online forums).

I want it to work on my Arch and not OpenSUSE on virtual box (for performance reasons).

So i just see what the packages in OpenSUSE provide and copy it to Archlinux. May be make a package and install it in pacman ?

J

Offline

#8 2011-12-06 00:26:17

jlight2011
Member
From: Melbourne
Registered: 2011-06-15
Posts: 51

Re: [SOLVED] Linux Standard Base for Archlinux to run ANSYS Fluent

/dev/zero wrote:

Funny, your OP says,

jlight2011 wrote:

However, I do not find an similar package in Archlinux.

If you want quality help, give quality information.

Sorry, about the lack of info.

What actually happens?

The license manager (FlexLM) does not issue an ID (HostID). No error message is seen. The full package is ANSYS Fluent. Ubuntu users had a similar issue (seen at www.cfd-online.com) and resolved this issue by installing a package lsb-core.

]What have you tried?

I installed OpenSUSE on my virtual box to see if it worked there. Initially it did not. But after installing lsb and re-installing the application the license manager issued an ID, which is what I want.

Based on this info I installed the following in Archlinux

lsb-release
init-functions   [AUR]
ld-lsb   [AUR]

It did not help. The comparing the file list in the Ubuantu package for it lsb-core to that I installed indicate some missing.

Last edited by jlight2011 (2011-12-06 00:36:18)

Offline

#9 2012-09-26 01:53:17

jlight2011
Member
From: Melbourne
Registered: 2011-06-15
Posts: 51

Re: [SOLVED] Linux Standard Base for Archlinux to run ANSYS Fluent

After initially giving up on this issue and running ANSYS on OpenSUSE through VirtualBox for some months now, i decided to fix this issue and get it to work on Arch.

The problem boiled down to the license binary depended on ld-lsb-x86-64.so.2. The package, available on AUR, mentioned earlier in this thread called:

yaourt -Ss ld-lsb
aur/ld-lsb 3-4 [installed] (646)
    Faking a Linux Standard Base runtime

Was incomplete in the sense it only created sym links for ld-lsb.so.2. Editing the PKGBUILD to allow for the following symbolic links did the trick

 
  ln -sf "ld-linux.so.2" "$pkgdir/usr/lib/ld-lsb.so.2"
  ln -sf "ld-linux.so.2" "$pkgdir/usr/lib/ld-lsb.so.3"
  ln -sf "ld-linux-x86-64.so.2" "$pkgdir/usr/lib/ld-lsb-x86-64.so.2"
  ln -sf "ld-linux-x86-64.so.2" "$pkgdir/usr/lib/ld-lsb-x86-64.so.3"

So hopefully if there is any one out there wanting to run ANSYS Fluent and their other products on Archlinux, install the ld-lsb package from AUR. I will inform the maintainer to include the above mentioned.

Regards

J

Offline

#10 2013-06-10 18:05:25

Kulfaangaren
Member
Registered: 2011-05-19
Posts: 3

Re: [SOLVED] Linux Standard Base for Archlinux to run ANSYS Fluent

Thanks guys,

ld-lsb 3-6 from AUR repo together with lib32-glibc from multilib and the above mentioned lsb-release and init-functions and a custom rpm-script (from CFD-Online forum [cfd-online.com/Forums/cfx/25236-ansys-workbench-uncertified-linux-distros.html]) solved all my problems which was getting lmutil to work so I can gather license statistics.

Offline

Board footer

Powered by FluxBB