[mvapich-discuss] Problem Installing mvapich2-1.9

Jonathan Perkins perkinjo at cse.ohio-state.edu
Tue May 7 22:54:41 EDT 2013


On Tue, May 07, 2013 at 05:24:11PM -0500, Bhat, Maharaj K. (GSFC-610.3)[SCIENCE SYSTEMS AND APPLICATIONS INC] wrote:
> I am trying to install mvapich2-1.9 . Our system OS is Linux x86_84, we have 32bit and 64 bit libraries, the 32 bit libraries are in /lib and /usr/lib, the 64 bit version libraries are in /lib64 and /usr/lib64.  We noticed there are several configure scripts that come with the mvapich2-1.9 package.  While building the package tries to use 32 bit libraries in /lib, only way I could successfully build the package is by setting LDFLAGS to "-L/usr/lib64", even with this setting, after installing, I see LDFLAGS=" -L/lib -L/lib -L/usr/lib64 -L/usr/lib64 -L/lib -Wl,-rpath,/lib -L/lib -Wl,-rpath,/lib -L/lib -L/lib" in mpif90 script in the installation bin directory.  We would like to avoid setting LDFLAGS so that it does not appear in wrapper scripts such as mpif90 which may be used to compile more packages.   Setting MPICHLIB_ related flags such as MPICHLIB_LDFLAGS does not help, the compilation (make) crashes in hydra directory when CCLD command tries to link with /usr/lib/libxml2.so ( we can see this using make -V=1).  We never had this problem with previous versions of mvapich.  Any help will be greatly appreciated.  Thanks.
> --M. K. Bhat

Have you tried using -m64 instead of setting LDFLAGS?  Also what was the
last version of mvapich2 that worked for you (did you try the earlier
1.9 versions?)

If using -m64 doesn't help, you can also try disabling hydra by
specifying --with-pm=mpirun at configure.

-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo




More information about the mvapich-discuss mailing list