Hello Gfs-Users,
I am trying to locally install Gerris to my account on a HPC cluster (Red-Hat distro):
$HOME/usr/local/gerris
I was able to successfully install GTS package & and append it to the $PATH. I have tried the CFLAGS option as shown below and previously suggested in the forum:
./configure CFLAGS=-fPIC —prefix=$HOME/usr/local/gerris
and end up with the following errors in the make process (items in bold appear in red):
init.c:33:0: warning: "_GNU_SOURCE" redefined
# define _GNU_SOURCE
<command-line>:0:0: note: this is the location of the previous definition
init.c: In function 'gfs_init':
init.c:416:5: error: implicit declaration of function 'MPI_Errhandler_set'; did you mean 'MPI_Errhandler_free'? [-Werror=implicit-function-declaration]
MPI_Errhandler_set (MPI_COMM_WORLD, MPI_ERRORS_ARE_FATAL);
^~~~~~~~~~~~~~~~~~
MPI_Errhandler_free
cc1: some warnings being treated as errors
make[3]: *** [libgfs2D_la-init.lo] Error 1
I do need MPI support to run. Can someone please help me with the install process?
Sincerely,
Himakar Ganti