IBM Support

How do I recompile BLACS using Open-MP?

Troubleshooting


Problem

How do I recompile BLACS using Open-MP?

Resolving The Problem

How do I recompile BLACS using Open-MPI?Here is an examle of the procedure used to recompile BLACS using openmpi (ifort compiler) :

1- download the mpi BLACS distribution from netlib :

wget http://netlib.org/blacs/mpiblacs.tgz

2- download the patch from netlib :

wget http://netlib.org/blacs/mpiblacs-patch03.tgz

3- install sources and patch :

tar -xzf mpiblacs.tgz
tar -xzf mpiblacs-patch03.tgz

4- load the correct module for openmpi

module load hpc/openmpi

5- create the file Bmake.inc

Copy BMAKES/Bmake.MPI-LINUX to Bmake.inc and modify the file

A sample Bmake.inc used in this article is attached.

6- recompile the libraries

make mpi

7- recompile the tests

make tester

8- run the tests

cd /home/toor3/compile_temp/BLACS/TESTING/EXE

bsub -o%J.out -n 4 /home/toor3/openmpi-mpirun -np 4 ./xCbtest_MPI-LINUX-ompi112-i2-0
bsub -o%J.out -n 4 /home/toor3/openmpi-mpirun -np 4 ./xFbtest_MPI-LINUX-ompi112-i2-0

Two output files are also attached.:

600.out
601.out

[{"Product":{"code":"SSZUCA","label":"IBM Spectrum Cluster Foundation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.1.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSZUCA","label":"IBM Spectrum Cluster Foundation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":null,"Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
11 September 2018

UID

isg3T1014099