Questions tagged [blacs]

The BLACS (Basic Linear Algebra Communication Subprograms) project is an ongoing investigation whose purpose is to create a linear algebra oriented message passing interface that may be implemented efficiently and uniformly across a large range of distributed memory platforms.

The length of time required to implement efficient distributed memory algorithms makes it impractical to rewrite programs for every new parallel machine. The BLACS exist in order to make linear algebra applications both easier to program and more portable. It is for this reason that the BLACS are used as the communication layer of ScaLAPACK. Key ideas in the BLACS include:

5 questions
2
votes
2 answers

Subdividing Scalapack grid

I am trying to calculate the eigenspectrum for a number of large matrices using Scalapack, but rather than distribute each matrix across all 32 processes. I'd rather distribute each matrix across 4 processes and calculate 8 matrices in parallel. I…
Stein
  • 3,179
  • 5
  • 27
  • 51
1
vote
1 answer

Problems Initialising a grid using Cblacs in MPI

I'm trying to set up a very simple 1 * 2 grid using the following code: int nprow, npcol, myrow, mycol, myid; char rowcol[1] = "R"; nprow = 1; npcol = size / nprow; if(npcol * nprow != size){ …
1
vote
1 answer

Building latest version of MUMPS 5.2.1 on Ubuntu 16.04

As instructed in the INSTALL file in the top directory of the tarball, I executed cp Make.inc/Makefile.debian.PAR ./Makefile.inc Then I ran make. However, i ran into the following error. make[1]: Entering directory…
Arjun J Rao
  • 925
  • 1
  • 10
  • 25
0
votes
1 answer

How to link library scalapack and blacs while compilation

When compiling a fortran code, I set FCL = mpiifort -qmkl=sequential LLIBS += -L$(MKLROOT)/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 but when compiling code, it always links to libmkl_scalapack_lp64.so, not…
Binh Thien
  • 363
  • 2
  • 13
0
votes
1 answer

Niether 'MPI_Barrier' nor 'BLACS_Barrier' doesn't stop a processors executing its commands

I'm working on ScaLAPACK and trying to get used to BLACS routines which is essential using ScaLAPACK. I've had some elementary course on MPI, so have some rough idea of MPI_COMM_WORLD stuff, but has no deep understanding on how it works internally…
Sangjun Lee
  • 406
  • 2
  • 12