[Trilinos-Users] 10.8.2 dependency on superlu 4.x

Nuno Sucena Almeida slug at aeminium.org
Sat Oct 8 16:01:09 MDT 2011


Hi,
	it seems that trilinos depends on superlu 4.x when enabling SuperLU. I tried compiling it with 3.0 (ubuntu 11.04) and got:

[ 57%] Building CXX object packages/ifpack/src/CMakeFiles/ifpack.dir/Ifpack_SILU.cpp.o
/storage/home/users/nuno/build/trilinos-10.8.2-Source/packages/ifpack/src/Ifpack_SILU.cpp: In member function ‘virtual int Ifpack_SILU::Compute()’:
/storage/home/users/nuno/build/trilinos-10.8.2-Source/packages/ifpack/src/Ifpack_SILU.cpp:230:36: error: ‘ilu_set_default_options’ was not declared in this scope
/storage/home/users/nuno/build/trilinos-10.8.2-Source/packages/ifpack/src/Ifpack_SILU.cpp:231:12: error: ‘struct superlu_options_t’ has no member named ‘ILU_DropTol’
/storage/home/users/nuno/build/trilinos-10.8.2-Source/packages/ifpack/src/Ifpack_SILU.cpp:232:12: error: ‘struct superlu_options_t’ has no member named ‘ILU_FillTol’
/storage/home/users/nuno/build/trilinos-10.8.2-Source/packages/ifpack/src/Ifpack_SILU.cpp:233:12: error: ‘struct superlu_options_t’ has no member named ‘ILU_DropRule’
/storage/home/users/nuno/build/trilinos-10.8.2-Source/packages/ifpack/src/Ifpack_SILU.cpp:234:12: error: ‘struct superlu_options_t’ has no member named ‘ILU_FillFactor’
/storage/home/users/nuno/build/trilinos-10.8.2-Source/packages/ifpack/src/Ifpack_SILU.cpp:267:98: error: ‘dgsitrf’ was not declared in this scope
make[2]: *** [packages/ifpack/src/CMakeFiles/ifpack.dir/Ifpack_SILU.cpp.o] Error 1
make[1]: *** [packages/ifpack/src/CMakeFiles/ifpack.dir/all] Error 2
make: *** [all] Error 2

	Checking superlu 3.0 and 4.2 sources , the function ilu_set_default_options only exists in the latter. Maybe cmake should check for the superlu version ?

				regards,
					Nuno

-- 
http://slug.aeminium.org/




More information about the Trilinos-Users mailing list