MPI library

Hi Steve,

Trying to work with MPI first time & had specified following settings in the make G++3 file: Please advice.

Makefile settings:

Hi Steve,

Trying to work with MPI first time & had specified following settings in the
make G++3 file: Please advice.

Makefile settings:

----------------------------------------------------------------------------

# compiler/linker settings
# specify flags and libraries needed for your compiler

CC = mpicc
CCFLAGS = -g -O
DEPFLAGS = -M
LINK = mpicc
LINKFLAGS = -g -O
LIB =
ARCHIVE = ar
ARFLAGS = -rc
SIZE = size

# ---------------------------------------------------------------------
# LAMMPS-specific settings
# specify settings for LAMMPS features you will use

# LAMMPS ifdef options, see doc/Section_start.html

LMP_INC = -DLAMMPS_GZIP

# MPI library, can be src/STUBS dummy lib
# INC = path for mpi.h, MPI compiler settings
# PATH = path for MPI library
# LIB = name of MPI library

MPI_INC = -I../STUBS/mpich/include
MPI_PATH =
MPI_LIB = ../STUBS/mpich/lib/libmpich.a

# FFT library, can be -DFFT_NONE if not using PPPM from kspace package
# INC = -DFFT_FFTW, -DFFT_INTEL, -DFFT_NONE, etc, FFT compiler settings
# PATH = path for FFT library
# LIB = name of FFT library

FFT_INC = -DFFT_FFTW
FFT_PATH =
FFT_LIB = ../STUBS/lib/libfftw.a

-------------------------------------------------------------------------------------------------------------------------------

Errors received:

_intersect.o region_plane.o region_prism.o region_sphere.o region_union.o
remap.o remap_wrap.o replicate.o respa.o run.o set.o special.o thermo.o
timer.o universe.o update.o variable.o velocity.o verlet.o write_restart.o
-lreax -lmeam ../STUBS/mpich/lib/libmpich.a ../STUBS/lib/libfftw.a
-lifcore -lsvml -lompstub -limf -lifcore -lsvml -lompstub -limf -o
../lmp_g++3
/usr/bin/ld: cannot find -lifcore
/usr/bin/ld: cannot find -lsvml
/usr/bin/ld: cannot find -lompstub
/usr/bin/ld: cannot find -limf
/usr/bin/ld: cannot find -lifcore
/usr/bin/ld: cannot find -lsvml
/usr/bin/ld: cannot find -lompstub
/usr/bin/ld: cannot find -limf

these have _nothing_ to do with MPI,
but if you compile in one of the lammps packages
that interface to fortran code (reax or meam).

those will bite you the same way,
if you compile a serial executable.

axel.