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

[GAMBIT] gambit 2.3.16 on ubuntu 10.04

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 3 Post By villager

Reply
 
LinkBack Thread Tools 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
 
John M.
Join Date: Jul 2011
Posts: 57
Rep Power: 5
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
kiddmax, apple-tree and Mojtaba.a like this.
villager is offline   Reply With Quote

Old   April 18, 2012, 01: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: 10
Rep Power: 3
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
 
John M.
Join Date: Jul 2011
Posts: 57
Rep Power: 5
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?

gambit 2.3.16 on ubuntu 10.04

Gambit works on Windows, but not in Linux

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: 10
Rep Power: 3
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
 
John M.
Join Date: Jul 2011
Posts: 57
Rep Power: 5
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: 10
Rep Power: 3
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: 10
Rep Power: 3
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: 102
Rep Power: 8
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: 5
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?

gambit 2.3.16 on ubuntu 10.04

Gambit works on Windows, but not in Linux

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

Reply

Tags
ubuntu gambit2.3.16

Thread Tools
Display Modes

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 On
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 06: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 15:34
Gambit 2.3.16, Xming or Exceed...HELP! bambam3417 FLUENT 10 May 7, 2010 12:39


All times are GMT -4. The time now is 07:26.