Re: [OMPI users] Openmpi compilation errors

2015-05-30 Thread Jeff Squyres (jsquyres)
On May 29, 2015, at 11:19 AM, Timothy Brown wrote: > > I've built Openmpi 1.8.5 with the following configure line: > > ./configure \ > --prefix=/curc/tools/x86_64/rh6/software/openmpi/1.8.5/pgi/15.3 \ > --with-threads=posix \ > --enable-mpi-thread-multiple \ >

Re: [OMPI users] Openmpi compilation errors

2015-05-29 Thread Timothy Brown
> On May 29, 2015, at 5:07 AM, Jeff Squyres (jsquyres) > wrote: > > On May 29, 2015, at 6:54 AM, Bruno Queiros wrote: > >> The name of the binary is correct: pgf90 the name of the file is also >> correct .pgf90.rc i do have some doubts about the

Re: [OMPI users] Openmpi compilation errors

2015-05-29 Thread Bruno Queiros
Luis Can you point me to that documentation you're reading? Em sex, 29 de mai de 2015 às 13:04, Luis Kornblueh < luis.kornbl...@mpimet.mpg.de> escreveu: > Hi, > > Bruno is using 10.4 as I ready only a second ago in one of his emails. I > have no idea if the compiler resource file trick works

Re: [OMPI users] Openmpi compilation errors

2015-05-29 Thread Bruno Queiros
Thank you Jeff for the clarification and help. Em sex, 29 de mai de 2015 às 12:08, Jeff Squyres (jsquyres) < jsquy...@cisco.com> escreveu: > On May 29, 2015, at 6:54 AM, Bruno Queiros wrote: > > > > I understand that using Portland compiler isn't "advised" by Open Mpi, i >

Re: [OMPI users] Openmpi compilation errors

2015-05-29 Thread Luis Kornblueh
Hi, Bruno is using 10.4 as I ready only a second ago in one of his emails. I have no idea if the compiler resource file trick works with this old one. By the way it has to be .mypgf90rc not .pgf90rc at least following the current documentation. Cheerio, Luis On 29/05/15 13:07, Jeff

Re: [OMPI users] Openmpi compilation errors

2015-05-29 Thread Jeff Squyres (jsquyres)
On May 29, 2015, at 6:54 AM, Bruno Queiros wrote: > > I understand that using Portland compiler isn't "advised" by Open Mpi, i was > just wondering if there's a way of doing it, since i need Open Mpi compiled > with PG fortran and not gfortran for example. A further

Re: [OMPI users] Openmpi compilation errors

2015-05-29 Thread Bruno Queiros
Hello Jeff I understand that using Portland compiler isn't "advised" by Open Mpi, i was just wondering if there's a way of doing it, since i need Open Mpi compiled with PG fortran and not gfortran for example. The name of the binary is correct: pgf90 the name of the file is also correct

Re: [OMPI users] Openmpi compilation errors

2015-05-29 Thread Bruno Queiros
Thank you for the help Luis I did as you told me, i created a .pfg90.rc on the home directory of my user with: switch -pthread is replace(-lpthread) positional(linker) i tried to compile openmpi with make, but i still got the same error. Am i doing something wrong? How can i overcome this

Re: [OMPI users] Openmpi compilation errors

2015-05-28 Thread Luis Kornblueh
Hi Bruno, once more: it might be the case that the file needs to be named .pgf90rc Sorry, Luis On 28/05/15 19:08, Bruno Queiros wrote: Thomas I did get a configure successfull, but make fails with pgf90-Error-Unknown switch: -pthread make[2]: *** [libmpi_usempi.la ]

Re: [OMPI users] Openmpi compilation errors

2015-05-28 Thread Luis Kornblueh
Hi Bruno, just add a file $HOME/.mypgfortranrc with the following contents: switch -pthread is replace(-lpthread) positional(linker) That solve your problem. CHeerio, Luis On 28/05/15 19:08, Bruno Queiros wrote: Thomas I did get a configure successfull, but make fails with

Re: [OMPI users] Openmpi compilation errors

2015-05-28 Thread Bruno Queiros
Thomas I did get a configure successfull, but make fails with pgf90-Error-Unknown switch: -pthread make[2]: *** [libmpi_usempi.la] Error 1 I have tried and did a fake pgf90 has mentioned on the mailing list #! /bin/bash newargs='echo $@ | sed s/-pthread//g -' #echo

Re: [OMPI users] Openmpi compilation errors

2015-05-28 Thread Bruno Queiros
Thank you very much Thomas I will try this Em qui, 28 de mai de 2015 às 12:25, Thomas Jahns escreveu: > On 05/28/15 12:20, Jeff Squyres (jsquyres) wrote: > > Sounds like your pgcc compiler installation is busted. You'll need to > get that fixed to compile/install Open MPI. > >

Re: [OMPI users] Openmpi compilation errors

2015-05-28 Thread Thomas Jahns
On 05/28/15 12:20, Jeff Squyres (jsquyres) wrote: Sounds like your pgcc compiler installation is busted. You'll need to get that fixed to compile/install Open MPI. An alternative might be to use a system compiler (which is probably gcc or clang) for C and C++ and only use pgfortran for the

Re: [OMPI users] Openmpi compilation errors

2015-05-28 Thread Jeff Squyres (jsquyres)
Sounds like your pgcc compiler installation is busted. You'll need to get that fixed to compile/install Open MPI. > On May 28, 2015, at 5:29 AM, Bruno Queiros wrote: > > Hello David > > $> pgf90 hello.f90 > > Works OK. > > $> pgcc hello.c > > Gives that license

Re: [OMPI users] Openmpi compilation errors

2015-05-28 Thread Bruno Queiros
Hello David $> pgf90 hello.f90 Works OK. $> pgcc hello.c Gives that license error: pgi-cc-lin64: LICENSE MANAGER PROBLEM: No such feature exists. Feature: pgi-cc-lin64 License path: /opt/pgi/license.dat: FLEXnet Licensing error:-5,357 For further information, refer to the FLEXnet

Re: [OMPI users] Openmpi compilation errors

2015-05-27 Thread David Shrader
Yes, exactly like that. Given your configure line, all of the Portland Group's compilers need to work: $> pgf90 hello.f90 $> pgcc hello.c $> pgCC hello.cpp What of those commands work for you? Thanks, David On 05/27/2015 11:01 AM, Bruno Queiros wrote: David Do you mean if Portland Fortran

Re: [OMPI users] Openmpi compilation errors

2015-05-27 Thread Bruno Queiros
David Do you mean if Portland Fortran compiler works? Like pgf90 hello.f ? Bruno Em qua, 27 de mai de 2015 às 17:40, David Shrader escreveu: > Looking at the config.log, I see this: > > pgi-cc-lin64: LICENSE MANAGER PROBLEM: No such feature exists. > Feature:

Re: [OMPI users] Openmpi compilation errors

2015-05-27 Thread David Shrader
Looking at the config.log, I see this: pgi-cc-lin64: LICENSE MANAGER PROBLEM: No such feature exists. Feature: pgi-cc-lin64 It looks like there is a problem with the PGI license. Does it work with a regular file (e.g., hello_world)? If it does, how do you get it to work (env variables,