Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Steps

Command/Task

Comments

0

/cluster/shared/dmarshal/ISO/petsc-lite-3.0.02-p8p2.tar

Where to find distribution or get latests from

http://www.mcs.anl.gov/petsc/petsc-2/download/index.html

1

PETSC_DIR=/your/build/dir ; export PETSC_DIR

Configure the package to install in /your/build/dir of choice and create environment variable

1a

cd $PETSC_DIR ; cp /cluster/shared/dmarshal/ISO/petsc-lite-3.0.02-p8p2.tar .
tar -xvf petsc-lite-3.0.02-p8p2.tar

commands note the . in the cp command at the end

1b

module load openmpi

access to openmpi

1c

./config/configure.py --download-f-blas-lapack=1 --download-hypre=1
--with-batch --download-superlu=1 --download-ml=1
--with-mpi-dir=/usr/mpi/gcc/openmpi-1.2.64/ --with-mpi-shared=1

the install command

1d

bsub ./conftest

Submit the config to one cluster node

1e

./reconfigure.py

Run the reconfig to setup mpi support

2

PETSC_ARCH=linux-gnu-c-debug; export PETSC_ARCH

create environment variables

3

make all

compile and install

4

bsub -Ip -q paralleltest_public -a openmpi -n 2 mpirun.lsf
./your-executable

test mpi job submissions on 2 nodes after you have built something