Hi Bouazza,
I'm sorry you had so many troubles, Try the following step-to-step approach instead:
-be sure to remove completely ALL dependencies previously installed with the install-coolfluid script.
-run "which mpirun" or "which mpiexec" on the terminal: it will give you
YOUR_MPI_PATH/bin/mpirun or YOUR_MPI_PATH/bin/mpiexec
If YOUR_MPI_PATH is empty, then run
./install-coolfluid-deps.pl --install=mpich --mpi-dir=YOUR_MPI_PATH --tmp-dir=$PWD
This will install mpich (if you prefer openmpi, use openmpi).
-reinstall boost,petsc,parmetis with the following commands (and your own concrete choice for the various installation paths BOOST_PATH, PARMETIS_PATH, PETSC_PATH) so that your pre-existing MPI installation is used and not one installed by the coolfluid script:
./install-coolfluid-deps.pl --install=boost --mpi-dir=YOUR_MPI_PATH --install-dir=BOOST_PATH --tmp-dir=$PWD
and re-try.
./install-coolfluid-deps.pl --install=petsc --mpi-dir=YOUR_MPI_PATH --install-petsc-dir=PETSC_PATH --tmp-dir=$PWD
./install-coolfluid-deps.pl --install=parmetis --mpi-dir=YOUR_MPI_PATH --install-parmetis-dir=PARMETIS_DIR --tmp-dir=$PWD
Be sure that each of those commands fits in just one line (my text editor doesn't allow it here). Reistall also cmake and curl, just to be sure:
./install-coolfluid-deps.pl --install=cmake, curl --install-dir=NOMPI_PATH --tmp-dir=$PWD
Now in your .bashrc or .profile you have to set
export PATH=NOMPI_PATH/bin:YOUR_MPI_PATH/bin:$PATH
export LD_LIBRARY_PATH=NOMPI_PATH/lib:BOOST_PATH/lib:PETSC_PATH/lib:PARMETIS_PATH/lib:YOUR_MPI_PATH/lib:$LD_LIBRARY_PATH
or, if you have a .cshrc,
setenv PATH "NOMPI_PATH/bin:YOUR_MPI_PATH/bin:$PATH"
setenv LD_LIBRARY_PATH "NOMPI_PATH/lib:BOOST_PATH/lib:PETSC_PATH/lib:PARMETIS_PATH/lib:YOUR_MPI_PATH/lib:$LD_LIBRARY_PATH"
Again, be sure that each of those commands (export ... or setenv ...) fits in just one line (my text editor doesn't allow it here).
Then just log out and log in again. Please double check that
echo $PATH
echo $LD_LIBRARY_PATH
both give the paths you want. If it's the case then set all *_PATH in the coolfluid.conf file:
mpi_dir = YOUR_MPI_PATH
parmetis_dir = PARMETIS_PATH
petsc_dir = PETSC_PATH
boost_dir = BOOST_PATH
curl_dir = NOMPI_PATH
And then you should be able to proceed successfully. With this step-by-step procedure I have recently installed COOLFluiD successfully on NASA's supercomputer with no problem, using different existing MPI installations.
Installation of dependencies should work on Mac too. It was tested a few months ago.
Let me know
Andrea
P.S. the user mailing list you are using is not the one for the COOLFLUID you are looking for. That's for another project, named coolfluid3, which currently doesn't offer much support for what you want to do.
Hi everyone
I am a new COOLFluiD user. I have ubuntu installed on my laptop but I am having troubles installing COOLFluiD.
I am ready to change my OS (I think that ubuntu is not suitable for scientific computing)
What is the best linux distribution for installing COOLFluiD ?
Please help me out here guys I really want to use COOLFluiD.
Thanks !
Bouazza Bouguenina
--
You received this message because you are subscribed to the Google Groups "Coolfluid Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
coolfluid-develo...@googlegroups.com.
For more options, visit
https://groups.google.com/groups/opt_out.