Hello,
I am trying to install ELMER on a parallel machine. However, I am getting the following error while compiling the FEM package:
/usr/bin/ld: /usr/local/mpich2/lib64/libmpich.a(recvf.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
Any ideas? I am using the default compilers in my system (i.e. mpich2gcc, mpich2g++, mpich2ifort).
Abhishek
Problem while compiling using MPICH2 on parallel machine
Re: Problem while compiling using MPICH2 on parallel machine
Hi,
Could you post the compilation script you were using, when the error occurred? Also, some information about the architechture of your system would be useful.
-Sampo
Could you post the compilation script you were using, when the error occurred? Also, some information about the architechture of your system would be useful.
-Sampo