[Trilinos-Users] Compiling with Portland Group Compilers

gjl7 at et.byu.edu gjl7 at et.byu.edu
Tue Apr 11 15:17:16 MDT 2006


Does anyone know of any special tricks required to get trilinos to compile
using portland group compilers? or does anyone have a sample configuration
script?  I have successfully compiled it on our linux machine using GNU
compilers, but get erros using the PG compilers.  I get the following
terminating errors:


: undefined reference to
`any_cast__tm__3_Pb__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x5f8e):
In function `Teuchos::CommandLineProcessor::parse( const(int, char **,
std::basic_ostream<char,std::char_traits<char>> *))':
: undefined reference to
`any_cast__tm__3_Pb__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x5fc6):
In function `Teuchos::CommandLineProcessor::parse( const(int, char **,
std::basic_ostream<char,std::char_traits<char>> *))':
: undefined reference to
`any_cast__tm__3_Pi__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x6002):
In function `Teuchos::CommandLineProcessor::parse( const(int, char **,
std::basic_ostream<char,std::char_traits<char>> *))':
: undefined reference to
`any_cast__tm__3_Pd__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x6057):
In function `Teuchos::CommandLineProcessor::parse( const(int, char **,
std::basic_ostream<char,std::char_traits<char>> *))':
: undefined reference to
`any_cast__tm__89_PQ2_3std78basic_string__tm__58_cQ2_3std20char_traits__tm__2_cQ2_3std18allocator__tm__2_c__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x60d8):
In function `Teuchos::CommandLineProcessor::parse( const(int, char **,
std::basic_ostream<char,std::char_traits<char>> *))':
: undefined reference to
`any_cast__tm__2_i__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x6bfd):
In function `Teuchos::CommandLineProcessor::printHelpMessage( const(char
const *, std::basic_ostream<char,std::char_traits<char>> &))':
: undefined reference to
`any_cast__tm__2_i__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x6dfb):
In function `Teuchos::CommandLineProcessor::printHelpMessage( const(char
const *, std::basic_ostream<char,std::char_traits<char>> &))':
: undefined reference to
`any_cast__tm__3_Pb__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x711b):
In function `Teuchos::CommandLineProcessor::printHelpMessage( const(char
const *, std::basic_ostream<char,std::char_traits<char>> &))':
: undefined reference to
`any_cast__tm__3_Pi__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x7161):
In function `Teuchos::CommandLineProcessor::printHelpMessage( const(char
const *, std::basic_ostream<char,std::char_traits<char>> &))':
: undefined reference to
`any_cast__tm__3_Pd__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x7194):
In function `Teuchos::CommandLineProcessor::printHelpMessage( const(char
const *, std::basic_ostream<char,std::char_traits<char>> &))':
: undefined reference to
`any_cast__tm__89_PQ2_3std78basic_string__tm__58_cQ2_3std20char_traits__tm__2_cQ2_3std18allocator__tm__2_c__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x722b):
In function `Teuchos::CommandLineProcessor::printHelpMessage( const(char
const *, std::basic_ostream<char,std::char_traits<char>> &))':
: undefined reference to
`any_cast__tm__2_i__7TeuchosFRCQ2_7Teuchos3any_RCZ1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x89ea):
In function
`__CPR210__set_enum_value__Q2_7Teuchos20CommandLineProcessorCFiPPcRCQ2_3std78basic_string__tm__58_cQ2_3std20char_traits__tm__2_cQ2_3std18allocator__tm__2_cT1T3PQ2_3std52basic_ostream__tm__31_cQ2_3stdJ95J':
: undefined reference to
`__CPR211__find__tm__177_PCQ2_3std78basic_string__tm__58_cQ2_3std20char_traits__tm__2_cQ2_3std18allocator__tm__2_cQ2_3stdJ23J__3stdFZ1ZT1RCZ2Z_Z1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0x9184):
In function
`__CPR260__find_enum_opt_index__Q2_7Teuchos20CommandLineProcessorCFRCQ2_3std78basic_string__tm__58_cQ2_3std20char_traits__tm__2_cQ2_3std18allocator__tm__2_ciRCQ3_J24JJ32J15enum_opt_data_tPQ2_3std52basic_ostream__tm__31_cQ2_3stdJ96J':
: undefined reference to `find__tm__5_PCii__3stdFZ1ZT1RCZ2Z_Z1Z'
/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/src/libteuchos.a(Teuchos_CommandLineProcessor.o)(.text+0xd171):
In function
`__CPR755__insert__Q2_3std447map__tm__435_Q2_3std78basic_string__tm__58_cQ2_3std20char_traits__tm__2_cQ2_3std18allocator__tm__2_cQ3_7Teuchos20CommandLineProcessor13opt_val_val_tQ2_3std100less__tm__88_Q2_3stdJ38JQ2_3std179allocator__tm__161_Q2_3std150pair__tm__137_CQ2_3stdJ38JQ3_J121JJ129JJ151JFQ3_3std110_Rb_tree__tm__94_Z1ZQ2_3std19pair__tm__8_CZ1ZZ2ZQ2_3std47_Select1st__tm__29_Q2_3stdJ503JZ3ZZ4Z8iteratorRCQ2_3stdJ503J_Q3_3stdJ473JJ586J':
: undefined reference to
`__CPR934__insert_unique__Q2_3std754_Rb_tree__tm__737_Q2_3std78basic_string__tm__58_cQ2_3std20char_traits__tm__2_cQ2_3std18allocator__tm__2_cQ2_3std150pair__tm__137_CQ2_3stdJ50JQ3_7Teuchos20CommandLineProcessor13opt_val_val_tQ2_3std180_Select1st__tm__161_Q2_3stdJ137JQ2_3std100less__tm__88_Q2_3stdJ50JQ2_3std179allocator__tm__J316JFQ2_3std65_Rb_tree_iterator__tm__40_Z2ZQ2_3std27_Nonconst_traits__tm__4_Z2ZRCZ2Z_Q2_3stdJ787J'
make[5]: *** [dyn_cast_test.exe] Error 2
make[5]: Leaving directory
`/auto/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/test/dyn_cast'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/auto/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/auto/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages/teuchos'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/auto/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG/packages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/auto/fsd/gjl7/Trilinos/trilinos-6.0.16/LINUX_SERIAL_mlx_PG'
make: *** [all] Error 2


Any ideas?  Thanks.

Greg





More information about the Trilinos-Users mailing list