sanshar / Block

Block implements the density matrix renormalization group (DMRG) algorithm for quantum chemistry.
GNU General Public License v3.0
31 stars 33 forks source link

Symbol lookup error #45

Open doblinsky opened 7 years ago

doblinsky commented 7 years ago

/opt/block-1.5.0/block.spin_adapted: symbol lookup error: /usr/lib64/openmpi/lib/libmpi_cxx.so.1: undefined symbol: ompi_mpi_cxx_bool

sunqm commented 7 years ago

It is a system dependent error. Do you use the precompiled binary or compile from the source code?

doblinsky commented 7 years ago

I have used both and it gives the same error.

sunqm commented 7 years ago

Probably your runtime openmpi version are different to the openmpi version when you compile the code. Some checks you can consider:

  1. LD_LIBRARY_PATH
  2. -I path in the Makefile of block code
  3. which mpirun whether the mpirun corresponds to the right openmpi version