1 How to get it |
2 How to install it |
tar zxvf synaps-ERSION.tar.gz(or gzip -dc synaps-ERSION.tar.gz |tar -xvf -). You will otain a directory synaps-ERSION containing the current distribution, that you will put at your convenience in a place that we will refer hereafter by <synaps-ERSION>.
See ./configure -h
for the different options.
./configure \
--with-blas= [where is the libblas.a] \
--with-lapack= [where is the liblapack.a] \
--with-gmp= [where is the directory gmp] \
--with-mpsolve= [where is the directory mpsolve] \
--infodir= [where to install the documentation, with make install] \
--bindir= [where to install s++, with make install] \
--prefix= [where to install the rest of the library]
make && make installIn order to better tune the configuration to your site, consider the options given by
./configure -hYou may also look at the exemple configure-sophia that we are using.
g++ 3.*
ie. the c++ compiler should support the Koenig lookup mechanism.
3 How to use it |
s++ <file>.[cc|C]It will generate an executable file <file>.ex You can try a first example from the directory <synaps>:
s++ test/linalg.cc
s++ -hAny option not present there is passed directly to the c++ compile, as shown here:
s++ file.cc -Wall -O6 -mcpu=
VERSION = <time when you produce the s++ command>
SOURCES = <source dir>
INCDIR = -I<includedir1> ...
LIBDIR = -L<libdir1> ...
LIB = -llib1 ...
OPTION = <options of compilation>
OBJ = <list of object files>
CXX = <c++ compiler used>
...
No file specified
s++ -c <file>.ccwill produce a file.o, which you will be able to link to another application.
s++ <file>.cc -run # Compile and run the <file>.ex
s++ <file>.cc -exe # Execute the <file>.ex
5 The other libraries |
./configure -hfor the different options.
5 The developer corner |
If you want to contribute to its development you may also get it via the svn server. See http://gforge.inria.fr/projects/synaps/
A anonymous svn version is also available, following the
instructions here.
This will allow you to update easily the forthcomming versions, by typing in the synaps directory:
svn updateBefore you install the library, you have to type
./init_step.shand then
./configure <options>For the developers, before you commit anything, please type
make && make install
make checkIf you want to joint the developper team, please register in here and send a mail
[ HOME | Whatis | Installation | Documentation | Contributions | Other ] |