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 5.2.2.22 [ Reply ]
By: Pierre Ramet on 2016-03-08 17:03
[forum:150352]
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
to
#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 :
http://morse.gforge.inria.fr/tuto_spack-morse/tuto_spack.html
(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

Best,
Pierre.



RE: Build failure with +MPI -SMP with version 5.2.2.22 [ Reply ]
By: Pierre Ramet on 2016-03-02 16:48
[forum:150327]
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.
Pierre.

Build failure with +MPI -SMP with version 5.2.2.22 [ Reply ]
By: Justin Lecher on 2016-02-23 08:49
[forum:150306]
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='"5.2.2.22"' -DX_ARCH -DDOF_CONSTANT -DVERSION='"5.2.2.22"' -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