carsten-clauss/easybuild-easyconfigs — pull request #2 by boegel (2014-05-20 12:09:54+00:00)
Title: resolve version issue via creating of a VERSION file through premakeopts, enforce non-parallel build

@carsten-clauss: this avoids the need of a patch file that will have to be copied/updated for future psmpi2 versions; a `VERSION` file is created instead via `premakeopts`

I also disabled the parallel build (i.e. enforce `make -j 1`), since a parallel build was failing for me with errors like:

```
gfortran -O2 -march=native -O2 -I. -c mpi_base.f90
mpi_base.f90:18.11:

USE MPI_CONSTANTS,ONLY:MPI_ADDRESS_KIND
1
Fatal Error: Can't open module file 'mpi_constants.mod' for reading at (1): No such file or directory
mpi.f90:5.11:

USE MPI_CONSTANTS
1
mpi_base.f90:18.11:

USE MPI_CONSTANTS,ONLY:MPI_ADDRESS_KIND
1
Fatal Error: Can't open module file 'mpi_constants.mod' for reading at (1): No such file or directory
Fatal Error: Can't open module file 'mpi_constants.mod' for reading at (1): No such file or directory
make[4]: *** [mpi_base.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [mpi.o] Error 1
```