Home My Page Projects PaStiX
Summary Activity Forums Lists Docs News Files

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Build failure with +MPI -SMP with version [ Reply ]
By: Pierre Ramet on 2016-03-08 17:03
Dear Justin,
this bug has already been fixed in the develop branch of PaStiX.
(but we plan a new release of PaStiX this month)
You can modify the following line in sopalin/src/updo.c (line 944) :
#define END_LOOP
#define END_LOOP(a)

You can also checkout the develop branch of PaStiX using :
git clone https://scm.gforge.inria.fr/anonscm/git/ricar/ricar.git
git checkout develop
and reuse your config.in file.

And we now recommend to install PaStiX with the "spack" framework, see :
(Mainly sections 4 and 5)

The following command should do the job in your case :
spack install pastix+mpi~smp

Or if you need your own MPI library, and for instance MKL BLAS :
export MPI_DIR=~/Work/openmpi/install/
spack install openmpi@exist
source /opt/intel/bin/compilervars.sh -arch ia32 -platform mac
spack install mkl-blas
spack install pastix+mpi~smp ^mkl-blas ^openmpi@exist


RE: Build failure with +MPI -SMP with version [ Reply ]
By: Pierre Ramet on 2016-03-02 16:48
Dear Justin,
it seems that we have a bug using this configuration (+MPI -SMP).
We will propose a patch you could try, and we will apply it for the next release.
Thanks for the bug report.

Build failure with +MPI -SMP with version [ Reply ]
By: Justin Lecher on 2016-02-23 08:49
mpicc -cc=x86_64-pc-linux-gnu-gcc -march=native -mtune=native -O2 -pipe -fdiagnostics-color=always -fPIC -DFORCE_NOSMP -DCUDA_SM_VERSION=20 -I/usr/include/scotch -DDISTRIBUTED -DWITH_SCOTCH -DWITH_HWLOC -DVERSION='""' -DX_ARCH -DDOF_CONSTANT -DVERSION='""' -DX_ARCH -DDOF_CONSTANT -I./common/src -I./order/src -I./symbol/src -I./fax/src -I./perf/src -I./blend/src -I./kass/src -I./sopalin/src -I./utils/src -I./matrix_drivers/src -I./wrapper/src -I./sparse-matrix/src -Imurge/include -DPREC_DOUBLE -DCHOL_SOPALIN -c sopalin/obj//sopalin3d_he.c -o sopalin/obj//sopalin3d_he.o
In file included from ./sopalin/src/sopalin3d.c:409:0,
from sopalin/obj//sopalin3d_sy.c:3:
./sopalin/src/updo.c: In function ‘sy_up_down_smp’:
./sopalin/src/updo.c:979:6: error: ‘bubnum’ undeclared (first use in this function)
END_LOOP(bubnum = BFATHER(datacode->btree, bubnum););
./sopalin/src/updo.c:979:6: note: each undeclared identifier is reported only once for each function it appears in
./sopalin/src/updo.c:979:57: error: expected ‘)’ before ‘;’ token
END_LOOP(bubnum = BFATHER(datacode->btree, bubnum););
all_mp_rules.mk:84: recipe for target 'sopalin/obj//sopalin3d_sy.o' failed

Actually this happens always with -SMP