Showing posts with label compiling. Show all posts
Showing posts with label compiling. Show all posts

Monday, June 1, 2009

Installation - Part 2

Step 2: Compiling everything:

2.a) Petsc
type these in the terminal. It seems that the new gcc compiler has some issue with the gss code.

export CC=/usr/bin/gcc-4.2
export CXX=/usr/bin/g++-4.2


gunzip petsc
tar -xvf petsc
cd petsc
export PETSC_DIR=`pwd`

./config/configure.py --with-cc=gcc --download-mpich=1 --with-clanguage=cxx --with-mpi=0 --download-c-blas-lapack=1 --with-precision=longdouble --with-shared=0


2.b) Cgnslib
bunzip2 cgnslib
tar -xvf cgnslib
cd cgsnslib
./configure
make
sudo make install

2.c) GSS
gunzip the file
tar -xvf the file
cd GSS_dev
export GSS_DIR=`pwd`
./configure
make
sudo make install

It takes a while but eventually you should have a working TCAD simulator.
Please let me know if you encounter any problem.
 
# tracking