CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Gerris question again

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2005, 12:25
Default Gerris question again
  #1
Mer
Guest
 
Posts: n/a
Hi, Is there any researcher who has compiled the gerris software successfully. I got some make errors when I try to install it. see my previous messages please!!!

  Reply With Quote

Old   November 16, 2005, 14:16
Default Re: Gerris question again
  #2
Matze
Guest
 
Posts: n/a
Hi I haven't installed gerris, but it seems to me that you are not very familiar with software compilation under linux.

So here are some hints:

*There are probably gts and glib library rpm-packages shipped with redhat. So you don't have to compile it manualy, if you have got the superuser password. (These libraries normally ends with *dev) -> install these

*the normal order for compilation is ./configure --OPTIONS; make; (su) you don't really need it; make install

hint: have a look at the prefix option of configure (./configure --help); Usage e.g. --prefix=/home/user/gerris

*Give more detailed information if you post something. What you have typed in, and the exact error messages
  Reply With Quote

Old   November 19, 2005, 00:45
Default Re: Gerris question again
  #3
Harish
Guest
 
Posts: n/a
You might want to do a make install the sequence would be ./configure make make install

the make install would make sure that everyone can run the software.
  Reply With Quote

Old   November 21, 2005, 04:54
Default Re: Gerris question again
  #4
mer
Guest
 
Posts: n/a
Hi, excuse me to response you so late.

Matze, yes I'm not so familiar with compilation under linux, but only one package was given and run in red hat but with an old version. The second, when I try to install gerris, it give me an error that gts was not installed.

about errors of compilation, please refers to my posted message on this forum on date: sat, 12 Nov 2005.

Harich, what do you meen with the sequence : ./configure make make install, is it for the libraries or for gerris. more details please.

thanks a lot.

  Reply With Quote

Old   November 22, 2005, 07:46
Default Re: Gerris question again
  #5
Matze
Guest
 
Posts: n/a
Hi

it will follow are more detailed information. But I have to say, that I haven't installed gerris. So all I say are just assumptions.

In your old post, I see that there is a warning that you haven't installed libnetpbm(needed for gts). But it is just a warning, so gts will probably work without.

now follows the commands to enter in bash shell.

#Directory for gts LIBRARY to install (type in) export GTS_LIBRARY_INST=/opt/gts #Directory for gerris (type in) export GERRIS_PATH=/opt/gerris

#Don't needed, but nice directory structure (type in) cd $HOME;mkdir src

#Download and unpack gts and gerris in ${HOME}/src

-------------- install gts #Enter the gts directroy (type in) cd ${HOME}/src/gts-???

#compile gts (type in) ./configure --prefix=$GTS_LIBRARY_INST (type in) make

#install gts to /opt/gts (as superuser) (type in) su (type in) mkdir $GTS_LIBRARY_INST (type in) make install (type in) exit (become normal user again)

------------- install gerris #Enter gerris src directory (type in) cd ${HOME}/src/gerris-???

#configure gerris (type in) ./configure --prefix=$GERRIS_PATH --other options to find gts library and header #look to ./configure --help to find out options to set where gts is installed(headers(*.h) probably in /opt/gts/include and library probably in /opt/gts/lib

#compile gerris (type in) make

#install gerris as superuser (type in) su (type in) mkdir $GERRIS_PATH (type in) make install (type in) exit (become normal user again) ------- #now everything should be installed #you just have to set some environment vars (type in)export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/gts/lib:/opt/gerris/lib (type in)export PATH=/opt/gerris/bin:$PATH #you can add these to .bashrc if these things should be set next time you log in

------- Play a while if this don't work; If you need more help please send back via e-mail on cfd-online I made the assumption that glib is correctly installed

  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unanswered question niklas OpenFOAM 2 July 31, 2013 17:03
internal field question - PitzDaily Case atareen64 OpenFOAM Running, Solving & CFD 2 January 26, 2011 16:26
Poisson Solver question Suresh Main CFD Forum 3 August 12, 2005 05:37
CHANNEL FLOW: a question and a request Carlos Main CFD Forum 4 August 23, 2002 06:55
question K.L.Huang Siemens 1 March 29, 2000 05:57


All times are GMT -4. The time now is 20:44.