0% found this document useful (0 votes)
46 views25 pages

LMGC90 Installation and Setup Guide

This document provides installation instructions for LMGC90 2.0. It discusses LMGC90 versions and packages, how to obtain LMGC90, prerequisites for installation, and compiling LMGC90 on Unix systems. LMGC90 is available in different packages through an SVN server for anonymous or restricted access. It requires a Fortran 90 compiler and C++ compiler to build the MatLib extensions. The document provides details on compatible compilers for Unix, Windows, and Cygwin systems and notes that optimized libraries may require modifying the global makefile.

Uploaded by

vucamtu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views25 pages

LMGC90 Installation and Setup Guide

This document provides installation instructions for LMGC90 2.0. It discusses LMGC90 versions and packages, how to obtain LMGC90, prerequisites for installation, and compiling LMGC90 on Unix systems. LMGC90 is available in different packages through an SVN server for anonymous or restricted access. It requires a Fortran 90 compiler and C++ compiler to build the MatLib extensions. The document provides details on compatible compilers for Unix, Windows, and Cygwin systems and notes that optimized libraries may require modifying the global makefile.

Uploaded by

vucamtu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

LMGC90 2.

0
Installation guide

Frédéric Dubois1 , Mathieu Renouf2


1 dubois@[Link]
2 [Link]@[Link]

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 ://[Link]/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 ://[Link]/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 ://[Link]/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 ://[Link]/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 ://[Link]/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 ://[Link]/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 ://[Link]/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 ://[Link]/


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 ://[Link]/support


have a look to this link :http ://[Link]/wiki
back
logo

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

Common questions

Powered by AI

To manage the challenges of manually downloading outdated LMGC90 packages, users can leverage the LMGC90 subversion server for automated access and updates. For Windows, TortoiseSVN simplifies repository management with a graphical interface, reducing the burden of managing individual files. Using the command-line SVN for Unix/Linux systems also provides a streamlined process. Both approaches offer a way to efficiently download and update LMGC90 components, mitigating the risks and inconvenience associated with outdated web links .

Users can obtain LMGC90 through its webpage, but the links may be outdated and incomplete, making it inconvenient to download folders and files one by one. Alternatively, users can use the LMGC90 subversion server for Unix or Windows (via TortoiseSVN). To access, users need to know the project name and can either use anonymous access or personal login credentials for restricted projects. For Unix systems, an svn command is used, while Windows users can use TortoiseSVN with a simple installation process .

Compiling LMGC90 requires a Fortran90 compiler. On Unix, compatible compilers include g95, ifort, pgf90, and others for specific systems (e.g., xlf90 for MAC-Gx, IBM). On Windows with Cygwin, g95 is used. Optimized libraries like ACML (AMD) and MKL (INTEL) can be used, but modifications to the Makefile are necessary. A C++ compiler is recommended for building MatLib, and Python with numpy or f2py is needed for the new front-end. Specific instructions are provided for compiling versions 1 and 2, with details for downloading and building under Unix-like systems .

Integrating Python into the LMGC90 installation process benefits users by providing support for building a new front-end for their applications. Python tools like numpy or f2py are specifically needed, which offer scientific computing capabilities and facilitate interactions between Python and Fortran. This integration allows users to leverage Python's usability and compatibility with LMGC90's core computational routines, enhancing the overall functionality and user experience .

Optimizing the LMGC90 compilation process can involve using optimized libraries such as ACML (AMD) and MKL (INTEL). However, incorporating these libraries requires modifying the global makefile. Additionally, having a C++ compiler is recommended, especially for building MatLib. For Python components, installing numpy or f2py is necessary. These tools and libraries help ensure optimal performance and extend the capabilities of the LMGC90 software during the compilation process .

LMGC90 supports several platforms and compilers for Unix systems. The supported Fortran90 compilers include g95, ifort, pgf90, f90 (HP-Compaq-DEC), f90 (SUN), and xlf90 (MAC-Gx, IBM). This range of compatibility ensures that LMGC90 can be compiled on various Unix-like systems, providing flexibility for users depending on their specific environment and the availability of these compilers .

A user might face challenges such as outdated and incomplete links when trying to download LMGC90 from the web, making it cumbersome to download necessary files one by one. An alternative is using the subversion server, which provides a streamlined process for both Unix and Windows systems through command-line operations or tools like TortoiseSVN, making downloading and managing easier. This ensures access to the latest versions and necessary components efficiently .

After downloading LMGC90, users navigate to the LMGC90 source directory and untar the package. Running a make command with a specified Makefile corresponding to their compiler initiates the blind compilation, where LAPACK and LAPACK95 are rebuilt each time, and MatLib isn't used by default. For customizations, users can avoid unnecessary recompilations of LAPACK by using commands like 'make src_2D' or 'make src_3D', and can modify makefiles for MatLib use or alternative LAPACK libraries by following instructions in the ALIRE guide, found in the LMGC90_dev directory .

LMGC90 is available in several distributions. For LMGC90 version 1, there are distributions like LMGC90 for end-users (containing binaries, source code, and documentation) and examples, which are accessible anonymously. LMGC90_dev and LMGC90_MatLib are sources and extensions with restricted access. For LMGC90 version 2, distributions like LMGC90v2 manuals, docs, and addons, as well as examples and development bindings for LAPACK and MatLib, are available anonymously. LMGC90v2_Pre, a pre-processor, is also accessible anonymously .

TortoiseSVN simplifies the downloading and management of LMGC90 on Windows by providing a graphical interface to interact with SVN repositories. Users can download TortoiseSVN, install it, and use it to checkout repositories by right-clicking on a folder. It offers numerous functionalities accessible via right-clicking, and comprehensive support documentation is available online. This approach avoids the inconveniences of manually navigating and downloading from outdated web links .

You might also like