Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Linux opteron infiniband sunstudio configure problem
From: Kevin McManus (k.mcmanus_at_[hidden])
Date: 2009-03-30 09:02:37


On Mon, Mar 30, 2009 at 08:31:40AM -0400, Terry Dontje wrote:
> Sorry for the delay in response, I was out of the office late last week.
>
> Can you tell me what version of Open MPI you are trying to build (1.2 or
> 1.3 branch)? Are you using the tarball on the Open MPI site or code
> downloaded from the svn repository? Can you tell me which distribution and
> version of Linux you are on and the version of Sun Studio you are using?
>
> When I build on Linux using Sun Studio I don't put x86_64 in the configure
> line so I am not sure why that was necessary and wonder it there still is
> an issue here.

Hi Thanks for getting back to me

I used a 1.3 tarball from Open MPI
Sorry, thought I included Linux details in posting...

->uname -a
Linux heracles 2.6.16.54-0.2.5-smp #1 SMP Mon Jan 21 13:29:51 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux

My first build attempt encountered much the same problem, without
x86_64 configure complains about not being able to determine the system
type. As I say, putting x86_64 as the first argument was a lucky guess
to remove the error message...

configure: Detected VPATH build
checking build system type... ../config/config.guess: line 1102: syntax error near unexpected token `('
../config/config.guess: line 1102: ` UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`'
configure: error: cannot guess build type; you must specify one

...it doesn't like other strings but seems happy with x86_64.

(uname -X is not POSIX and not GNU, works on Solaris but not something
I would recommend in build scripts)

The bit I can't figure is that both errors result in the v.strange...
" syntax error near unexpected token `('"

Hmmmm...

>
> --td
> >Message: 1
> >Date: Thu, 26 Mar 2009 16:52:28 +0000
> >From: Kevin McManus <k.mcmanus_at_[hidden]>
> >Subject: [OMPI users] Linux opteron infiniband sunstudio configure
> > problem
> >To: users_at_[hidden]
> >Message-ID: <20090326165228.GC26276_at_[hidden]>
> >Content-Type: text/plain; charset=us-ascii
> >
> >
> >Hi All,
> >
> >As a complete beginner (to OpenMPI) I am attempting to build on
> >a Linux opteron infiniband platform using SunStudio compilers.
> >
> >My build script looks like...
> >
> >#!/bin/sh
> >
> >../configure x86_64 \
> > CC=cc CXX=CC F77=f77 FC=f90 \
> > CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64 \
> > --enable-static \
> > --enable-orterun-prefix-by-default \
> > --enable-mpi-f90 \
> > --enable-mpi-threads \
> > --with-psm
> >
> >Not sure why I need to put x86_64 as the first argument, just a lucky
> >guess after...
> >
> >configure: error: cannot guess build type; you must specify one
> >
> >...but I hit another problem...
> >
> >--- MCA component allocator:basic (no configuration)
> >checking for MCA component allocator:basic compile mode... static
> >checking if MCA component allocator:basic can compile... yes
> >
> >--- MCA component allocator:bucket (no configuration)
> >checking for MCA component allocator:bucket compile mode... static
> >checking if MCA component allocator:bucket can compile... yes
> >../configure: line 123247: syntax error near unexpected token `('
> >../configure: line 123247: ` { $as_echo "$as_me:$LINENO:
> >WARNING: This component was selected as the default (direct call)" >&5'
> >
> >Have no idea of why I should need an MCA bucket but it seems
> >to trigger a problem. If I hack out the parentheses I end up
> >hitting more parenthetic syntax errors.
> >
> >Any suggestions gratefully received.
> >
> >
> >k.mcmanus_at_[hidden] - http://staffweb.cms.gre.ac.uk/~k.mcmanus
> >--------------------------------------------------------------
> >Dr Kevin McManus Queen Mary 413
> >School of Computing & Mathematical Sciences,
> >University of Greenwich,
> >Old Royal Naval College,
> >Park Row, Greenwich, Tel +44 (0)208 331 8719
> >London, SE10 9LS Fax +44 (0)208 331 8665
> >--------------------------------------------------------------
> >
> >University of Greenwich, a charity and company limited by
> >guarantee, registered in England (reg no. 986729)
> >Registered Office: Old Royal Naval College
> >
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
k.mcmanus_at_[hidden] - http://staffweb.cms.gre.ac.uk/~k.mcmanus
--------------------------------------------------------------
Dr Kevin McManus                                Queen Mary 413
School of Computing & Mathematical Sciences,
University of Greenwich,
Old Royal Naval College,
Park Row, Greenwich,                   Tel +44 (0)208 331 8719 
London, SE10 9LS                       Fax +44 (0)208 331 8665
--------------------------------------------------------------
University of Greenwich, a charity and company limited by
guarantee, registered in England (reg no. 986729)
Registered Office: Old Royal Naval College