>
> Thank you, Denis. I use a pretty stupid (but simple) workaround: I setup 
>> and compile deal.ii myself since all dependencies are compiled and use the 
>> cmake command used by spack. That works. And I do not get the serialization 
>> error.
>>
>
>
> now that is strange. Are you sure you pick up the same boost?
> Could you post the original error from CMake error logs that shows how 
> serialization test fails?
>  
>
Cmake in my little modification seems to pick up the right boost. (for 
error log with boost see above)
 
DEAL_II_WITH_BOOST set up with external dependencies 
#            BOOST_VERSION = 1.70.0 
#            BOOST_DIR = 
/scratch/cen/numgeo/spack-lib/linux-debian8-x86_64/gcc-7.3.0/boost-1.70.0 
#            BOOST_CXX_FLAGS = -Wno-unused-local-typedefs 
#            BOOST_DEFINITIONS = BOOST_NO_AUTO_PTR 
#            BOOST_USER_DEFINITIONS = BOOST_NO_AUTO_PTR 
#            BOOST_INCLUDE_DIRS = 
/scratch/cen/numgeo/spack-lib/linux-debian8-x86_64/gcc-7.3.0/boost-1.70.0/include
 

#            BOOST_USER_INCLUDE_DIRS = 
/scratch/cen/numgeo/spack-lib/linux-debian8-x86_64/gcc-7.3.0/boost-1.70.0/include
 

#            BOOST_LIBRARIES = 
/scratch/cen/numgeo/spack-lib/linux-debian8-x86_64/gcc-7.3.0/boost-1.70.0/lib/libboost_iostreams-mt.so;/scratch/cen/numgeo/spack-lib/lin
ux-debian8-x86_64/gcc-7.3.0/boost-1.


 

>
>> However, now my code runs on the machine I installed it on. But once I 
>> use slurm to distribute the job across nodes I get "illegal instruction" 
>> erros. Frustrating.
>>
>
> With HPC I used to have access to they did not use slurm, so I can't 
> really comment here.
> If that's during running quick tests or so, it could be related to a wrong 
> MPIEXEC pickedup by deal.II config.
> I wanted to fix that in Spack https://github.com/spack/spack/pull/11142 
> but apparently this solution may not be fully functional for Slurm.
>

I guess I have a clue why I get the error. My backend nodes run on a 
different architecture. The openmpi version (i.e. mpirun) is the correct 
one. This is made sure in the slurm script.
 
Best,
Konrad

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/d1e8e796-969e-4c41-ae0c-1c5a54742dd2%40googlegroups.com.

Reply via email to