Gambit works on Windows, but not in Linux
Hi all,
I installed Gambit on both Windows 7 and Linux (Red Hat 5.7) machines, with the Linux being the license server. When running Gambit on Windows, it starts and works perfectly. But when I'm starting it on the Linux machine, I get the following message: ------------------------------------------- LANG en_US.UTF-8 changed temporarily to C for gambit use. Starting /ansys_inc/v130/Gambit/Fluent.Inc/gambit2.4.6/lnx86/gambit ... Gambit build SP2007051420. Received exception: SIGSEGV (segmentation violation) Please send the GAMBIT.20053/jou and GAMBIT.20053/trn files to your local Fluent office or distributor. Also send a message including any relevant errors or warnings you see above in this window. You may wish to delete the temporary directory GAMBIT.20053 after sending the above files. ERROR: Please retain a copy of the GAMBIT.20053/jou, GAMBIT.20053/trn, and GAMBIT.20053/*.dbs files, any imported geometry and any relevant errors or warnings you see above in this window and contact support at your local Fluent office or distributor. Segmentation fault --------------------------------------------- It's not an issue of the *.lok file, as I haven't worked on any geometry, but only started Gambit for the first time. Any help will be appreciated!! Victor. |
belowed((
I has such problem (the same error on trying to mesh the model) on every computer with Ubuntu too, except my home computer... It's a kind of magic;) no special things was done, except one: I have many-miles of packages installed on my home computer.
Many people asked similar question, but never found the answer, i guess. for example, here http://www.cfd-online.com/Forums/flu...tal-error.html and, maybe, here, because author didn't report any further acknowledgment. http://www.cfd-online.com/Forums/flu...or-gambit.html It would be great, if somebody got it through. |
I solved the problem by installing a library that was missing (libXm.so.3 which is a part of openmotif) on my RedHat Linux machine. However, my issue was that I couldn't run Gambit at all, rather than having trouble during meshing or geometry changes.
I think that the Gambit (or ANSYS) experts are so "quiet" about these problems because they do not provide support any more, and suggest using other meshing programs, such as ICEM or ANSYS meshing. |
Quote:
any luck solving this problem? I am facing the same issue. I can't mesh face or volume. any suggestions will be appreciated ! |
Detailed Suggestion
Good day. It seems like the problem is solved. Part1. Read this http://www.cfd-online.com/Forums/ans...tml#post346899 Still crashing? Part2. on Debian-like: Code:
sudo apt-get install libc6-dev-i386 Different Linux? Reference to: Choose yours package with stubs-32 Create file memcpy_preload.c Code:
/* Copyright (C) 2011, Aurelien Jarno <aurelien woof-woof aurel32 dot net> Code:
gcc -D_GNU_SOURCE -DNOLOG -O2 -Wall -fPIC -shared -m32 -o memcpy_preload.so memcpy_preload.c Run with Code:
LD_PRELOAD=......../memcpy_preload.so ......../gambit -dev X11 Don't mind these lines during run ERROR: ld.so: object '....../memcpy-preload.so' from LD_PRELOAD cannot be preloaded: ignored. Originally this part of solution was provided on FedoraForum: http://forums.fedoraforum.org/archiv.../t-256522.html It perfectly works for me. |
Quote:
Complete procedure and awesome :) Thank you very much. |
hi
hi guys
you're all lucky guys having that rare linux 64/32 version of gambit I'm switching all the time between windows(meshing with gambit 2.3.16 win version) then loading the mesh in fluent 6.3.26 on linux since fluent runs smoothly on linux 64.... I wish I had a linux version of gambit for my final project, help please. best regards, |
hi
hi guys
I followed the fix brought to us by Villager, but no way to get it working on gentoo 64 bit, actually I did compile the memcpy_source.c and added the LD_preload directive, it still cash with that ver same error message displaying a popup message box on say that gambit cannot continue.... here is the terminal's output: $ gambit -dev x11 LANG en_US.UTF-8 changed temporarily to en_US for gambit use. Starting /home/unleashed/Fluent.Inc/gambit2.4.6/lnamd64/gambit -device x11... ERROR: ld.so: object 'memcpy-preload-64.so' from LD_PRELOAD cannot be preloaded: ignored. Gambit build SP2007051420. Using X_DEVICE_DRIVER with standard visual. Received X Intrinsics Warning <Cannot convert string "-adobe-helvetica-medium-r-normal-*-*-120-75-75-*-*-*" to type FontStruct>. Received X Intrinsics Warning <Cannot convert string "-adobe-helvetica-bold-r-normal-*-*-120-75-75-*-*-*" to type FontStruct>. Received X Intrinsics Warning <Cannot convert string "-adobe-helvetica-bold-r-normal-*-*-120-*-*-*-*-*" to type FontStruct>. Received X Intrinsics Warning <Cannot convert string "-adobe-courier-medium-r-normal-*-*-120-*-*-*-*-*" to type FontStruct>. Received X Intrinsics Warning <Cannot convert string "-adobe-courier-medium-r-normal-*-*-120-75-75-*-*-*" to type FontStruct>. Received X Intrinsics Warning <Cannot convert string "-adobe-helvetica-medium-r-normal-*-*-120-*-*-*-*-*" to type FontStruct>. Received exception: SIGSEGV (segmentation violation) Please send the GAMBIT.32409/jou and GAMBIT.32409/trn files to your local Fluent office or distributor. Also send a message including any relevant errors or warnings you see above in this window. You may wish to delete the temporary directory GAMBIT.32409 after sending the above files. this error occurs in a systematic way when I try to mesh geometry or import a mesh file I compiled the memcpy source once with the -m32 flag and then without since I have 64 bit one, I taught it was an architecture issue???:confused: please help me out, this's what I call a CFD nightmare |
It finally worked
the fix works on gentoo 64 bit, it needs some fonts as with ubuntu
for gentoo it's adobe 75dpi and 100dpi : compiled the source memcpy-preload.c given by villager without the -m32 flag. it works, gentoo is likely to include prerequisite headers, they were already there on mine: Code:
$gcc -D_GNU_SOURCE -DNOLOG -O2 -Wall -fPIC -shared -o memcpy-preload-64.so memcpy-preload.c Code:
#emerge x11-libs/motif then went here: http://en.gentoo-wiki.com/wiki/X.Org/Fonts and got the files settings section pasted in /etc/X11/xorg.conf file : Code:
# ********************************************************************** Quote:
then su: Code:
#env-update Quote:
Great thanks to all of you, special thanks to Mojtaba.a, thanks Villager. |
All times are GMT -4. The time now is 06:24. |