Netgen 4.4

  • JMB
  • Topic Author
  • Visitor
  • Visitor
17 years 6 months ago #678 by JMB
Netgen 4.4 was created by JMB
Hello All,

I am trying to install Netgen 4.4 from sources on an RH Fedora3 PC and running into some problems.

This is what I have done:

I believe I have OpenGl & Tcl/Tk

I complied & installed Tix
wget -nd easynews.dl.sourceforge.net/sourceforge/tix/tix-8.4.0.tar.gz
cd /tmp
tar -zxvf /home/LinuxDownLoads/FEA/salome/tix-8.4.0.tar.gz
cd tix-8.4.0
./configure
make
make tests (This did nothing!)
make rundemos (This also did nothing !!!)
make install
env TIX_LIBRARY=/usr/bin/wish /src/tix/tests/all.tcl

Then I started the installation of NETGEN:

wget -nd www.hpfem.jku.at/netgen/ngs44.tar.gz
cd /tmp
tar -zxvf /home/LinuxDownLoads/FEA/ngs44.tar.gz
./configure
cd ngs44/ngcore
export MACHINE=LINUX
make

But I see no \"ng\" anywhere!
./ng

In my opinion the NETGEN website is very short on a clear installtion process.

Alternatively, I can try installation on Ubuntu Dapper. Could somebody help please?

Thanks
JMB

Please Log in or Create an account to join the conversation.

  • admin
  • Topic Author
  • Visitor
  • Visitor
17 years 6 months ago #683 by admin
Replied by admin on topic Re:Netgen 4.4
Hi,

did you try this (trouble shooting section on NETGEN web site), it has solved my problem last time I compiled Netgen:

trouble shooting

* I have compilation/linking/runtime problems with Tcl/Tk or Tix


These packages are used for the graphical user interface. You need Tcl/Tk version 8.0 or newer and Tix version 4.1 (or newer ?). In most cases, you have to install them before installing netgen. Tested versions of these packages are available on 3rd party libraries.
The header files are included from the netgen-file \"ng4/ngtcltk/incvis.hh\". Eventually, you have to replace include by include etc.
Tcl/Tk and Tix requires *.tcl - files at runtime. Eventually you have to set the environment-variables TCL_LIBRARY, TK_LIBRARY and TIX_LIBRARY like
setenv TCL_LIBRARY /usr/local/lib/tcl8.2

* I have compilation problems with \"togl/togl.cc\"


Togl by Brian Paul and Ben Bederson provides the link between Tcl/Tk and OpenGl rendering. It requires internal tk-header files, which are included for several tk-distributions (like tkInt8.0.h). If you use newer Tcl/Tk versions, please copy the file \"tkInt.h\" (from the Tk-source directories) to the togl directory (e.g. to tkInt8.2p2.h), and adapt togl.cc (about line nr 120).

Please Log in or Create an account to join the conversation.

Moderators: catux
Time to create page: 0.120 seconds
Powered by Kunena Forum