jchelly / gadgetviewer

Simple tool for interactive visualisation of Gadget and SWIFT N-body simulations
GNU General Public License v3.0
24 stars 9 forks source link

I don't understand how to use this... #13

Closed junobonnie closed 3 years ago

junobonnie commented 3 years ago

How do i install gadgetveiwer?

'make' and 'make install' was not work at gadgetviewer-1.1.1$ directory.

I don't speak English, so I have limitations in finding information.

Somebody help me...

jchelly commented 3 years ago

If you downloaded a release file (e.g. from https://github.com/jchelly/gadgetviewer/releases) then you just need to run the configure script first:

cd gadgetviewer-1.1.1
./configure --prefix=<install location>
make
make install

where is the path to install it in. You'll need to have C and Fortran compilers and the GTK2 library installed on your system.

If you cloned the repository you need to run an extra command to create the configure script first:

cd gadgetviewer-1.1.1
./autogen.sh

There's more information in the README file: https://github.com/jchelly/gadgetviewer/blob/master/README.md

junobonnie commented 3 years ago

Thank you!!!!! It works really well!