|Subject:||Re: [ESPResSo] parallel computing|
|Date:||Tue, 10 Aug 2010 13:16:27 -0400|
if you have several mpi libraries installed in your system you can
manually specify all the PATHs in the configure line.
Here is an example on how you would configure in SuSE 11.2 with openMPI:
The summary at the end of configure will then tell you that it
found a "generic" mpi version.
PS: If you want to know what exactly the mpicc wrapper does, type "mpicc -show"
on command line.
> From: Mikheil Azatov <address@hidden <mailto:address@hidden>>
On 08/10/2010 03:43 AM, Ahmad A. J. Agung wrote:
> Hi Mikheil,
> Sorry I didn't notice your previous email. From the ../configure result
> in your previous email:
>>checking for mpirun... /usr/bin/mpirun
>> configure-ac: error: LAM/MPI not working
> There is an MPI inside your default path /usr. The problem is if you do
> not install MPI in a default path, (i.e. your last LAM installation:
> --prefix=/usr/local/lam), the ../configure ESPResSo will call the mpirun
> in /usr/bin/mpirun first and use it in the whole setting. You can
> install MPI with --prefix=/usr, which will replace the old MPI, but I do
> not suggest it because it is risky and you cannot do this if later you
> install in a public cluster which you do not have a root access. What I
> suggest is trying to declare your environment path in your .bashrc or
> .bash_profile file in your home directory. If you never do this, you can
> googling first. The point is making the ../configure ESPResSo call the
> mpirun and mpi library and mpi header in your MPI installation directory
> I prefer OpenMPI because I heard there is no serious development in LAM
> now. Manually installing gcc also requires much time, mostly when you
> get problem with its dependency. If you install with openMPI, try this
> in the flag:
> ../configure-ac CC=mpicc MPICC=MPICC --with-mpi=openmpi CPPFLAGS=... etc...
> FMIIW, Good Luck,
> Message: 1
> Date: Mon, 9 Aug 2010 16:29:51 -0400
> Subject: Re: [ESPResSo] parallel computing> To: address@hidden <mailto:address@hidden>
> Message-ID:> <mailto:address@hidden>>
> Content-Type: text/plain; charset="iso-8859-1"
> Hi Aang, sorry to bother you again. I think I figured out what is the
> problem after a long day. So when I install lam it gives me an error that
> "LAM requires a C++ compiler with support for the bool data type." I don't
> know if you ever had this problem but after looking through lam forums the
> only suggestion i found was to downgrade gcc version. before doing that i
> thought it might be better to try other mpi's. As i understand other two
> options are Open mpi and MPICH. MPICH is not recommended in Espresso manual
> (as working slower) and Open MPI is not described there at all( so i don't
> know what option would I even use in ./configure --with-mpi=???) . So I was
> wandering what would you suggest to do in my situation. Which one of these
> to try to install or maybe keep trying with lam?
> Thank you so much!!! Your help will be really appreciated!
> Mikheil Azatov
> University of Maryland
ESPResSo mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|