...
Steps | Command/Task | Comments |
---|---|---|
0 | /cluster/shared/dmarshal/ISO/petsc-lite-3.0.02-p8p2.tar | Where to find distribution |
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 . | 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 | 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 | test mpi job submissions on 2 nodes after you have built something |