Anda di halaman 1dari 25

LMGC90 2.

0
Installation guide

Frédéric Dubois1 , Mathieu Renouf2


1 dubois@lmgc.univ-montp2.fr
2 Mathieu.Renouf@insa-lyon.fr

1
Laboratoire de Mécanique et Génie Civil
Université de Montpellier 2 - CNRS

2
Laboratoire de Mécanique des Contacts et des Structures
INSA de Lyon - CNRS

Janvier 2008
logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 1 / 10


LMGC90 versions and packages
How to obtain LMGC90 ?
Outline

1 LMGC90 distributions
LMGC90 versions and packages
How to obtain LMGC90 ?

2 LMGC90 dev compiling on unix


Pre-requisites
LMGC90 v1
LMGC90 v2

3 TortoiseSVN

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 2 / 10


LMGC90 versions and packages
How to obtain LMGC90 ?
LMGC90 Packages

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 3 / 10


LMGC90 versions and packages
How to obtain LMGC90 ?
LMGC90 Packages

LMGC90 v1

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 3 / 10


LMGC90 versions and packages
How to obtain LMGC90 ?
LMGC90 Packages

LMGC90 v1

LMGC90 : End User distribution (bin, src, docs) anonymous


LMGC90_examples : examples anonymous
LMGC90_dev : sources restricted
LMGC90_MatLib : MatLib extensions restricted

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 3 / 10


LMGC90 versions and packages
How to obtain LMGC90 ?
LMGC90 Packages

LMGC90 v1

LMGC90 : End User distribution (bin, src, docs) anonymous


LMGC90_examples : examples anonymous
LMGC90_dev : sources restricted
LMGC90_MatLib : MatLib extensions restricted
LMGC90 v2

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 3 / 10


LMGC90 versions and packages
How to obtain LMGC90 ?
LMGC90 Packages

LMGC90 v1

LMGC90 : End User distribution (bin, src, docs) anonymous


LMGC90_examples : examples anonymous
LMGC90_dev : sources restricted
LMGC90_MatLib : MatLib extensions restricted
LMGC90 v2

LMGC90v2 : manuals,docs,addons anonymous


LMGC90v2_Examples : examples anonymous
LMGC90v2_dev : development anonymous
LMGC90v2_BindingLAPACK : LAPACK, LAPACK95 anonymous
LMGC90v2_BindingMatLib : MatLib anonymous
LMGC90v2_Pre : Pre processeur anonymous

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 3 / 10


LMGC90 versions and packages
How to obtain LMGC90 ?
How to obtain LMGC90 ?

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 4 / 10


LMGC90 versions and packages
How to obtain LMGC90 ?
How to obtain LMGC90 ?

The LMGC90's web page :



http ://www.lmgc.univ-montp2.fr/dubois/LMGC90
The links may be out of date and incomplete ! !
Not convenient to download (one by one) folders and many les

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 4 / 10


LMGC90 versions and packages
How to obtain LMGC90 ?
How to obtain LMGC90 ?

The LMGC90's web page :



http ://www.lmgc.univ-montp2.fr/dubois/LMGC90
The links may be out of date and incomplete ! !
Not convenient to download (one by one) folders and many les

The LMGC90's subversion server :

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 4 / 10


LMGC90 versions and packages
How to obtain LMGC90 ?
How to obtain LMGC90 ?

The LMGC90's web page :



http ://www.lmgc.univ-montp2.fr/dubois/LMGC90
The links may be out of date and incomplete ! !
Not convenient to download (one by one) folders and many les

The LMGC90's subversion server :


Unix (Linux,Solaris,MacOS Xterm, Cygwin, etc) :
svn co https ://subver.lmgc.univ-montp2.fr/XXX username yyy password zzz
where XXX is the name of a project (see below)
where yyy/zzz are anonymous/anonymous for the anonymous access projects
where yyy/zzz are your own login/password for the restricted access projects

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 4 / 10


LMGC90 versions and packages
How to obtain LMGC90 ?
How to obtain LMGC90 ?

The LMGC90's web page :



http ://www.lmgc.univ-montp2.fr/dubois/LMGC90
The links may be out of date and incomplete ! !
Not convenient to download (one by one) folders and many les

The LMGC90's subversion server :


Unix (Linux,Solaris,MacOS Xterm, Cygwin, etc) :
svn co https ://subver.lmgc.univ-montp2.fr/XXX username yyy password zzz
where XXX is the name of a project (see below)
where yyy/zzz are anonymous/anonymous for the anonymous access projects
where yyy/zzz are your own login/password for the restricted access projects

Windows : use tortoisesvn ! !


the server is https ://subver.lmgc.univ-montp2.fr/XXX ...

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 4 / 10


Pre-requisites
LMGC90 v1
LMGC90 v2
Outline

1 LMGC90 distributions
LMGC90 versions and packages
How to obtain LMGC90 ?

2 LMGC90 dev compiling on unix


Pre-requisites
LMGC90 v1
LMGC90 v2

3 TortoiseSVN

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 5 / 10


Pre-requisites
LMGC90 v1
LMGC90 v2
Pre-requisites

You need a Fortran90 compiler !

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 6 / 10


Pre-requisites
LMGC90 v1
LMGC90 v2
Pre-requisites

You need a Fortran90 compiler !

Unix : g95, ifort, pgf90, f90 (HP-Compaq-DEC), f90 (SUN), xlf90 (MAC-Gx, IBM)

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 6 / 10


Pre-requisites
LMGC90 v1
LMGC90 v2
Pre-requisites

You need a Fortran90 compiler !

Unix : g95, ifort, pgf90, f90 (HP-Compaq-DEC), f90 (SUN), xlf90 (MAC-Gx, IBM)
Windows-Cygwin : g95

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 6 / 10


Pre-requisites
LMGC90 v1
LMGC90 v2
Pre-requisites

You need a Fortran90 compiler !

Unix : g95, ifort, pgf90, f90 (HP-Compaq-DEC), f90 (SUN), xlf90 (MAC-Gx, IBM)
Windows-Cygwin : g95
you may use some optimized libraries ACML (AMD), MKL (INTEL), etc but you have to
modify the global makele

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 6 / 10


Pre-requisites
LMGC90 v1
LMGC90 v2
Pre-requisites

You need a Fortran90 compiler !

Unix : g95, ifort, pgf90, f90 (HP-Compaq-DEC), f90 (SUN), xlf90 (MAC-Gx, IBM)
Windows-Cygwin : g95
you may use some optimized libraries ACML (AMD), MKL (INTEL), etc but you have to
modify the global makele
you need a C++ compiler to build MatLib (recommanded)

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 6 / 10


Pre-requisites
LMGC90 v1
LMGC90 v2
Pre-requisites

You need a Fortran90 compiler !

Unix : g95, ifort, pgf90, f90 (HP-Compaq-DEC), f90 (SUN), xlf90 (MAC-Gx, IBM)
Windows-Cygwin : g95
you may use some optimized libraries ACML (AMD), MKL (INTEL), etc but you have to
modify the global makele
you need a C++ compiler to build MatLib (recommanded)
you need python (with numpy or f2py) to build the new front-end

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 6 / 10


Pre-requisites
LMGC90 v1
LMGC90 v2
Compiling : v1

You have downloaded the LMGC90 project via svn or via the web page.

cd LMGC90/src/
tar xvfz lmgc90_rxxx.tgz
cd lmgc90_rxxx
make -f makefile_yyy lmgc90
where xxx is the release number, and yyy the name of your compiler.
If your compiler is not in the list you have to create your own makele or ask for help.
You have downloaded the LMGC90_dev project via svn

cd LMGC90_dev/trunk/
make -f makefile_yyy lmgc90
where yyy is the name of your compiler.
If your compiler is not in list you may create your own makele or ask for help.
It works only for Unix-like systems.
For Windows you need to install [cygwin, g95] ([msys, mingw, g95] is also available but
more tricky) logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 7 / 10


Pre-requisites
LMGC90 v1
LMGC90 v2
Compiling : v1

The default is a blind compilation :


LAPACK and LAPACK95 are rebuild each time,
doesn't use MatLib
use the given more_src
Customized Compilation :
Once you have compiled, to avoid the compilation of LAPACK and LAPACK95 each
time you may type
make src_2D
make src_3D
if you want to compile with MatLib or with your own LAPACK library you need to
modify some makeles. Go to to LMGC90_dev/trunk/src and follow the
instructions in ALIRE (in french).

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 7 / 10


Pre-requisites
LMGC90 v1
LMGC90 v2
Compiling : v2

needs to be updated.
see the README le the LMGC90v2_dev folder ! !

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 8 / 10


Outline

1 LMGC90 distributions
LMGC90 versions and packages
How to obtain LMGC90 ?

2 LMGC90 dev compiling on unix


Pre-requisites
LMGC90 v1
LMGC90 v2

3 TortoiseSVN

logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 9 / 10


TortoiseSVN

download from : http ://tortoisesvn.tigris.org/


install the package (blind double click)
create a folder :

right click on it and select checkout :

logo

back

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 10 / 10


TortoiseSVN

large number of possibilities by a right click on the folder :

read the documentation : http ://tortoisesvn.net/support


have a look to this link :http ://www.games-creators.org/wiki
back
logo

Dubois & Renouf (CNRS) LMGC90 Advanced user guide 2008 10 / 10