Download and installation of Mefisto sources

Version September 2009

Version Française


The USING RULES of the software MEFISTO :
The using of the software Mefisto and its numerical results are FREE.
But, it is forbidden to trade the software without an agreement with the authors.
More, any publication must mention the using of the software MEFISTO and its access on the web at http://www.ann.jussieu.fr/~perronnet/mefistoa.gene.html
The RIGHT BEHAVIOUR of the software is NEVER GUARANTEED.
Any damage, done by the using of the software, could never be the subject of compensation.
Any try of installation implies that the User has accepted implicitly this rules.


 
PREREQUISITES on HARDWARE and SOFTWARE:

The installation needs of 
- a PC under system LINUX or equivalent;
- a main memory of 1 Giga-bytes;
- a SWAP and STACK of 1 Giga-bytes;
- a disk free memory of 0.5 Giga-bytes;
- the libraries X11-WINDOW SYSTEM;
- a graphic card which permits under X11 a definition of the display
1024x768 or 1280x1024 or +  with PseudoColor (256 couleurs) or TrueColor mode;
- a mouse with 3 buttons;
- a compiler Fortran 77 and a compiler C (GNU is OK);
- a library -lX11 to add at the link step.


INSTALLATION on your PC with an installed shell bash of Linux
(or equivalent as Cygwin under Microsoft):


The first proposed method is to use the source Installator:

Let $INIDIR the name of the directory where Mefisto will be

Download the Mefisto SOURCES (click here)
Download the Mefisto Source INSTALLATOR (click here)

Attention:
- The gfortran and gcc compilers must be available on the PC.
- With the UBUNTU distribution, it is also necessary to install 2 packages as root user
sudo apt-get install libX11-dev
sudo apt-get install libX11-dbg
Type cd $INIDIR chmod 755 instalsource.bash ./instalsource.bash and respond to the questions ...

The second method is the direct typing of the unix commands to install the sources of Mefisto

Let $INIDIR the name of the directory where you

Download the Mefisto SOURCES (click here)


With the status of Super-User root (command su), you have to do a symbolic link between the directory $INIDIR/mefistosource and /usr/local/mefisto.
Type
ln -s $INIDIR/mefistosource /usr/local/mefisto
ls -l /usr/local/mefisto
(to see if the link is correct)
exit
(to quit the status of Super-User)
Type 
cd $INIDIR
tar xzvf mefistosource.tgz  =>  You obtain the directory mefistosource in $INIDIR

Type (or better, to do it once, add in your $HOME/.bash_profile or .bashrc file,
      the export following commands)
export MEFISTO=/usr/local/mefisto
export MEFISTOX=$HOME/mefistox
export PATH=$PATH:$MEFISTO/bin
export CDPATH=$CDPATH:$MEFISTO
cd $MEFISTO

If you work
- with Linux,  type:  cp -pr bin.lnx bin
- with Cygwin, type:  cp -pr bin.cyg bin
- with a OS 10 Mac Instosh, type:  cp -pr bin.mac bin

If you prefer Mefisto speaks English, type:
cp -pr testa test
cp -pr doca doc
cd td
cp -pr da d
cp -pr ia i
cp -pr ma m

Else if you prefer Mefisto speaks French, type:
cp -pr testf test
cp -pr docf doc
cd td
cp -pr df d
cp -pr if i
cp -pr mf m

EndIf

Type 
cd $MEFISTO
./bin/cbl_tout
(wait patiently the end of compilations C and F77, binding and 
constructions of libraries of Mefisto ...)

ls -l pp
At this level, you obtain a list as
-rwxr-xr-x 1 perronne perronne 2609793 Jan  8 11:00 ppelas
-rwxr-xr-x 1 perronne perronne 2501406 Jan  8 11:00 ppflui
-rwxr-xr-x 1 perronne perronne  167391 Jan  8 11:00 ppinit
-rwxr-xr-x 1 perronne perronne 2455647 Jan  8 11:00 ppmail
-rwxr-xr-x 1 perronne perronne 2998078 Jan  8 11:00 ppther
-rwxr-xr-x 1 perronne perronne  639520 Jan  8 11:00 pxyz

ELSE, there is a PROBLEM! => Contact the authours.

After installation, to test the installation:

Type INITIER proj1 proj1 If $MEFISTO/pp/ppinit does not work, the memory MCN of Mefisto is too large. Take with your text editor the file $MEFISTO/incl/pp.inc and reduce the value of MOTMCN PARAMETER (MOTMCN = 232 000 000) with the formula MOTMCN = ((MainMemory+SWAP)-16 000 000) / 4 Save the file and type for update this value in Mefisto $MEFISTO/bin/ppinc and try again INITIER After a good execution of INITIER, type MAILLER proj1 If $MEFISTO/pp/ppmail does not work, the main memory MCN + SWAP are not sufficient. Use the previous method to reduce MOTMCN
Remarks:
If the execution gives errors yet, contact the authours.

To download the PostScript documentations, click under


4930 visitors have read this page since october 12-th 2007
Page written by Alain Perronnet     Last update: September 18-th 2009