Page 1 of 1

Emergency. The parallel 7.10.5 can't be build with openmpi

Posted: Thu Apr 14, 2016 7:09 pm
by kinsang
Hi, everyone.
When I try to build the abinit-7.10.5 with Openmpi 1.10.2,
even if I enable mpi, it seems that I always got the sequential version instead of the parallel one.

The sequential abinit works well, but when I run the parallel version with command like "mpirun -np $num abinit < ......"
Abinit stop at the beginning with such message:
Give name for formatted input file:

I am sure the PATH and LD_LIBRARY_PATH are set correctly:

[kinsang@c0 Config]$ mpirun --version
mpirun (Open MPI) 1.10.2

[kinsang@c0 Config]$ mpicc --version
icc (ICC) 16.0.2 20160204
Copyright (C) 1985-2016 Intel Corporation. All rights reserved.

The configure file is as follows:
FC=mpifort
CC=mpicc
CXX=mpicxx

enable_mpi="yes"
enable_mpi_io="yes"
with_mpi_prefix="/public/soft/ompi-v1.10"


Thanks a lot !!!
Enclosing with the Conf.log

Re: Emergency. The parallel 7.10.5 can't be build with openm

Posted: Fri Apr 15, 2016 9:53 am
by Jordan
Hi

You do have the parallel version of abinit. See your log file

Code: Select all

  * MPI    enabled  : yes
  * MPI-IO enabled  : yes


The code stop because of your mpi environment. The mpirun does not how to handle the stdin stream there for it waits for the user input.
Basically you should read the sentence and thus type the input file name
then you'll be ask the output file name and so on.
Those names are exactly, line by line what is in you files file.

If you run abinit with mpirun -np $num abinit, you'll have exactly the same behaviour.

Ask you admin to explain to you how to run the mpirun with stream redirection like "< files" (you should be on a filesystem readable by all mpi processes) or if you are the admin, check you mpi compilation.

Cheers

Jordan