OpenMPI is an open source implementation of the Message Passage Interface protocol, which allows you to compile and run codes in parallel. OpenMPI is composed by a set of wrappers (mpic++, mpif77 etc.) to use in place of your favourite compilers and by scripts (mpirun, mpiexec, etc.) to launch the parallel job.
- ./configure CC=/usr/local/bin/gcc CFLAGS='-O3 -ftree-vectorize' CXX=/usr/local/bin/g++ CXXFLAGS=' -O3 -ftree-vectorize' F77=/usr/local/bin/gfortran FFLAGS=' -O3 -ftree-vectorize' FC=/usr/local/bin/gfortran FCFLAGS=' -O3 -ftree-vectorize'
- make all install
The compilation took quite a long time, but it worked. Please note that these wrappers are located in
/usr/local/bin and you have to include them in your PATH (via changing the .profile). If you have already done so for the GNU compilers, you don't need to change anything, as /usr/local/bin is already in your path.
No comments:
Post a Comment