I cannot compile the Fortran90 codes with MPI in Beowulf. |
| Mpi libraries are compiled with GNU compilers, while (for the moment) we only have the F90 and hpf compilers in the Portland Group version (pgf90 and pghpf). As a result, in order to compile the Fortran90 codes in Beowulf it is necessary to do the following: 1. Export the environment variable MPICH_F90 to the pgf90 value (thus, the Portland Group compilers are used): export MPICH_F90=pgf90 2. To compile with mpif90 use the option -Msecond_underscore: mpif90 hola.f90 -Msecond_underscore -g77libs.
No Beowulf, non consigo compilar os codigos Fortran90 con MPI
As librerias de MPI están compiladas cos compiladores de GNU, mentres que (polo momento) só dispoñemos dos compiladores de F90 e hpf en versión Portland Group (pgf90 e pghpf). Por elo, para compilar os códigos Fortran90 no Beowulf é necesario facer o seguinte: 1. Exportar a variable de entorno MPICH_F90 ao valor pgf90 (deste modo utilízanse os compiladores de Portland Group): export MPICH_F90=pgf90 2. Compilar con mpif90 e a opción -Msecond_underscore: mpif90 hola.f90 -Msecond_underscore -g77libs |