[CIG-LONG] Reg: GALE Installation
Sue Kientz
sue at geodynamics.org
Tue Nov 24 09:13:28 PST 2009
Subject:
RE: [CIG-LONG] Reg: GALE Installation
From:
<Guillaume.Duclaux at csiro.au>
Date:
Tue, 24 Nov 2009 14:58:55 +0800
To:
<earnest at cmmacs.ernet.in>
CC:
<cig-long-bounces at geodynamics.org>
Anil,
We have Gale installed here on an Altix machine. MPI and PETSc were already installed, so I didn't have to deal with this part.
Here is the step by step procedure I follow for compiling Gale here:
1) create two directories in my personal directory:
/short/cg01/duc025/gale_svn_source and /short/cg01/duc025/gale_svn
and change into the source directory
2) load subversion module:
module load subversion
3) Check out gale from the svn repository :
svn checkout http://geodynamics.org/svn/cig/long/3D/Gale/trunk Gale
4) load preinstalled modules:
module load petsc/2.3.2-p10 intel-fc intel-cc
5) cd Gale
6) ./configure.py --with-mpi-include=/usr/include --with-mpi-lib=/usr/lib/libmpi.so --prefix=/short/cg01/duc025/gale_svn --CC=icc --FC=ifort --configModules=Gale.Configure --optionsModule=Gale.compilerOptions
7) make
8) make install
Hope that helps...
Cheers
Gilly
________________________________________________
Dr Guillaume Duclaux
Structural Geologist / Modeller
CSIRO Exploration and Mining
Visiting address: ARRC, 26 Dick Perry Av., Kensington WA 6151
Postal address: PO Box 1130, Bentley WA 6102, Australia
Ph: + 61 8 6436 8728 Fax: + 61 8 6436 8555 Web: www.csiro.au
-----Original Message-----
From: cig-long-bounces at geodynamics.org [mailto:cig-long-bounces at geodynamics.org] On Behalf Of Anil Earnest
Sent: Tuesday, 24 November 2009 10:38 AM
To: cig-long at geodynamics.org
Subject: [CIG-LONG] Reg: GALE Installation
Hi,
I was trying to install gale in an altix machine but in vain. Below are
the steps I followed.
For Petsc installation I used:
> > config/configure.py --with-mpi-dir=/home4/earnest/programs/mpich2
>
--with-batch=1 --with-mpi-shared=1 --with-shared=1
> > ./contest
> > ./reconfigure.py
> > make
> > make all
>
now my .cshrc do have following lines added:
setenv PETSC_DIR /home4/earnest/programs/petsc-dev
setenv PETSC_ARCH linux-gnu-c-debug
setenv LD_LIBRARY_PATH ${PETSC_DIR}/lib/${PETSC_ARCH}
and sourced it
> > source ~/.cshrc
>
then I tried to configure Gale with the following command:
> > ./configure.py --with-mpi-dir=/home4/earnest/programs/mpich2
>
--with-batch=1 --with-mpi-shared=1 --with-shared=1
which gives an error message:
TESTING: configureLibrary from
Gale.packages.petsc(/home4/earnest/programs/Gale-1_4_1/python/Gale/packages/petsc.py:138)
*********************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for
details):
---------------------------------------------------------------------------------------
Can not find the include and library directories in
/home4/earnest/programs/petsc-dev
with petsc arch linux-gnu-c-debug
Hope somebody may be able to help me out.
Thanks in advance,
- Anil Earnest
_______________________________________________
CIG-LONG mailing list
CIG-LONG at geodynamics.org
http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
More information about the CIG-LONG
mailing list