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

[Netgen] How to install Netgen-4.9.12?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 7, 2010, 19:21
Default How to install Netgen-4.9.12?
  #1
New Member
 
Join Date: Mar 2010
Posts: 14
Rep Power: 16
fiona is on a distinguished road
I'm trying to install Netgen verson 4.9.12 on Ubuntu 9.10. It seems tcl, tk and Togl have been installed all right, but when trying to start Netgen at command line (default location is /opt/Netgen), I got an error message saying "/opt/netgen/bin/netgen: error while loading shared libraries: libTogl1.7.so: cannot open shared object file: No such file or directory".

The asked library is located at /usr/local/lib. Why Netgen can't find it? Looked into configure and Makefile files, and specified the location, but just could not make it work.

Please help.
fiona is offline   Reply With Quote

Old   March 7, 2010, 20:12
Default
  #2
Member
 
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 17
Ohbuchi is on a distinguished road
Did you add "/usr/local/lib" into LD_LIBRARY_PATH?
Ohbuchi is offline   Reply With Quote

Old   March 8, 2010, 02:09
Default
  #3
New Member
 
Join Date: Mar 2010
Posts: 14
Rep Power: 16
fiona is on a distinguished road
Hi Ohbuchi,

Thanks for pointing it out. I made a link to the library file from /usr/lib where it should be. It seems to be working now. The only complaint is "optfile ./ng.opt does not exist-using default values". I assume it is not critical.

Fiona
fiona is offline   Reply With Quote

Old   March 9, 2010, 12:42
Default
  #4
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello Fiona,

A Good Evening to you!

Did you finally solve the problem with loading geometry into Netgen on your installation?

Did you by any chance have an older version of Netgen installed in another folder? Could the environment variables (NETGENDIR for example) still be pointing to the older TCL files?

If you have further issues, please post a message in the Netgen mesher project page in Sourceforge.... we do not want to mix up netgen issues with OpenFOAM.... it might confuse OpenFOAM users....


Have a nice day ahead!

Philippose
philippose is offline   Reply With Quote

Old   August 3, 2010, 23:38
Default
  #5
New Member
 
Lee
Join Date: Jul 2010
Posts: 7
Rep Power: 16
lcnmy is on a distinguished road
I face the same problem,

/opt/netgen/bin/netgen: error while loading shared libraries: libTogl1.7.so: cannot open shared object file: No such file or directory

but before that I already move the file by LD_LIBRARY PATH by typing"

export LD_LIBRARY_PATH=/usr/lib/Togl-1.7:/opt/netgen/lib

May I know what go wrong during the installation? BTW, I am the newbie in UBUNTU.

Regards
Lee
lcnmy is offline   Reply With Quote

Old   September 3, 2010, 09:11
Default
  #6
Member
 
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 16
Leech is on a distinguished road
Hey Guys,

got the same problem over here like Lee. Is there any suggestion?

Thanks
leech
Leech is offline   Reply With Quote

Old   September 3, 2010, 20:50
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Lee and Leech,

It only took me a little research to find this post: http://www.cfd-online.com/Forums/ope...tml#post258322 (post #48)
The relevant solution for both of you is this:
Quote:
Originally Posted by vaina74 View Post

There was a stupid error: the right path is /usr/lib/Togl1.7 and not
/usr/lib/Togl-1.7
So Lee, you were almost there. Leech, you can use Lee's solution, but take into account the quoted solution!

Oh and you both might want to read what is next on that post!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 4, 2010, 08:31
Default
  #8
Member
 
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 16
Leech is on a distinguished road
Hi Bruno,

thank's a lot for your help. This gave me a perfect start into the weekend
Seems so to be working now.

Thanks
Leech
Leech is offline   Reply With Quote

Reply

Tags
netgen installation, togl library link


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
error make SU2 4.0.1 Heathckliff SU2 Installation 2 November 9, 2015 06:48
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 kobayashi OpenFOAM Community Contributions 2 January 5, 2014 18:33
[Netgen] Netgen - News philippose OpenFOAM Meshing & Mesh Conversion 0 May 2, 2013 16:59
unable to install openfoam 1.7 using apt-get maazhmd OpenFOAM Installation 7 July 24, 2011 12:18
Any one install Netgen from YAST science repository? Angela Wang Main CFD Forum 0 March 4, 2011 19:26


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