[Molds-dev] [molds] #36532: installation on Mac el capitan failed

Zurück zum Archiv-Index

OSDN Ticket System norep****@osdn*****
2016年 8月 10日 (水) 15:52:12 JST


#36532: installation on Mac el capitan failed

  Open Date: 2016-08-10 13:45
Last Update: 2016-08-10 15:52

URL for this Ticket:
    https://osdn.jp/ticket/browse.php?group_id=6231&tid=36532
RSS feed for this Ticket:
    https://osdn.jp/ticket/ticket_rss.php?group_id=6231&tid=36532

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2016-08-10 15:52 Updated by: mikiya_fujii

Comment:

Hi guillaumegodin, 

Did you use the makefile included in the trunk of molds?, i.e., <molds_dir>/trunk/src/Makefile or Makefile_GNU. 
The makefile is needed to be modified to suite your environment. 
Could you offer your makefile and also commands which you executed at the compilation?

BTW, does same error occurred for the latest code in trunk? 
molds 0.3.1 has a bug related to boost::serialization, 
c.f., https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746884
This bug is fixed for the latest code in trunk.

Mikiya

---------------------------------------------------------------------
Ticket Status:

      Reporter: guillaumegodin
         Owner: (未割り当て)
          Type: サポートリクエスト
        Status: オープン
      Priority: 5 - 中
     MileStone: (未割り当て)
     Component: (未割り当て)
      Severity: 5 - 中
    Resolution: なし
---------------------------------------------------------------------

Ticket details:

I try to compile using g++4.9 + precompile boost 155 or boost 1.6 with mpi option. All is fine until the last ld linkage where the boost:achive failed in your MolDSException. 

Here the log result same error on trunk or 0.3.1 version:

mpic++ -o molds -Wl,-rpath,/usr/local/opt/boost//lib/ obj/Enums.o                      obj/PrintController.o    obj/MolDSException.o                                        obj/MallocerFreer.o                obj/MpiProcess.o   obj/AsyncCommunicator.o        obj/Blas.o        obj/Lapack.o    obj/Utilities.o    obj/MathUtilities.o    obj/EularAngle.o    obj/Parameters.o    obj/Atom.o                obj/Hatom.o          obj/Liatom.o          obj/Catom.o          obj/Natom.o          obj/Oatom.o          obj/Satom.o             obj/EnvironmentalPointCharge.o              obj/AtomFactory.o    obj/Molecule.o    obj/InputParser.o    obj/GTOExpansionSTO.o    obj/RealSphericalHarmonicsIndex.o            obj/MOLogger.o            obj/DensityLogger.o            obj/HoleDensityLogger.o            obj/ParticleDensityLogger.o                               obj/Cndo2.o                                       obj/Indo.o     obj/ZindoS.o    obj/Mndo.o   obj/Am1.o   obj/Am1D.o   obj/Pm3.o   obj/Pm3D.o   o
 bj/Pm3Pddg.o              obj/ElectronicStructureFactory.o  obj/MD.o  obj/MC.o    obj/RPMD.o     obj/NASCO.o            obj/Optimizer.o            obj/ConjugateGradient.o            obj/SteepestDescent.o            obj/BFGS.o            obj/GEDIIS.o              obj/OptimizerFactory.o     obj/MolDS.o   obj/Main.o -L/usr/local/opt/boost//lib/ -L/usr/local/opt/openblas//lib/ -lpthread -lgomp -lboost_serialization-mt -lboost_mpi-mt -lboost_thread-mt -lboost_system-mt -lopenblas
Undefined symbols for architecture x86_64:
  "boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)", referenced from:
      void boost::serialization::load_construct_data<boost::archive::text_iarchive>(boost::archive::text_iarchive&, MolDS_base::MolDSException*, unsigned int) in MolDSException.o
  "boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::text_iarchive_impl(std::basic_istream<char, std::char_traits<char> >&, unsigned int)", referenced from:
      MolDS_base::MolDSException::Deserialize(std::basic_istream<char, std::char_traits<char> >&) in MolDSException.o
  "boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::save(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      boost::archive::detail::common_oarchive<boost::archive::text_oarchive>::vsave(boost::archive::class_name_type const&) in MolDSException.o
      boost::archive::detail::pointer_oserializer<boost::archive::text_oarchive, MolDS_base::MolDSException>::save_object_ptr(boost::archive::detail::basic_oarchive&, void const*) const in MolDSException.o
  "boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::text_oarchive_impl(std::basic_ostream<char, std::char_traits<char> >&, unsigned int)", referenced from:
      MolDS_base::MolDSException::Serialize(std::basic_ostream<char, std::char_traits<char> >&) in MolDSException.o
  "boost::archive::basic_text_iprimitive<std::basic_istream<char, std::char_traits<char> > >::~basic_text_iprimitive()", referenced from:
      MolDS_base::MolDSException::Deserialize(std::basic_istream<char, std::char_traits<char> >&) in MolDSException.o
      boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::~text_iarchive_impl() in MolDSException.o
      boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::~text_iarchive_impl() in MolDSException.o
      boost::archive::text_iarchive::~text_iarchive() in MolDSException.o
      boost::archive::text_iarchive::~text_iarchive() in MolDSException.o
      boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::~text_iarchive_impl() in MolDSException.o
  "boost::archive::basic_text_oprimitive<std::basic_ostream<char, std::char_traits<char> > >::~basic_text_oprimitive()", referenced from:
      MolDS_base::MolDSException::Serialize(std::basic_ostream<char, std::char_traits<char> >&) in MolDSException.o
      boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::~text_oarchive_impl() in MolDSException.o
      boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::~text_oarchive_impl() in MolDSException.o
      boost::archive::text_oarchive::~text_oarchive() in MolDSException.o
      boost::archive::text_oarchive::~text_oarchive() in MolDSException.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status

-- 
Ticket information of MolDS project
MolDS Project is hosted on OSDN

Project URL: https://osdn.jp/projects/molds
OSDN: https://osdn.jp

URL for this Ticket:
    https://osdn.jp/ticket/browse.php?group_id=6231&tid=36532
RSS feed for this Ticket:
    https://osdn.jp/ticket/ticket_rss.php?group_id=6231&tid=36532




MolDS-dev メーリングリストの案内
Zurück zum Archiv-Index