Estoy tratando de compilar OpenMPI 1.10.2 usando el compilador Intel Fortran (ifort) instalado con interfaz gráfica. Al configurar
sudo ./configure FC="ifort"
(como me dijo README para configurar un compilador diferente) me sale el siguiente error
*** Fortran compiler
checking whether we are using the GNU Fortran compiler... no
checking whether ifort accepts -g... no
checking whether ln -s works... yes
checking if Fortran compiler works... no
**********************************************************************
* It appears that your Fortran compiler is unable to produce working
* executables. A simple test application failed to properly
* execute. Note that this is likely not a problem with Open MPI,
* but a problem with the local compiler installation. More
* information (including exactly what command was given to the
* compiler and what error resulted when the command was executed) is
* available in the config.log file in the Open MPI build directory.
**********************************************************************
configure: error: Could not run a simple Fortran program. Aborting.
Mirando en el archivo config.log leí esto:
configure:32556: checking if Fortran compiler works
configure:32585: ifort -o conftest /opt/intel/bin/ conftest.f >&5
./configure: line 4835: ifort: command not found
configure:32585: $? = 127
configure: program exited with status 127
configure: failed program was:
| program main
|
| end
configure:32601: result: no
configure:32615: error: Could not run a simple Fortran program. Aborting.
Así que intenté ejecutar ifort solo, y funciona. Además, no puedo encontrar el archivo conftest.f .
Los mismos problemas con icc (compilador Intel c ++).
Creo que hay un camino para poner, pero no sé cómo.