Note: This isn't on the same machine as my other install problems thread.
This is for jacquard at NERSC, which is AMD with Pathscale and MVAPICH. I get the following error, and it's pretty obvious what the problem is, but I wonder if there is a way to get around this with compiler flags or something else. If not, NERSC tech support is going to fix it on their end.
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
///usr/common/nsg/mvapich/pathscale/mvapich-0.9.5-mlx1.0.3/lib/libpmpich++.a(intercepts.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC ///usr/common/nsg/mvapich/pathscale/mvapich-0.9.5-mlx1.0.3/lib/libpmpich++.a:
could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libcomm-mpi.la] Error 1 make[2]: Leaving directory `/u3/jhammond/ALPS/alps-1.3b5/lib/comm-mpi' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/u3/jhammond/ALPS/alps-1.3b5/lib' make: *** [install-recursive] Error 1
Here's my configure command:
./configure --prefix="$HOME/ALPS" --with-compiler=generic --with-boost="$SCRATCH/boost_1_33_1" --with-blas="$ACML" --with-lapack="$ACML" --with-mpi="$MPIHOME"
ACML=-L/usr/common/usg/acml/3.6.0/pathscale64/lib -lacml -lacml_mv
SCRATCH=/scratch/scratchdirs/jhammond
MPIHOME=/usr/common/nsg/mvapich/pathscale/mvapich-0.9.5-mlx1.0.3
Thanks,
Jeff