Hi Alberto,
We try to support as many users as possible, but it seems that everyone has their own preference for how they want to install OpenCoarrays. The static make files are not officially supported because OpenCoarrays is so tightly coupled to both the version of GFortran being used and the MPI implementation; the build system needs to perform some introspection to ensure all the interfaces match and compatible features are enabled. Static makefiles are not maintained because they cannot easily accomplish this in a cross-platform manner.
In my opinion the most straightforward way to install OpenCoarrays with minimal additional dependencies on a machine in which you do not have administrative privileges is to invoke CMake directly. Kitware provides pre-compiled binary installations of CMake for Linux at
https://cmake.org/download/ that can be installed into your home directory. After that the installation procedure looks like:
module load mpi/openmpi/3.1 # or whatever you need to do to activate the desired MPI in your environment
export FC=/path/to/desired/gfortran
export CC=/path/to/desired/c/compiler
mkdir build-dir
cd build-dir
cmake -DCMAKE_INSTALL_PREFIX=${HOME}/apps/OpenCoarrays /path/to/extracted/OpenCoarrays/source/dir
# in the above you may pick a different installation prefix directory if you so please
make -j
make check # optional, will try to run MPI backed caf unit/integration/regression tests
make install
I will also note that you can pass a desired set of compilers and MPI installation location to the install.sh script using the flags. This should prevent it from trying to download and install GCC 7, MPI & prerequisites. The default GFortran was bumped up to 7.x in the last release because significant new features require GFortran 7 and numerous bug fixes are available only for the GFortran 7 interface. The majority of the most egregious regressions associated with GFortran 7 have also been fixed.
Please let me know if I can be of additional assistance.
Thanks,
Zaak