Re: [DuMuX] Dumux with UMFpack

2016-06-01 Thread Christoph Grüninger
Hi Ali,
SuiteSparse is package of several linear algebra algorithms including
UMFPack. They are packaged in different ways depending on the
SuiteSparse version and the Linux distribution.

1 ) You can add -lcholmod to the linker line, somewhere near the
-lumfpack line. You get the linker line with VERBOSE=1 as mentioned by
Bernd.

2) You can try building with static libraries. I haven't done this for a
long time, I am not sure whether it works out of the box or what special
flags are or avail.

3) Maybe it is worth a try to download the source code and built
SuiteSparce. Then the libraries are not oddly chopped by the distribution.

I assume this advice will not finally help. If you choose one way and
run into further troubles, please report back.

Bye
Christoph

-- 
The method has been developed for use on a high-speed electronic
computer and would be impractical for hand-solution purposes.
   [Harlow & Welch 1965]



signature.asc
Description: OpenPGP digital signature
___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


[DuMuX] Dumux with UMFpack

2016-06-01 Thread Ali Nowamooz
Dear Dumux users,


I compiled Dumux with UMFpack to run the multi-domain simulations presented by 
Fetzer et al. 2016 (i.e., Effect of Turbulence and Roughness on Coupled 
Porous-Medium/Free-Flow Exchange Processes). I got the following errors that I 
couldn't find any solution for them yet. I would like to know if anyone 
experienced the same problem and can help me with it.

[anowamooz@colosse2 windTunnel]$ make
Linking CXX executable test_windTunnelTopClosed
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_start'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_finish'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_free_factor'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_print_common'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`SuiteSparse_time'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_l_free_factor'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_free_sparse'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_l_transpose'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_l_analyze'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_transpose'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_l_free_sparse'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_l_finish'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_l_print_common'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_l_start'
/software6/libs/suitesparse/4.2.1_gcc/lib/libumfpack.so: undefined reference to 
`cholmod_analyze'
collect2: error: ld returned 1 exit status
make[2]: *** [appl/multidomain/windTunnel/test_windTunnelTopClosed] Error 1
make[1]: *** 
[appl/multidomain/windTunnel/CMakeFiles/test_windTunnelTopClosed.dir/all] Error 
2
make: *** [all] Error 2

Thanks in advance for your help
Ali Nowamooz
Research associate
Université Laval
Department of Geology and Geological Engineering
Faculty of Science and Engineering
Quebec (Quebec) - Canada

___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux