Antonio S. Torralba
Universidad Complutense  

Chemistry

BBM1

Biophysics

 

FUNDER - Download and Compilation


Feria Only in Spanish. Sorry!

Funder

Main

Theory

Documents

Example

Download

Contact


 

Differential equations

Prev

FUNDER - Main page

Up



DOWNLOAD


FUNDER is available as a single compressed file in the following formats:


Tarred-gzipped file (3 Mb)

funder01.01.01.tar.gz

Zipped file (3 Mb)

funder01.01.01.zip


Although both files can be decompressed with some Windows applications, such as WinZip, the tarred-gzipped one is recommended for Unix systems. Decompression and unpacking are as simple as typing in a unix shell


> gzip -d funder01.01.01.tar.gz

> tar xf funder01.01.01.tar


After decompressing, the files will be in the following directories:


funder01/

Source files and Makefile

funder01/data

Data files

funder01/data/with_noise

The same files calculated from noisy data

funder01/info

Documentation (as a pdf file)

funder01/single_file

Single-file sorce code (funder.cpp and funderns.cpp)


COMPILATION


EXECUTABLE FILES


A Makefile is supplied so that the basic compilation in Unix is


> make [example]


provided GNU C++ compiler g++ is available. This generates the executable file funder, the C++ library funderlib.a and object files for all source files. The compilation directory can be cleaned with


> make clean


An alternative compilation is


> make alt_example


This creates an alternative executable file, funderalt, which, contrary to funder, doesn't generate a file of susceptibilities, but reads them from suscept.dat. Since computing the susceptibilities of the system may be a tedious process, funderalt is useful in obtaining responses of the system to several excitations faster. The file suscept.dat for the example can be found in the directory funder01/data, but note that funderalt expects it to be in the execution directory.


The complete source code is provided as a single file, funder.cpp, in funder01/single_file. If you are experiencing any problems with make, funder and funderalt can be compiled with


funder

> g++ funder.cpp -o funder -lm

funderalt

> g++ funder.cpp -o funder -lm -D FD_FILE


For computations with noisy data, an alternative version is provided, also as a single file, funderns.cpp, in funder01/single_file. The compilation line is:


funderns

> g++ funderns.cpp -o funderns -lm


You may use any other C++ compiler, such as Visual C++, whose version 5.0 correctly compiles funder.cpp.


LIBRARY


Compilation of the library funderlib.a alone is possible with


> make library


Users must use this library to compile their own programs, implementing user-defined systems, with the line


> g++ user1.cpp[ user2.cpp[...]] funderlib.a -o user_exe -lm



Prev

Up

Next

Differential equations

FUNDER - Main page

 

 

Valid HTML 4.01!

Copyright © 2003-2013 Antonio Sánchez Torralba
Last modified:
Monday, 04-Mar-2013 11:58:25 CET

© 2013 Antonio Sánchez Torralba