Re: [OMPI users] Configure fail: OpenMPI/1.5.3 with Support for LSF using Sun Studio compilers

2011-04-08 Thread Terry Dontje
Paul and I have been talking about the below issue and I thought it would be useful to update the list just in case someone else runs into this problem and ends up searching the email list before we actually fix the issue. The problem is OMPI's configure tests to see if -lm is needed to get

Re: [OMPI users] Configure fail: OpenMPI/1.5.3 with Support for LSF using Sun Studio compilers

2011-04-07 Thread Terry Dontje
On 04/07/2011 08:36 AM, Paul Kapinos wrote: Hi Terry, so, the attached ceil.c example file *can* be compiled by "CC" (the Studio C++ compiler), but *cannot* be compiled using "cc" (the Studio C compiler). $ CC ceil.c $ cc ceil.c Did you try to link in the math library -lm? When I did this

Re: [OMPI users] Configure fail: OpenMPI/1.5.3 with Support for LSF using Sun Studio compilers

2011-04-07 Thread Paul Kapinos
Hi Terry, so, the attached ceil.c example file *can* be compiled by "CC" (the Studio C++ compiler), but *cannot* be compiled using "cc" (the Studio C compiler). $ CC ceil.c $ cc ceil.c Did you try to link in the math library -lm? When I did this your test program worked for me and that

Re: [OMPI users] Configure fail: OpenMPI/1.5.3 with Support for LSF using Sun Studio compilers

2011-04-07 Thread Terry Dontje
On 04/07/2011 06:16 AM, Paul Kapinos wrote: Dear OpenMPI developers, We tried to build OpenMPI 1.5.3 including Support for Platform LSF using the Sun Studio (=Oracle Solaris Studio now) /12.2 and the configure stage failed. 1. Used flags: ./configure --with-lsf --with-openib

[OMPI users] Configure fail: OpenMPI/1.5.3 with Support for LSF using Sun Studio compilers

2011-04-07 Thread Paul Kapinos
Dear OpenMPI developers, We tried to build OpenMPI 1.5.3 including Support for Platform LSF using the Sun Studio (=Oracle Solaris Studio now) /12.2 and the configure stage failed. 1. Used flags: ./configure --with-lsf --with-openib --with-devel-headers --enable-contrib-no-build=vt