CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[GAMBIT] gambit 2.3.16 on ubuntu 10.04

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By villager

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2011, 05:51
Default gambit 2.3.16 on ubuntu 10.04
  #1
New Member
 
Join Date: Nov 2011
Posts: 1
Rep Power: 0
binjiestudent is on a distinguished road
Hello everyone
May be there have something wrong when the gambit 2.3.16 run on the ubuntu 10.04,some questions as flows:
  1. when i run the gambit,one warning is given,but the gambit can run normally:
warning: locale not supported by C library, locale unchanged
VisualID: 209
class: 4
depth: 24
bits_per_rbg: 8
map_entries: 256
Using OPENGL_DEVICE_DRIVER with no standard visual.
2. when i create two volume and then do boolean operation,at this time,gambit crumbled and closed automaticly ,at the same time ,terminal apperaed message as flows:
Received exception: SIGSEGV (segmentation violation)

Please send the GAMBIT.8073/jou and GAMBIT.8073/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.8073 after sending the
above files.
3.when i create two volume and try to use shift+leftkey to pick them, the ubuntu system like dead,you can do any operation.after 5min. the system to be oK ,but the same question apperaed once use shift+leftkey

Does anyone meet these questions like me ? and how to slove?
binjiestudent is offline   Reply With Quote

Old   December 5, 2011, 10:17
Default Hi
  #2
New Member
 
Join Date: Dec 2011
Posts: 1
Rep Power: 0
bachasaurus is on a distinguished road
hello

Can you pass the gambit 2.3.16 installer for linux?

I want to use in Debian
r
egards
bachasaurus is offline   Reply With Quote

Old   February 29, 2012, 10:12
Smile ...
  #3
Member
 
vlg
Join Date: Jul 2011
Location: My home :)
Posts: 81
Rep Power: 18
villager is on a distinguished road
Quote:
Originally Posted by binjiestudent View Post
Hello everyone
Does anyone meet these questions like me ? and how to slove?
Yes, I finally have managed with this error.

If you recieve such messages in console:
Received X Intrinsics Warning <Cannot convert string "-adobe-helvetica-medium-r-normal-*-*-120-75-75-*-*-*" to type FontStruct
and other such messages, and Gambit crashes after trying to mesh (for example:
volume mesh volume.1 tetrahedral
)
then, install some packages: (Ubuntu, insert these lines in console - bash)

sudo apt-get install xfonts-75dpi
sudo apt-get install xfonts-100dpi

sudo apt-get install mesa-utils
sudo apt-get install libxtst-dev

Then edit xorg.conf;
sudo nano /etc/X11/xorg.conf

insert these strings:

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
EndSection

press Ctrl-O to save, ENTER. Then Ctrl-X to quit "nano" text editor.

At last, execute this line:
sudo dpkg-reconfigure -phigh xserver-xorg
and restart your computer. (you can restart only xserver if you don't want to restart your computer)

Now, I think only packages xfonts-75dpi xfonts-100dpi are necessary, other packages can be installed optionally. You can check it

NOTE: I've started Gambit with X11 display driver!!!
gambit -dev X11
villager is offline   Reply With Quote

Old   April 18, 2012, 02:18
Smile it solve my problem.
  #4
New Member
 
Li JIachun
Join Date: Apr 2012
Posts: 1
Rep Power: 0
saimachensi is on a distinguished road
I have the same error message but with different problem. My gambit crashes whenever I try to import some geomery files. I do what
villager says, my problem solved. Thanks.
saimachensi is offline   Reply With Quote

Old   October 27, 2013, 20:28
Default the same problem
  #5
New Member
 
Flavio
Join Date: Oct 2013
Posts: 12
Rep Power: 13
hfla is on a distinguished road
Hello, I have the same problem for gambit on ubuntu 13.10.
"locale not supported by C library, locale unchanged".
Gambit crashes when I split an edge and in general continuslly. Have somebody fix the problem?
Thanks Flavio
hfla is offline   Reply With Quote

Old   October 28, 2013, 09:17
Lightbulb answer
  #6
Member
 
vlg
Join Date: Jul 2011
Location: My home :)
Posts: 81
Rep Power: 18
villager is on a distinguished road
Quote:
Originally Posted by hfla View Post
Hello, I have the same problem for gambit on ubuntu 13.10.
"locale not supported by C library, locale unchanged".
Gambit crashes when I split an edge and in general continuslly. Have somebody fix the problem?
Thanks Flavio
Flavio, have you read these two posts and carefully done all instructions?

http://www.cfd-online.com/Forums/ans...tml#post346899

http://www.cfd-online.com/Forums/ans...tml#post415970

If so, let me know of any issue.
villager is offline   Reply With Quote

Old   October 28, 2013, 10:55
Default It seems works well
  #7
New Member
 
Flavio
Join Date: Oct 2013
Posts: 12
Rep Power: 13
hfla is on a distinguished road
Thanks a lot for the answer, I applied the fixes you say in this thread. Also I applied what you say in "Gambit works on Windows, but not in Linux", with the creation of a .C file. It seems work well, I created a grid without a crash , but the error on startup is the same:
Code:
warning: locale not supported by C library, locale unchanged
.
There is a think I don't understand, I compiled the file memcpy_preload.c on my Deskotp, and I created the .so file there. Is there a specific location for .so file? Now everytime I'm going to start gambit I must digit
Code:
LD_PRELOAD=......../memcpy_preload.so ......../gambit -dev X11
?
or I can start gambit from every folder i like with
Code:
gambit -dev X11
?

Thanks for your patience
hfla is offline   Reply With Quote

Old   October 28, 2013, 13:32
Smile
  #8
Member
 
vlg
Join Date: Jul 2011
Location: My home :)
Posts: 81
Rep Power: 18
villager is on a distinguished road
1)
Quote:
Originally Posted by hfla View Post
... but the error on startup is the same:
Code:
warning: locale not supported by C library, locale unchanged
.
That's not error, just warning I usually ignore this.

2) make a file:
Code:
:~$ sudo gedit /usr/bin/gambit
Content:
Code:
#!/bin/sh
LD_PRELOAD=***FULL PATH TO memcpy-preload.so*** ***FULL PATH TO GAMBIT*** -dev X11
Code:
:~$ sudo chmod +x /usr/bin/gambit
Exclude path to gambit_dir/bin/gambit from your system PATH variable (if you did it to run gambit from every folder you like). Restart terminal.

You should get this output:
Code:
:~$ which gambit
/usr/bin/gambit
Then, you start gambit like this:
Code:
:~$ gambit


P.S. "-dev OpenGL" works fine for me too.
Maybe, you need mesa, to run like that.
For Debian-like linux distros:
Code:
:~$ sudo apt-get install mesa-common-dev mesa-utils libglu1-mesa-dev

Last edited by villager; November 15, 2013 at 11:40. Reason: improved code formatting for better understanding
villager is offline   Reply With Quote

Old   October 28, 2013, 17:44
Default gambit start
  #9
New Member
 
Flavio
Join Date: Oct 2013
Posts: 12
Rep Power: 13
hfla is on a distinguished road
Hello, I followed your instructions, but I'm sure that I made a mistake. I create the file with:
Code:
sudo gedit /usr/bin/gambit
I write in gedit:
Code:
#!/bin/sh
LD_PRELOAD=~/Desktop/memcpy-preload.so ~/Fluent.Inc/bin/gambit -dev X11
Now I save and close the gedit file. So I turn back to the terminal for writing:
Code:
sudo chmod +x /usr/bin/gambit
.I don't get any output of errors or warning, but when I close the terminal and reopen I don't get the messagge;
Code:
which gambit
I think that could been importat to know that when I installed FLuent and gambit, for starting from any folder I like, I wrote the bashrc in my home folder:
Code:
gedit ~/.bashrc
by editing in the end of the file the string:
Code:
PATH=~/Fluent.Inc/bin:$PATH ; export PATH
so I saved and closed the gedit. On the terminal I inserted:
Code:
source ~/.bashrc
It could been this the problem?

Thanks a lot
hfla is offline   Reply With Quote

Old   October 29, 2013, 07:21
Default Solved
  #10
New Member
 
Flavio
Join Date: Oct 2013
Posts: 12
Rep Power: 13
hfla is on a distinguished road
Thanks a lot Villager, I've changed the name of the gedit file into gambitst with:
Code:
sudo gedit /usr/bin/gambitst
So I followed your instruction, and now everything works fine. Thanks a lot
I've the last question, when I start Gambit I receve that message:
Code:
Warning: locale not supported by C library, locale unchanged
	Using X_DEVICE_DRIVER with standard visual.
Total of 1.48 cpu second(s), 623456 maximum memory.
what the means of "Using X_DEVICE_DRIVER with standard visual, and Total of 1.48 cpu second(s), 623456 maximum memory"?

Thank you
hfla is offline   Reply With Quote

Old   December 4, 2013, 04:47
Default
  #11
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17
fivos is on a distinguished road
Villager thank you a lot for your detailed instructions and efforts. Gambit works!!!
fivos is offline   Reply With Quote

Old   March 18, 2014, 08:31
Default
  #12
New Member
 
Issac
Join Date: Feb 2012
Posts: 4
Rep Power: 14
gindar is on a distinguished road
Quote:
Originally Posted by villager View Post
Flavio, have you read these two posts and carefully done all instructions?

http://www.cfd-online.com/Forums/ans...tml#post346899

http://www.cfd-online.com/Forums/ans...tml#post415970

If so, let me know of any issue.
It works. My OS is ubuntu 13.10.
Thanks a lot!
gindar is offline   Reply With Quote

Old   February 28, 2017, 01:03
Question Error while installing Gambit on ubanu 8.10
  #13
JSR
New Member
 
Jaijeet
Join Date: Feb 2017
Posts: 6
Rep Power: 9
JSR is on a distinguished road
I am new to ubantu, I have install gambit but when i run it from /home/fluent.inc/bin gambit -dev11 it shows --jaijeet@jaijeet-laptop:~/gambit_install/Fluent.Inc/bin$ gambit -dev x11
The program 'gambit' is currently not installed. You can install it by typing:
sudo apt-get install gambit
bash: gambit: command not found
  • but when i use ./gambit it shows
jaijeet@jaijeet-laptop:~/gambit_install/Fluent.Inc/bin$ ./gambit

This product has the following patch(es) applied:
patch_2230_1

You can find more information about the patch(es) in the
respective text file(s) located at:
/home/jaijeet/gambit_install/Fluent.Inc/gambit2.2.30.

Starting /home/jaijeet/gambit_install/Fluent.Inc/gambit2.2.30/lnx86/gambit ...
Warning: locale not supported by C library, locale unchanged
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb21007c7]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb2100891]
#2 /usr/lib/libX11.so.6(_XReply+0x254) [0xb23ce494]

  • till now i have untar the file...then install the .sh file in seperate file....the go to installed directory fluent/bin......and the run the gambit using ./gambit or gambit -dev x11
  • may be my procedure is not right
  • please help me...my project is delayed by 4 months in facing this shit.....
JSR is offline   Reply With Quote

Old   February 28, 2017, 15:39
Default
  #14
Member
 
vlg
Join Date: Jul 2011
Location: My home :)
Posts: 81
Rep Power: 18
villager is on a distinguished road
maybe, you've forgotten one more slash

/home/fluent.inc/bin/gambit -dev11

(Suprised, if anyone uses gambit in 2017)
villager is offline   Reply With Quote

Reply

Tags
ubuntu gambit2.3.16


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GAMBIT] GAMBIT 2.4.6 on Ubuntu 10.04 DoHander ANSYS Meshing & Geometry 29 May 22, 2012 07:37
Gambit error in Ubuntu 9.10 jbmere FLUENT 1 November 20, 2011 16:00
Uninstall Gambit on Ubuntu 10.04 ClothMelon FLUENT 0 December 6, 2010 15:19
ANSYS FLUENT 12.1.4 on ubuntu 10.04 mundhwam FLUENT 0 June 28, 2010 16:34
Gambit 2.3.16, Xming or Exceed...HELP! bambam3417 FLUENT 10 May 7, 2010 13:39


All times are GMT -4. The time now is 18:08.