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

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
kinsang
Posts: 13
Joined: Wed Mar 23, 2016 2:24 pm

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

Post by kinsang » Thu Apr 14, 2016 7:09 pm

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
Attachments
conf.log
(37 KiB) Downloaded 352 times

Jordan
Posts: 282
Joined: Tue May 07, 2013 9:47 am

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

Post by Jordan » Fri Apr 15, 2016 9:53 am

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

Locked