Hi,
rm -rf build-mpi-pure
mkdir build-mpi-pure
pushd build-mpi-pure
FC=mpif90 FFLAGS="-O3" cmake ../
make -j10
Regards,
Alin
On Wednesday, 14 December 2016 18:09:26 GMT you wrote:
> Hello,
> i've downloaded dl_poly_4.08 last night, i'm going to install that with
> this commands :
>
> ## Standard MPI
> ```
> mkdir build-mpi-pure
> pushd build-mpi-pure
> FFLAGS="-O3" cmake ../
> make -j10
> make install
> ```
>
>
> After runing "make -j10" i will get this error :
> .
> .
> .
> .
> ../lib/libdlpolycore.a(comms_module.F90.o): In function
> `__comms_module_MOD_gsync':
> comms_module.F90:(.text+0x1591): undefined reference to `mpi_barrier_'
> collect2: error: ld returned 1 exit status
> source/CMakeFiles/DLPOLY.Z.dir/build.make:107: 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
>
> i have gfortran , openmpi and cmake on my ubuntu 16.04 system. but i don't
> know where is the problem ....
> gcc version 5.4.0
> cmake version 3.5.1
> mpirun (Open MPI) 1.10.2
>
>
> Regards.
--
Without Questions there are no Answers!
______________________________________
Dr. Alin Marin ELENA, F24
Daresbury Laboratory, STFC
Sci-Tech, Keckwick Lane
Daresbury, Cheshire
UK, WA4 4AD
http://goo.gl/6s7RAF
+44 (0) 1925 60 3080
_______________________________________
|