- LAMMPS: R6513
- MPI: ../STUBS/libmpi.a and FFTW enabled (as required by kspace)
- OS: MAC OS (make mac)
I got this compilation error:
c++ -O -DLAMMPS_GZIP -I../STUBS -DFFT_FFTW -c fix_phonon.cpp fix_phonon.cpp: In member function ‘virtual void LAMMPS_NS::FixPhonon::end_of_step()’: fix_phonon.cpp:374:94: error: ‘MPI_Scatterv’ was not declared in this scope make[1]: * [fix_phonon.o] Error 1 make: * [mac] Error 2
It seems something related with the mpi library.
thank you.
giuseppe
Comment #1
Posted on Aug 1, 2011 by Happy HippoFix-phonon requires one to use a full implementaion of mpi, either mpich or openmpi, but not those in src/STUBS of lammps, as the latter just provides a limited implementation as a serial code; some mpi function fix-phonon needed, like mpi_scatterv, is not included.
Status: New
Labels:
Type-Defect
Priority-Medium