<?xml 
version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
>

<channel xml:lang="en">
	<title>CraFT</title>
	<link>http://craft.lma.cnrs-mrs.fr/spip/</link>
	<description>Composite response and Fourier Transforms</description>
	<language>en</language>
	<generator>SPIP - www.spip.net</generator>




<item xml:lang="en">
		<title>Download2</title>
		<link>http://craft.lma.cnrs-mrs.fr/spip/spip.php?article10</link>
		<guid isPermaLink="true">http://craft.lma.cnrs-mrs.fr/spip/spip.php?article10</guid>
		<dc:date>2011-05-09T13:51:58Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Herve Moulinec</dc:creator>



		<description>Download CraFT CraFT version 1.0.12b will be soon available for download.

-
&lt;a href="http://craft.lma.cnrs-mrs.fr/spip/spip.php?rubrique9" rel="directory"&gt;Installation&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;h1&gt;Download CraFT&lt;/h1&gt;
&lt;p&gt;CraFT version 1.0.12b will be soon available for download.&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="en">
		<title>INSTALL</title>
		<link>http://craft.lma.cnrs-mrs.fr/spip/spip.php?article9</link>
		<guid isPermaLink="true">http://craft.lma.cnrs-mrs.fr/spip/spip.php?article9</guid>
		<dc:date>2011-04-29T11:44:38Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>Herve Moulinec</dc:creator>



		<description>CraFT installation version 1.0.12g Tuesday October 04 2011 CraFT is written mostly in C (C99) and some features are written in Fortran 90 (in an almost Fortran 77 manner). Its installation has been tested on Linux Debian Squeeze but it should be able to be compiled on any Unix system. The following text gives some details on how to install it. Prerequisites: To compile craft, you need: FFTW3 You can download it from www.fftw.org or as a package of your gnu/linux (...)

-
&lt;a href="http://craft.lma.cnrs-mrs.fr/spip/spip.php?rubrique8" rel="directory"&gt;Installation&lt;/a&gt;


		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;h1 &gt;CraFT installation&lt;/h1&gt;
&lt;p&gt;version 1.0.12g &lt;br&gt;
Tuesday October 04 2011&lt;/p&gt; &lt;p&gt;CraFT is written mostly in C (C99) and some features are written
in Fortran 90 (in an almost Fortran 77 manner).
Its installation has been tested on Linux Debian Squeeze
but it should be able to be compiled on any Unix system.&lt;/p&gt; &lt;p&gt;The following text gives some details on how to install it.&lt;/p&gt; &lt;hr align=left width=85%&gt;
&lt;h2&gt;Prerequisites:&lt;/h2&gt;
To compile craft, you need:&lt;br&gt;
&lt;ul&gt; &lt;li&gt; FFTW3&lt;br&gt; You can download it from &lt;a href=&quot;http://www.fftw.org/&quot;&gt;www.fftw.org&lt;/a&gt; or as a package of your gnu/linux distibution (if it is your os and if such a package exists). &lt;br&gt; [ Remark: CraFT uses fast Fourier transforms. It could be implemented with different FFT packages (previous versions of the algorithm used many other FFT packages) but this version has been implemented with FFTW3 package. If you prefer to use another FFT package, I'm afraid you will have to modify craft_fft_image.c file. ]&lt;br&gt; &lt;/li&gt; &lt;li&gt; Gnu make &lt;/li&gt; &lt;li&gt; a C compiler with C99 features + a Fortran 90 compiler
&lt;p&gt;Typically:&lt;/p&gt;
&lt;ul&gt; &lt;li&gt; either gnu compilers: gcc + gfortran&lt;/li&gt; &lt;li&gt; or Intel compilers : icc + ifort&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;hr align=left width=85%&gt;
&lt;h2&gt;Downloading CraFT:&lt;/h2&gt;
&lt;p&gt;You can download CraFT distribution from here:&lt;/p&gt; &lt;p&gt;Put craft-1.0.12g.tgz where you want on your disk and extract the
distribution by the following command:&lt;/p&gt; &lt;ul&gt;
&lt;p&gt;&lt;tt&gt;tar xvfz craft-1.0.12g.tgz&lt;/tt&gt;&lt;/p&gt; &lt;/ul&gt;
&lt;hr align=left width=85%&gt;
&lt;h2&gt;Compiling CraFT:&lt;/h2&gt;
&lt;ul&gt; &lt;li&gt; get into craft root directory:&lt;/li&gt;
&lt;p&gt;&lt;tt&gt;cd ./craft-1.0.12g&lt;/tt&gt;&lt;/p&gt; &lt;li&gt; If necessary edit and modify what you need in file &lt;tt&gt;options.in&lt;/tt&gt; present in the craft root directory.&lt;/li&gt;
&lt;p&gt; In this file, you should just have:&lt;/p&gt;
&lt;ol&gt; &lt;li&gt; to choose the compilers you want to use, set COMPILERS variable: &lt;ul&gt; &lt;li&gt; &lt;tt&gt;COMPILERS=intel&lt;/tt&gt; if you want to use icc and ifort&lt;/li&gt; &lt;li&gt; &lt;tt&gt;COMPILERS=gnu&lt;/tt&gt; if you want to use gcc and gfortran&lt;/li&gt; &lt;/ul&gt;
&lt;li&gt; to choose to use OpenMP parallelization option or not by setting OPENMP variable to yes or no&lt;/li&gt; &lt;li&gt; to choose to get a static or a dynamic executable by setting STATIC_LIBRARIES to yes or no&lt;/li&gt; &lt;li&gt; to set the directories where fftw3 libraries and include files have been installed.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt; Of course, you can change other things in options.in (typically CFLAGS, FFLAGS variables) but it is not necessary.&lt;/p&gt; &lt;p&gt; &lt;tt&gt;options.in&lt;/tt&gt; has been initially set to compile with gcc anf gfortran compiler without OpenMP options, and to build an executable using dynamic libraries.&lt;/p&gt; &lt;li&gt; Type &lt;tt&gt;make&lt;/tt&gt; in the current directory (the one containing this INSTALL file)&lt;/li&gt;
&lt;p&gt; This should build the executables:&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;tt&gt;bin/craft&lt;/tt&gt; (CraFT program)&lt;/li&gt; &lt;/ul&gt;
&lt;p&gt; and some tools:&lt;/p&gt; &lt;ul&gt;
&lt;li&gt; &lt;tt&gt;bin/i3dtovtk&lt;/tt&gt; : converts an image file in &quot;i3d&quot; CraFT image format into simple legacy VTK file format&lt;/li&gt;
&lt;li&gt; &lt;tt&gt;bin/vtktoi3d&lt;/tt&gt; : converts an image file in simple legacy VTK file format into &quot;i3d&quot; CraFT image file format&lt;/li&gt;
&lt;li&gt; &lt;tt&gt;bin/i3stat&lt;/tt&gt; : displays some infos about images in &quot;i3d&quot; or VTK format
&lt;li&gt; &lt;tt&gt;bin/general_i3d&lt;/tt&gt; : creates a descriptor file for use of a i3d file in 3D scientific visualization program OpenDX&lt;/li&gt;
&lt;li&gt; &lt;tt&gt;bin/teq&lt;/tt&gt; : creates an image of equivalent stress or strain + an image of the hydrostatic component from the image files of the 6 components of a stress or strain tensor field&lt;/li&gt; &lt;/ul&gt;
&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>


		
		<enclosure url="http://craft.lma.cnrs-mrs.fr/spip/sites/craft.lma.cnrs-mrs.fr/IMG/html/installation.html" length="3995" type="text/html" />
		

	</item>



</channel>

</rss>
