looks like problems with your mpi installation.
start afresh and send the output of cmake command too.
also the output of make VERBOSE=1
and
cat /etc/*-release
mpif90 -show
Alin
On Thursday, 6 July 2017 20:03:59 BST you wrote:
> Dear all
>
> I tried to compile dl poly by using following commands
>
> mkdir build-mpi-pure
> pushd build-mpi-pure
> FFLAGS="-O3" cmake ../
> make -j10
> make install
>
> but i am getting following error
>
> comms_module.F90:(.text+0x15d1): undefined reference to `mpi_barrier_'
> collect2: error: ld returned 1 exit status
> source/CMakeFiles/DLPOLY.Z.dir/build.make:105: recipe for target
> 'bin/DLPOLY.Z' failed
> make[2]: *** [bin/DLPOLY.Z] Error 1
> CMakeFiles/Makefile2:144: recipe for target
> 'source/CMakeFiles/DLPOLY.Z.dir/all' failed
> make[1]: *** [source/CMakeFiles/DLPOLY.Z.dir/all] Error 2
> Makefile:127: recipe for target 'all' failed
> make: *** [all] Error 2
>
> also i am getting this error after make -j10 and again after make
> install.
>
> Kindly help me in this regard.
>
> Sincerely
>
> Kartikeya Dixit
>
> PhD Candidate
>
> IIT Kanpur, India
--
Without Questions there are no Answers!
_______________________________________
Dr. Alin Marin ELENA
http://alin.elena.space/
_______________________________________
|