[OMPI users] Linux opteron infiniband sunstudio configure problem
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.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus ---------- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure problem
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 `('" H... > > --td > >Message: 1 > >Date: Thu, 26 Mar 2009 16:52:28 + > >From: Kevin McManus > >Subject: [OMPI users] Linux opteron infiniband sunstudio configure > > problem > >To: us...@open-mpi.org > >Message-ID: <20090326165228.gc26...@gre.ac.uk> > >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.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus > >-- > >Dr Kevin McManusQueen 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 > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users -- k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus -- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure problem
On Mon, Mar 30, 2009 at 09:04:26AM -0500, Ethan Mallove wrote: > On Thu, Mar/26/2009 04:52:28PM, Kevin McManus wrote: > > > > 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 > > We configure with --disable-mpi-threads, and have not tested > --with-psm and --with-static. Do you provide --with-psm a DIR > argument? "configure --help" shows: configure: error: unrecognized option: --diable-mpi-threads Try `../configure --help' for more information. > > ... > --with-psm(=DIR)Build PSM (QLogic InfiniPath PSM) support, searching > for libraries in DIR > --with-psm-libdir=DIR Search for PSM (QLogic InfiniPath PSM) libraries in > DIR Not sure how to phrase the --with-psm(=DIR) I can find psm libs at... /usr/lib/libpsm_infinipath.so.1.0 /usr/lib/libpsm_infinipath.so.1 /usr/lib64/libpsm_infinipath.so.1.0 /usr/lib64/libpsm_infinipath.so.1 so maybe I should use --with-psm --with-psm-libdir=/usr/lib64 but even if I remove --with-psm I hit the same problem with the MCA bucket > I will try to reproduce the problem. Thanks for your help :-) > > -Ethan > > > > > > 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.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus > > -- > > Dr Kevin McManusQueen 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 > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users -- k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus -- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure problem
On Mon, Mar 30, 2009 at 11:23:33AM -0400, Iain Bason wrote: > > On Mar 30, 2009, at 11:02 AM, Kevin McManus wrote: > > >configure: error: unrecognized option: --diable-mpi-threads > > Typo. That should be --disable-mpi-threads. oops silly me :-) argument accepted but still get MCA bucket problem :-( k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus ------ Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure problem
On Mon, Mar 30, 2009 at 04:24:54PM +0100, John Hearns wrote: > 2009/3/30 Kevin McManus : > > > > > I can find psm libs at... > > > > /usr/lib/libpsm_infinipath.so.1.0 > > /usr/lib/libpsm_infinipath.so.1 > > /usr/lib64/libpsm_infinipath.so.1.0 > > /usr/lib64/libpsm_infinipath.so.1 > > > On x86_64 type systems /usr/lib64 are the 64 bit libraries, /usr/lib > are the 32 bit ones it was more the exact syntax of passing a path to configure I am less than clear about. Tried building with... ../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 \ --disable-mpi-threads \ --with-psm \ --with-psm-lib=/usr/lib64 but still hang on the bucket error k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus ---------- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure problem
> > I will try to reproduce the problem. > > I am not able to reproduce this with openmpi-1.3.2a1r20880.tar.gz. > > $ uname -a > Linux ... 2.6.16.46-0.12-smp #1 SMP Thu May 17 14:00:09 UTC 2007 x86_64 > x86_64 x86_64 GNU/Linux > $ cc -V > cc: Sun C 5.9 Linux_i386 Patch 124871-01 2007/07/31 interesting, this is a v.similar system ->uname -a Linux ... 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 ->cc -V cc: Sun C 5.9 Linux_i386 Patch 124871-01 2007/07/31 I think we are looking in the wrong place, these syntax errors worry me, I have never seen a configure script throw one before. ->ls -l /bin/sh lrwxrwxrwx 1 root root 4 2008-04-02 02:13 /bin/sh -> bash So it is running in bash, which is unlikely to cause problems. Looking at the configure source it runs some near identical code for MCA basic before retiring ungracefully immediately after deciding that it can handle MCA bucket. Ungracefully hacking the offending parentheses from configure causes some v.strange things to happen. I will continue hacking but until this bears fruit... do you also need to include 'x86_64' as an argument for configure? What happens when you run 'uname -X'? TIA k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus ------ Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure, problem
> cat /etc/*release ->cat /etc/*release LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64" SUSE LINUX 10.1 (X86-64) VERSION = 10.1 k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus ------ Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure problem
> > you run 'uname -X'? > > uname -X gives me "invalid option" on RHEL {4,5} and SLES {9,10}. which is what I would expect do you also need to supply a platform identity/type as an argument? > Post your config.log file. attached to previous relpy let me know if you need it re-sending k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus ---------- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure problem
On Mon, Mar 30, 2009 at 02:01:13PM -0500, Ethan Mallove wrote: > On Mon, Mar/30/2009 07:26:28PM, Kevin McManus wrote: > > > > you run 'uname -X'? > > > > > > uname -X gives me "invalid option" on RHEL {4,5} and SLES {9,10}. > > > > which is what I would expect > > do you also need to supply a platform identity/type as an argument? > > > > > Post your config.log file. > > > > attached to previous relpy > > let me know if you need it re-sending > > Grasping at straws, I suggest putting /bin before /usr/bin in your > PATH (we may be using different versions of grep, gawk, etc.). Try > removing Absoft, Intel, and Pathscale compilers from your environment. Indeed, this is my suspicion. It will take me a while to figure out how to strim myself down, especially as I don't have root access and default to tcsh. > Does a plain configure (using no options) work? Maybe you could try > removing configure options, to isolate which option is causing the > problem. Sorry, tried that already. k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus -- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure, problem
On Mon, Mar 30, 2009 at 03:15:18PM -0400, Terry Dontje wrote: > > > > > >->ls -l /bin/sh > >lrwxrwxrwx 1 root root 4 2008-04-02 02:13 /bin/sh -> bash > > > I am using tcsh it may take me a while to set up bash for myself. I too run tcsh as a login shell but the scripts are all shebanged to run in bash. So even more curous > >handle MCA bucket. Ungracefully hacking the offending parentheses > >from configure causes some v.strange things to happen. I will continue > >hacking but until this bears fruit... do you also need to include > >'x86_64' as an argument for configure? > I don't, and pretty sure neither does Ethan. > >What happens when you run 'uname -X'? > > > > > Interesting I get "uname: invalid option --X" but should this always > end up turning into "unknown"? configure line 2903: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` Hmmm... v.interesting Why do I need to provide x86_64 as an argument when nobody else seems to There is something v.vstrange going on with my parentheses. k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus -- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure problem
> Grasping at straws, I suggest putting /bin before /usr/bin in your > PATH (we may be using different versions of grep, gawk, etc.). Try > removing Absoft, Intel, and Pathscale compilers from your environment. I have set .bashrc to give me ~> echo $PATH /bin:/sbin:/usr/bin:/usr/sbin/:/usr/local/bin:/usr/local/SS12/sunstudio12/bin ~> which cc /usr/bin/cc ~> which gawk /bin/gawk No change, I still need to pass x86_64, I still get unexpected token `(' k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus ---------- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure, problem
On Tue, Mar 31, 2009 at 01:31:12PM -0400, Terry Dontje wrote: > I was talking with Jeff Squyres about your issue and he thinks the > config.guess issue needs to be resolved first, even though your > specification of x86_64 seems to get you by. > > So, do you still see the unexpected "(" if you try and run > config/config.guess directly? The original issue IIRC was: yes ->config/config.guess 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/.*= //')`' -> > Can you manually run UNAME_REL=`(/bin/uname -X|grep Release|sed -e > 's/.*= //')` in your shell without error? there is no error as such but uname does not return what is wanted ->/bin/uname -X|grep Release|sed -e 's/.*= //' /bin/uname: invalid option -- X Try `/bin/uname --help' for more information. -> both of the above operate identically in both tcsh and bash k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus -- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure, problem
On Tue, Mar 31, 2009 at 01:37:22PM -0400, Jeff Squyres wrote: > On Mar 31, 2009, at 1:31 PM, Terry Dontje wrote: > > >Can you manually run UNAME_REL=`(/bin/uname -X|grep Release|sed -e > >'s/.*= //')` in your shell without error? > > > > Better would be to put this small script by itself: > > #! /bin/sh > UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` > echo got $UNAME_REL > exit 0 > ->cat zeb.sh #! /bin/sh UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` echo got $UNAME_REL exit 0 ->./zeb.sh /bin/uname: invalid option -- X Try `/bin/uname --help' for more information. got -> I think this is the right line of investigation but I don't know enough about how config works. It seems to me that something upsets that parser and the parentheses no longer match. If I copy hack config chasing out the reported unexpected `)' I reach further instances of unexpected `)' and eventually having hacked out all it reports unexpected EOF. I feel that we should start at the beginning, why does config not extract x86_64 for itself from uname -m??? Thanks for your help k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus -- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure, problem
On Tue, Mar 31, 2009 at 09:57:02PM +0200, Bogdan Costescu wrote: > On Tue, 31 Mar 2009, Jeff Squyres wrote: > > >UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` > > Not sure what you want to achieve here... 'uname -X' is valid on > Solaris, but not on Linux. The OP has indicated already that he is > running this on Linux (SLES) so the above line is supposed to fail. Indeed But it would be very interesting to know why I and it turns out nobody else needs to supply a machine name as an argument This is key because if I don't supply one I get an unexpected token `(' error If I do supply one I get another unexpected token `(' later in the configure process If we can track down the source of the unexpected token `(' error k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus ---------- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure, problem
On Tue, Mar 31, 2009 at 10:11:17PM +0200, Bogdan Costescu wrote: > On Tue, 31 Mar 2009, Bogdan Costescu wrote: > > >'uname -X' is valid on Solaris, but not on Linux. > > Not good to reply to oneself, but I've looked at the archives and > realized that 'uname -X' comes from a message of the OP. My guess is > that the same source directory was used to build for Solaris > previously (maybe on shared NFS ?) and some state is being picked by a > new ./configure run who then decides to treat the system as Solaris. > So unpacking the archive again and starting building from scratch > might be a good idea... Hmmm... The machine is isolated, no nfs but there is a SunStudio compiler suite in my path before /bin and /user/bin. A bit worrying if this is the answer but will re-arrange paths and try unpacking again - anything is worth a try :-) k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus ------ Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure, problem
On Tue, Mar 31, 2009 at 04:59:00PM -0400, Jeff Squyres wrote: > My goal in having you try that statement in a standalone shell script > wasn't the success or failure of the uname command -- but rather to > figure out if something in that statement itself was causing the > syntax error. > > Apparently it is not. There's an errant character elsewhere that is > causing the problem. FWIW, you should be able to run ./config/ > config.guess by itself and get a single line of output with no errors > -- so you don't even have to test this in the larger context of Open > MPI's configure process. As you showed in an earlier mail, even that > doesn't work. > > We get config.guess from git.savannah.gnu.org when we make OMPI > tarballs. FWIW, here's the md5 and sha1sums from the config.guess > that I got from a 1.3.1 tarball: > > 13:57] svbu-mpi:/home/jsquyres/openmpi-1.3.1 % md5sum config/ > config.guess > 6384bbc496ef6e69328a9a428c623cc5 config/config.guess > [13:58] svbu-mpi:/home/jsquyres/openmpi-1.3.1 % sha1sum config/ > config.guess > 199adb16fc94e6cf62912be5fbb69a77214b33e5 config/config.guess > > I would be pretty surprised if yours don't match. If they don't > there's some larger issue going on (e.g., filesystem corruption?) that > would also be pretty surprising. BINGO!! mine don't match but I have openmpi-1.3 not openmpi-1.3.1 just downloaded a fresh copy checked md5 and sha1 match run my build.sh without x86_64 - hurrah #!/bin/sh ../configure \ 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 \ --disable-mpi-threads \ --with-psm \ --with-psm-libdir=/usr/lib64 This runs until I get to... --- MCA component mtl:psm (m4 configuration macro) checking for MCA component mtl:psm compile mode... static checking --with-psm value... simple ok (unspecified) checking --with-psm-libdir value... sanity check ok (/usr/lib64) checking psm.h usability... no checking psm.h presence... no checking for psm.h... no configure: error: PSM support requested but not found. Aborting Which is an entirely different problem The lesson here seems to be that when things just don't make sense there has to be a corruption someplace. This is not the first time this week that I have seen undetected bit level errors. Now kicking myself for not checking the md5s earlier. Time for me to pursue the psm installs Start by trawling the archives and FAQs :-) I think we should consider this thread closed Many thanks to all who contributed. k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus -- Dr Kevin McManusQueen 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
Re: [OMPI users] Linux opteron infiniband sunstudio configure, problem
On Tue, Mar 31, 2009 at 05:36:19PM -0400, Jeff Squyres wrote: > On Mar 31, 2009, at 5:25 PM, Kevin McManus wrote: > > >--- MCA component mtl:psm (m4 configuration macro) > >checking for MCA component mtl:psm compile mode... static > >checking --with-psm value... simple ok (unspecified) > >checking --with-psm-libdir value... sanity check ok (/usr/lib64) > >checking psm.h usability... no > >checking psm.h presence... no > >checking for psm.h... no > >configure: error: PSM support requested but not found. Aborting > > > > > Have a look through config.log -- search for the psm.h tests. It > should show exactly what failed and why. I guess it failed because there is no psm.h. Not sure why as there is libpsm_infinipath Just run config successfully without psm Seems to build OK fingers crossed k.mcma...@gre.ac.uk - http://staffweb.cms.gre.ac.uk/~k.mcmanus ------ Dr Kevin McManusQueen 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