dynamic_cast & runtime type information

From: Éric Germaneau (germaneau_at_sjtu.edu.cn)
Date: Fri Mar 18 2016 - 11:46:10 CDT

Dear all,

I'm compiling NAMD 2.11 on a Intel machine using Intel compiler and got
the error bellow when doing make (CHARMM part) :

    error: this dynamic_cast cannot be done without runtime type
    information, which is disable

Here is how I build CHARMM :

    MPICC=mpiicc MPICXX=mpiicc CXX=icpc ./build charm++
    mpi-linux-x86_64 smp icc --with-production -j4 --no-shared \
         --basedir=/path/to/intel/impi/5.0.1.035/intel64 \
    -O3 -xhost -openmp\
    -DCMK_OPTIMIZE

Would you please let me know what I'm doing wrong?
Thank you.

-- 
Éric Germaneau (艾海克), Specialist
Center for High Performance Computing
Shanghai Jiao Tong University
Room 205 Network Center, 800 Dongchuan Road, Shanghai 200240 China
Email:germaneau_at_sjtu.edu.cn Mobi:+86-136-4161-6480 http://hpc.sjtu.edu.cn

This archive was generated by hypermail 2.1.6 : Sun Dec 31 2017 - 23:20:14 CST