Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Building openmpi with PGI 11.4: won't find torque??
From: Randall Svancara (rsvancara_at_[hidden])
Date: 2011-05-02 22:19:53


I believe I was having this same issue until I switched to the 2.5.x
series of torque. I will have to check my notes which are at work,
but it is something to try at least. It seems this should not matter.

Maybe try setting the ld_library_path or adding /opt/torque/lib. I am
not familiar with the PGI compilers, but I have had decent luck with
the Intel compilers.

Best of luck!

Randall

On Mon, May 2, 2011 at 5:22 PM, Jim Kusznir <jkusznir_at_[hidden]> wrote:
> Hi all:
>
> I'm trying to build openmpi 1.4.3 against PGI 11.4 on my Rocks 5.1
> system.  My "tried and true" build command for OpenMPI is:
>
> CC=pgcc CXX=pgCC F77=pgf77 FC=pgf90 rpmbuild -bb --define
> 'install_in_opt 1' --define 'install_modulefile 1' --define
> 'modules_rpm_name environment-modules' --define 'build_all_in_one_rpm
> 0'  --define 'configure_options --with-tm=/opt/torque' --define '_name
> openmpi-pgi2011' --define 'use_default_rpm_opt_flags 0'
> openmpi-1.4.3.spec
>
> This is what I've used to build openmpi 1.4.3 for gcc and against PGI
> 8.x (our last version of PGI installed).  This time, its not working,
> though, and with what I consider to be a very strange failure point:
>
> --- MCA component plm:tm (m4 configuration macro)
> checking for MCA component plm:tm compile mode... dso
> checking --with-tm value... sanity check ok (/opt/torque)
> checking for pbs-config... /opt/torque/bin/pbs-config
> checking tm.h usability... yes
> checking tm.h presence... yes
> checking for tm.h... yes
> checking for tm_finalize... no
> checking tm.h usability... yes
> checking tm.h presence... yes
> checking for tm.h... yes
> looking for library in lib
> checking for tm_init in -lpbs... no
> looking for library in lib64
> checking for tm_init in -lpbs... no
> looking for library in lib
> checking for tm_init in -ltorque... no
> looking for library in lib64
> checking for tm_init in -ltorque... no
> configure: error: TM support requested but not found.  Aborting
> error: Bad exit status from /var/tmp/rpm-tmp.7564 (%build)
>
>
> However, /opt/torque/ is present.  /opt/torque/bin/pbs-config returns:
> [root_at_aeolus modulefiles]# /opt/torque/bin/pbs-config --prefix
> /opt/torque
> [root_at_aeolus modulefiles]# /opt/torque/bin/pbs-config --package
> pbs
> [root_at_aeolus modulefiles]# /opt/torque/bin/pbs-config --version
> 2.3.0
> [root_at_aeolus modulefiles]# /opt/torque/bin/pbs-config --libs
> -L/opt/torque/lib64 -ltorque -Wl,--rpath -Wl,/opt/torque/lib64
>
> and /opt/torque/lib64 does have:
> [root_at_aeolus modulefiles]# ls /opt/torque/lib64
> libtorque.a  libtorque.la  libtorque.so  libtorque.so.2  libtorque.so.2.0.0
>
> so I'm a bit dumbfounded as to why configure doesn't "find" torque
> support...Any suggestions?
>
> --Jim
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
Randall Svancara
http://knowyourlinux.com/