[deal.II] Issue with Boost 1.75.0

2021-03-01 Thread Edward Read
 
Hello Everyone,

I am working on installing Deal.II on my linux box and am now receiving the 
following:

[ 79%] Built target deal_II.g
Scanning dependencies of target step-74.debug
[ 79%] Building CXX object 
examples/CMakeFiles/step-74.debug.dir/step-74/step-74.cc.o
[ 79%] Building CXX object 
source/matrix_free/CMakeFiles/obj_matrix_free_release.dir/mapping_info_inst3.cc.o
[ 79%] Building CXX object 
source/matrix_free/CMakeFiles/obj_matrix_free_release.dir/matrix_free.cc.o
[ 79%] Linking CXX executable ../bin/step-74.debug
[ 79%] Building CXX object 
source/matrix_free/CMakeFiles/obj_matrix_free_release.dir/shape_info.cc.o
[ 79%] Building CXX object 
source/matrix_free/CMakeFiles/obj_matrix_free_release.dir/task_info.cc.o
[ 79%] Building CXX object 
source/matrix_free/CMakeFiles/obj_matrix_free_release.dir/vector_data_exchange.cc.o
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::zlib_base::zlib_base()'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::gzip_header::process(char)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::zlib_error::check(int)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::zlib::best_speed'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::zlib::default_compression'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::zlib_base::reset(bool, bool)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::zlib_base::xdeflate(int)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::zlib::sync_flush'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::zlib::okay'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::zlib::finish'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::zlib::no_flush'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::zlib::stream_end'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::zlib_base::do_init(boost::iostreams::zlib_params 
const&, bool, void* (*)(void*, unsigned int, unsigned int), void (*)(void*, 
void*), void*)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::zlib::best_compression'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::zlib_base::~zlib_base()'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::zlib_base::before(char const*&, char const*, 
char*&, char*)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::zlib_base::after(char const*&, char*&, bool)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::gzip_footer::reset()'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::zlib_base::xinflate(int)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::zlib::default_strategy'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::gzip_header::reset()'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::detail::gzip_footer::process(char)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to 
`boost::iostreams::zlib::deflated'
collect2: error: ld returned 1 exit status
examples/CMakeFiles/step-74.debug.dir/build.make:240: recipe for target 
'bin/step-74.debug' failed
make[2]: *** [bin/step-74.debug] Error 1
CMakeFiles/Makefile2:3855: recipe for target 
'examples/CMakeFiles/step-74.debug.dir/all' failed
make[1]: *** [examples/CMakeFiles/step-74.debug.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs
[ 79%] Built target obj_matrix_free_release
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Any suggestions or solutions would be greatly appreciated .

-- 
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/83584a23-1ce5-4a0a-bee4-1cefb356f4c3n%40googlegroups.com.


[deal.II] METIS Issue during Installation Process

2020-08-17 Thread Edward Read

Hello,

I am trying to install Deal.ii on my new cluster, from the build screen 
output it looks there is a problem in finding METIS (which is installed). I 
am not exactly sure what is going on? Is there a way to hard code the METIS 
Path during the make process? I have attached the screen out from the 
CMAKE. Any thoughts or suggestions would greatly be appreciated. 

Thanks!

-- 
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/18b4e1fa-eeed-4b27-a643-6af35104f58bn%40googlegroups.com.
[ 76%] Built target obj_simplex_release
In file included from /home/tad/dealii/source/lac/sparsity_tools.cc:39:0:
/usr/local/include/metis.h:175:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_PartGraphRecursive(idx_t *nvtxs, idx_t *ncon, idx_t 
*xadj,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:180:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_PartGraphKway(idx_t *nvtxs, idx_t *ncon, idx_t *xadj,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:185:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_MeshToDual(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t 
*eind,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:188:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_MeshToNodal(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t 
*eind,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:191:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_PartMeshNodal(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t 
*eind,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:195:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_PartMeshDual(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t 
*eind,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:200:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_NodeND(idx_t *nvtxs, idx_t *xadj, idx_t *adjncy, idx_t 
*vwgt,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:203:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_Free(void *ptr);
^~~~
ETIMEDOUT
/usr/local/include/metis.h:205:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_SetDefaultOptions(idx_t *options);
^~~~
ETIMEDOUT
/usr/local/include/metis.h:210:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_NodeNDP(idx_t nvtxs, idx_t *xadj, idx_t *adjncy, idx_t 
*vwgt,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:214:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_ComputeVertexSeparator(idx_t *nvtxs, idx_t *xadj, idx_t 
*adjncy,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:217:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_NodeRefine(idx_t nvtxs, idx_t *xadj, idx_t *vwgt, idx_t 
*adjncy,
^~~~
ETIMEDOUT
/home/tad/dealii/source/lac/sparsity_tools.cc: In function ‘void 
dealii::SparsityTools::{anonymous}::partition_metis(const 
dealii::SparsityPattern&, const std::vector&, unsigned int, std::vector&)’:
/home/tad/dealii/source/lac/sparsity_tools.cc:93:7: error: 
‘METIS_SetDefaultOptions’ was not declared in this scope
METIS_SetDefaultOptions(options);
^~~
In file included from /home/tad/dealii/source/lac/sparsity_tools.cc:39:0:
/usr/local/include/metis.h:175:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_PartGraphRecursive(idx_t *nvtxs, idx_t *ncon, idx_t 
*xadj,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:180:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_PartGraphKway(idx_t *nvtxs, idx_t *ncon, idx_t *xadj,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:185:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_MeshToDual(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t 
*eind,
^~~~
ETIMEDOUT
/usr/local/include/metis.h:188:1: error: ‘METIS_EXPORT’ does not name a type; 
did you mean ‘ETIMEDOUT’?
METIS_EXPORT int METIS_MeshToNodal(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t 
*eind,
^~~~
ETIMEDOUT
/home/tad/dealii/source/lac/sparsity_tools.cc:138:16: error: 
‘METIS_PartGraphRecursive’ was not declared in this scope
ierr = METIS_PartGraphRecursive(,
^~~~
/usr/local/include/metis.h:191:1: