Jordan,
do you really need vt ?
if no, a trivial workaround is to
configure --disable-vt ...
what is your configure command line ?
assuming g++ is your c++ compiler, what does g++ --version says ?
Cheers,
Gilles
On 3/7/2016 1:32 PM, Jordan Willis wrote:
Hi everyone,
I have tried everything to compile openmpi. It used to compile on my
system, and I’m not sure what has changed in my c++ libraries to get
this error. I get the following when trying to
compile contrib/vt/vt/extlib/otf/tools/otfprofile
make[8]: Entering directory
`/dnas/apps/openmpi/openmpi-1.10.2/ompi/contrib/vt/vt/extlib/otf/tools/otfprofile'
CXXLD otfprofile
otfprofile-collect_data.o: In function `std::string::_M_check(unsigned
long, char const*) const':
/usr/include/c++/4.9/bits/basic_string.h:324: undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)'
otfprofile-create_latex.o: In function `std::string::_M_check(unsigned
long, char const*) const':
/usr/include/c++/4.9/bits/basic_string.h:324: undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)'
/usr/include/c++/4.9/bits/basic_string.h:324: undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)'
otfprofile-create_filter.o: In function
`std::string::_M_check(unsigned long, char const*) const':
/usr/include/c++/4.9/bits/basic_string.h:324: undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)'
otfprofile-create_filter.o: In function
`std::vector<CTree<std::string>*, std::allocator<CTree<std::string>*>
>::_M_range_check(unsigned long) const':
/usr/include/c++/4.9/bits/stl_vector.h:803: undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)'
otfprofile-create_filter.o:/usr/include/c++/4.9/bits/stl_vector.h:803:
more undefined references to `std::__throw_out_of_range_fmt(char
const*, ...)' follow
collect2: error: ld returned 1 exit status
make[8]: *** [otfprofile] Error 1
If I look online, it may be due to trying to use gcc-4.8 functions in
an 4.9 compiler. So I have tried switching to 4.8 just to check. They
also say you may have to update your toolchain to force GCC-4.9
although I’m not sure I know how to do this. I have also tried
compiling openmpi1.8 (last stable) and get the same error. I have also
reinstalled all my packages using aptitude.
The reason I’m trying to do a custom compile is because I’m trying to
build the pmi libraries that come with SLURM, although I get the same
error on a basic configuration.
I’m on ubuntu server 14.04. I think I have exhausted my
troubleshooting ideas and I’m reaching out to you. My configuration
log can be sent at request, but the attachment causes my message to
get bounced from the list.
Thanks so much,
Jordan
_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post:
http://www.open-mpi.org/community/lists/users/2016/03/28648.php