OpenMP instead MPI
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.
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.
-
- Posts: 28
- Joined: Mon Mar 29, 2010 4:13 pm
OpenMP instead MPI
Dear abiniters,
I am trying to compile abinit in a cluster so I want to use the parallezation of abinit. The admistrator of the cluster said to me that the cluster has installed the openmp but not the mpi libraries. How do I set the configure options to this case?
I am trying to compile abinit in a cluster so I want to use the parallezation of abinit. The admistrator of the cluster said to me that the cluster has installed the openmp but not the mpi libraries. How do I set the configure options to this case?
Dr. Sergio Ferrari
Scientific Researcher (category Assistant) - CONICET (National Council of Research in Science and Technology)
IFLP (Physics Institute of La Plata)
Universidad Nacional de La Plata
La Plata, Argentina
Scientific Researcher (category Assistant) - CONICET (National Council of Research in Science and Technology)
IFLP (Physics Institute of La Plata)
Universidad Nacional de La Plata
La Plata, Argentina
Re: OpenMP instead MPI
Actually, you can install mpi youself depending on your preference,
abinit can compile by openmpi, mpich2, intel mpi(mpiifort) and so on,
for some free mpi software, you can install yourself on cluster.
abinit can compile by openmpi, mpich2, intel mpi(mpiifort) and so on,
for some free mpi software, you can install yourself on cluster.
-
- Posts: 28
- Joined: Mon Mar 29, 2010 4:13 pm
Re: OpenMP instead MPI
Really? I mean I am not root/administrator of the cluster and install such things usally requires admin privileges. That is why I am asking how to use openmp wich is the installed stuff there.
Dr. Sergio Ferrari
Scientific Researcher (category Assistant) - CONICET (National Council of Research in Science and Technology)
IFLP (Physics Institute of La Plata)
Universidad Nacional de La Plata
La Plata, Argentina
Scientific Researcher (category Assistant) - CONICET (National Council of Research in Science and Technology)
IFLP (Physics Institute of La Plata)
Universidad Nacional de La Plata
La Plata, Argentina
Re: OpenMP instead MPI
I got a silly question: are OpenMP and OpenMPI the same stuff?
Boris
Boris
----------------------------------------------------------
Boris Dorado
Atomic Energy Commission
France
----------------------------------------------------------
Boris Dorado
Atomic Energy Commission
France
----------------------------------------------------------
-
- Posts: 28
- Joined: Mon Mar 29, 2010 4:13 pm
Re: OpenMP instead MPI
Boris,
According to myself experience, openmp and mpi are not the same. If I try to install abinit in the cluster i mentioned and use mpi I got a error message because the configure script can not find the mpi libraries. Consulting to the administrator, he said to me that mpi was not installed but openmp it is installed. That is the origin of my post, try to use abinit with openmp instead mpi.
According to myself experience, openmp and mpi are not the same. If I try to install abinit in the cluster i mentioned and use mpi I got a error message because the configure script can not find the mpi libraries. Consulting to the administrator, he said to me that mpi was not installed but openmp it is installed. That is the origin of my post, try to use abinit with openmp instead mpi.
Dr. Sergio Ferrari
Scientific Researcher (category Assistant) - CONICET (National Council of Research in Science and Technology)
IFLP (Physics Institute of La Plata)
Universidad Nacional de La Plata
La Plata, Argentina
Scientific Researcher (category Assistant) - CONICET (National Council of Research in Science and Technology)
IFLP (Physics Institute of La Plata)
Universidad Nacional de La Plata
La Plata, Argentina
Re: OpenMP instead MPI
Hi
I understood that, but it seemed to me that OpenMP had MPI librairies, so it didn't make any sense to me that your administrator told you that MPI was not installed but OpenMP was.
I searched on Google and OpenMP is indeed used for parallelisation, and should therefore have MPI libraries installed with it. If abinit doesn't find the MPI libraires by itself, then you have to specify the path to the MPI librairies yourself.
What was the command you used for the configure script ? Was it a simple : ../configure --enable-mpi ?
Boris
I understood that, but it seemed to me that OpenMP had MPI librairies, so it didn't make any sense to me that your administrator told you that MPI was not installed but OpenMP was.
I searched on Google and OpenMP is indeed used for parallelisation, and should therefore have MPI libraries installed with it. If abinit doesn't find the MPI libraires by itself, then you have to specify the path to the MPI librairies yourself.
What was the command you used for the configure script ? Was it a simple : ../configure --enable-mpi ?
Boris
----------------------------------------------------------
Boris Dorado
Atomic Energy Commission
France
----------------------------------------------------------
Boris Dorado
Atomic Energy Commission
France
----------------------------------------------------------
Re: OpenMP instead MPI
exactly, openmpi should be fine for compiling abinit,
but if you feel that openmpi is not suitable for your work,
you can install some parallelism compiler such as mpich2 without administrator privileges.
best
peter
but if you feel that openmpi is not suitable for your work,
you can install some parallelism compiler such as mpich2 without administrator privileges.
best
peter
Re: OpenMP instead MPI
read this
http://darmawan-salihun.blogspot.com/2009/11/openmp-vs-openmpi.html
Abinit uses MPI.
openmp is not activated, though it may be used in the future.
Matthieu
http://darmawan-salihun.blogspot.com/2009/11/openmp-vs-openmpi.html
Abinit uses MPI.
openmp is not activated, though it may be used in the future.
Matthieu
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium