Final link of namd2 executable fails under AIX with xlC compiler

From: Mark Cheeseman (Mark.Cheeseman_at_niwa.co.nz)
Date: Mon Mar 25 2013 - 17:07:05 CDT

Hello,

I am trying to compile/link NAMD Version 2.9 on our local IBM Power6 machine that is running AIX 6.1. I am using IBM's xlc/xlC compilers (version 10.01) for the build. Charm++ builds fine and I can successfully run the test progams that come with Charm++. I am using the mpi-sp Charm++ architecture and I am trying the AIX-POWER-xlC configuration for the build of the namd2 executable.

The actual compile proceeds without any error. However, the final link of the namd2 executable fails with the following message:

ld: 0711-317 ERROR: Undefined symbol: iWARN(std::_LFS_ON::basic_ostream<char,std::char_traits<char> >&)
ld: 0711-317 ERROR: Undefined symbol: .infostream::operator<<(std::_LFS_ON::basic_ostream<char,std::char_traits<char> >&(*)(std::_LFS_ON::basic_ostream<char,std::char_traits<char> >&))
ld: 0711-317 ERROR: Undefined symbol: iINFO(std::_LFS_ON::basic_ostream<char,std::char_traits<char> >&)
ld: 0711-317 ERROR: Undefined symbol: iERROR(std::_LFS_ON::basic_ostream<char,std::char_traits<char> >&)
Fatal Error by charmc in directory /home/cheesemanmp/SOFTWARE/NAMD_2.9_Source/AIX-POWER-xlC

Does one know what these messages mean? I have tried re-compiling with large file support disabled. (i.e I removed the inclusion of the CPP directive _LARGE_FILES created in src/largefiles.h) That approach did not help.

Thanks,
Mark

Mark Cheeseman

HPCF Software Engineer
National Institute of Water & Atmospheric Research

Phone: +64 (0) 4 382 1623 (office)
            +64 (0) 27 705 4370 (mobile)
Skype: mark.patrick.cheeseman

--
Please consider the environment before printing this email.
NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.

This archive was generated by hypermail 2.1.6 : Tue Dec 31 2013 - 23:23:05 CST