[go: up one dir, main page]

Menu

[1b439f]: / rmol / INSTALL  Maximize  Restore  History

Download this file

28 lines (21 with data), 1.3 kB

That package requires the GSL. Hence, the path to the GSL installation
directory (GSL_ROOTDIR variable) needs to be overwritten in the
Makefile, if it is not in a standard directory (for insance, if it is
in /usr/local, there is no need to define that variable).

In the makefile, you will also need to overwrite the PROC64 variable if
your processor is not 64bits. For instance, for 32-bit-processor, just
leave that variable blank.

By the way, if you know how to write a config.in file, please don't
hesitate to contribute, as launching "configure" would be a more
convenient way to start the installation of that project.

Then, just type "make" (or "gmake"). It generates a dynamic library,
namely "librmol.so", against which you can then link your own
programs. An example (C++) program is also delivered, namely "optimise",
which uses that library.

For the installation, you will need to overwritte the target
installation directory (INSTALL_ROOTDIR variable). Then, just type
"make install".  Of course, if the install directory is only writeable
by root (which is the case for /usr/local), you will need to be root
when typing "make install".

If you want to develop using the extended-GSL API, you will need to
include the header file (namely "gsl_statext.h").