A. For more information on how to correctly set your environment for compiling OpenIFS, see: HowTos: How to set your user environment. It varies depending on your MPI implementation and your local environment. As an example, for OpenMPI, set the environment variables: export OMPI_FC=pgf90 export OMPI_CC=pgcc to use the Portland compilers instead of the default GNU (gfortran) compilers. Check the 'man page' of the mpif90 command to see what other options are possible. Some implementations allow you to use an option -fc to set the underlying compilers. For Intel installations there are several ways in which the compiler can be set. Normally, the mpif90 command will invoke the gfortran compiler, the mpiifort will invoke the ifort compiler and the mpifc command can be used with a specified compiler on the command line. However, this behaviour can be changed by setting environment variables which these wrapper scripts will read. For more details consult the Intel compiler documentation. Some HPC centres provide the 'module' command for loading and unloading particular compiler suites. Consult your local documentation for more details. |