Re: [OMPI users] Openmpi compilation errors

2015-05-30 Thread Timothy Brown
> On May 30, 2015, at 4:34 AM, Jeff Squyres (jsquyres) > wrote: > > 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-thre

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 \ > --with-slurm \ > --with-pmi=

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 content of the file. Is >> this enough? >> >

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 wit

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 > was just wondering if

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 Squyres

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 clarification: the Portland

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 .pgf90.rc

Re: [OMPI users] Openmpi compilation errors

2015-05-29 Thread Jeff Squyres (jsquyres)
Just to clarify: the underlying issue here is that Open MPI's configure script is assuming that whatever linker flags it discovers for the C compiler are also valid for the Fortran compiler. This is apparently not true when you mix the GCC and Portland compilers -- bummer (i.e., Open MPI's conf

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 -pthr

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 pgf90-Error-Un

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 "/opt/pgi/linux86-64/10.4/bin

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. > > An alternative m

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 F

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 error: > > pgi-cc-lin64:

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 Licens

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 c

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: pgi-cc-lin64 > > It looks

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, l

[OMPI users] Openmpi compilation errors

2015-05-27 Thread Bruno Queiros
Hello I'm trying to compile openmpi-1.8.5 with portland fortran 10.4 64bits on a CentOS7 64bits. This is the output i get: ./configure CC=pgcc CXX=pgCC FC=pgf90 F77=pgf77 F90=pgf90 --prefix=/opt/openmpi-1.8.5_pgf90 ==

Re: [OMPI users] OpenMPI Compilation Error

2014-06-05 Thread George Bosilca
A fix has been pushed in the trunk (r31955). Once reviewed it will make it to the next release 1.8.2. George. On Thu, Jun 5, 2014 at 11:29 AM, Jeff Squyres (jsquyres) wrote: > George and I are together at the MPI Forum this week -- we just looked at > this in more detail; it looks like this

Re: [OMPI users] OpenMPI Compilation Error

2014-06-05 Thread Jeff Squyres (jsquyres)
George and I are together at the MPI Forum this week -- we just looked at this in more detail; it looks like this is a more pervasive problem. Let us look at this a bit more... On Jun 5, 2014, at 10:37 AM, George Bosilca wrote: > Alan, > > I think we forgot to cleanup after a merge and as a

Re: [OMPI users] OpenMPI Compilation Error

2014-06-05 Thread George Bosilca
Alan, I think we forgot to cleanup after a merge and as a result we have c_destweights and c_sourceweights defined twice. Please try the following patch and let us know if this fixes your issue. Index: ompi/mpi/fortran/mpif-h/dist_graph_create_adjacent_f.c

[OMPI users] OpenMPI Compilation Error

2014-06-05 Thread Alan Sang Loon
Hello, I have downloaded OpenMPI-1.8.1 and compiled it using Intel Compilers (Intel Composer XE Suites 2013) and the command used is as follow: [Code] ./configure --prefix=/opt/openmpi-1.8.1 CC=icc CXX=icpc F77=ifort FC=ifort make all install [/code] Everything works just fine except I realized

Re: [OMPI users] OpenMPI - compilation

2007-11-16 Thread Brian W. Barrett
On Thu, 15 Nov 2007, Tim Prins wrote: I have seen situations where after installing Open MPI, the wrapper compilers did not create any executables, and seemed to do nothing. I was never able to figure out why the wrappers were broken, and reinstalling Open MPI always seemed to make it work. If

Re: [OMPI users] OpenMPI - compilation

2007-11-15 Thread Tim Prins
I have seen situations where after installing Open MPI, the wrapper compilers did not create any executables, and seemed to do nothing. I was never able to figure out why the wrappers were broken, and reinstalling Open MPI always seemed to make it work. If I recall correctly, when this happen

Re: [OMPI users] OpenMPI - compilation

2007-11-15 Thread Jeff Squyres
On Nov 14, 2007, at 10:48 PM, Sajjad wrote: No i didn't find any executable after the issued the command "mpicc mpitest1.c -o mpitest1" If you're not finding the executable at all, then something else is very wrong. The "mpicc" command is just a "wrapper" compiler, meaning that it takes y

[OMPI users] OpenMPI - compilation

2007-11-15 Thread Sajjad
Hello Jeff, No i didn't find any executable after the issued the command "mpicc mpitest1.c -o mpitest1" And sorry for dumping such an irrelevant chunk of data to the mailing list. Sajjad

Re: [OMPI users] OpenMPI - compilation

2007-11-15 Thread Jeff Squyres
You didn't answer my question as to whether the "mpitest1" executable was available on all nodes or not. :-) That is the real problem here. But unrelated to that, you are running an ancient version of Open MPI (v1.1). Is there any chance that you can upgrade to the latest stable release

[OMPI users] OpenMPI - compilation

2007-11-15 Thread Sajjad
Hello Jeff, I thought that the following information will be helpful to track the issue. *** sajjad@sajjad:~$ ompi_info Open MPI: 1.1 Open MPI SVN revision: r10477 Open RTE: 1.1 Open RTE SVN revision: r10477

Re: [OMPI users] OpenMPI - compilation

2007-11-14 Thread Jeff Squyres
What version of Open MPI are you using? I see that particular error listed in the "rmgr" part of the code base, not the "pls" part of the code base in the current release (1.2.4). Meaning: I'm guessing that the fact that this help message is not found in your version has been fixed in a l

Re: [OMPI users] OpenMPI - compilation

2007-11-14 Thread George Bosilca
The real error message hidden behind the argv0-not-accesible is: Failed to find or execute the following executable: george. On Nov 14, 2007, at 4:08 PM, Sajjad wrote: Hello Brock, I renamed the whole file as mpitest1.c and issued the following command mpicc mpitest1.c -o mpitest1 mpi

[OMPI users] OpenMPI - compilation

2007-11-14 Thread Sajjad
Hello Brock, I renamed the whole file as mpitest1.c and issued the following command mpicc mpitest1.c -o mpitest1 mpirun -np 4 ./mpitest1 then i got the following output: -- Sorry! You were supposed to get help about:

Re: [OMPI users] OpenMPI - compilation

2007-11-14 Thread Brock Palen
Dont use the name 'test' test is a unix command and it causes problems when you name things 'test' If you try mpirun -np 4 ./test it will work because that will use the test you just created not the regular 'test' But really dont use the name test and it will work as expected. Brock Palen

[OMPI users] OpenMPI - compilation

2007-11-14 Thread Sajjad
Hello, I have installed openmpi from the ubuntu repository for the 64-bit dual core AMD processor. and i tried to compile the simple test program with the help of the tutorial page but nothing seems to happen. #include #include int main(int argc,char *argv[]) { int rank; MPI_