Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread John Hearns via users
Jeff, from what I read yesterday it is OpenMPI 2 , I am not sure of the minor version. I do acknowledge that Mahmood reports that the Rocks 7 beta is available - when I last used Rocks this was not avaiable. But still - look at something more up to date, such as OpenHPC. There is nothing intrinsica

Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread Jeff Squyres (jsquyres)
Let me throw in one more item: I don't know what versions of Open MPI are available in those Rocks Rolls, but Open MPI v3.0.0 was released yesterday. You will be much better served with a modern version of Open MPI (vs. v1.4, the last release of which was in 2012). > On Sep 14, 2017, at 8:21

Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread Peter Kjellström
On Thu, 14 Sep 2017 19:01:08 +0900 Gilles Gouaillardet wrote: > Peter and all, > > an easier option is to configure Open MPI with > --mpirun-prefix-by-default this will automagically add rpath to the > libs. Yes that sorts out the OpenMPI libs but I was imagining a more general situation (and t

Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread Mahmood Naderan
Fortunately Rocks 7 beta is released. So, there is a hope that newer version will be born one day. >https://github.com/sdsc/mpi-roll I wasn't aware of that. Thanks for sharing it. >there is a typo, it should be >-Wl,-rpath,/.../ Thanks a lot. It is now workin

Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread John Hearns via users
Then let me add in my thoughts please.. Rocks is getting out of date. Mahmood, I would imagine that you are not given the choice of installing something more modern, ie the place where you work has an existing Rocks cluster and is unwilling to re-install it. So what is wrong with using the 'mo

Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread Mahmood Naderan
So it seems that -rpath is not available with 1.4 which is ompi came with rocks 6. Regards, Mahmood On Thu, Sep 14, 2017 at 2:44 PM, Mahmood Naderan wrote: > Well that may be good if someone intend to rebuild ompi. > Lets say, there is an ompi on the system... > > Regards, > Mahmood > > > > O

Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread Peter Kjellström
On Thu, 14 Sep 2017 14:28:08 +0430 Mahmood Naderan wrote: > >In short, "mpicc -Wl,-rpath=/my/lib/path helloworld.c -o hello", will > >compile a dynamic binary "hello" with built in search path > >to "/my/lib/path". > > Excuse me... Is that a path or file? I get this: It should be a path ie. d

Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread Gilles Gouaillardet
Mahmood, there is a typo, it should be -Wl,-rpath,/.../ (note the minus before rpath) Cheers, Gilles On Thu, Sep 14, 2017 at 6:58 PM, Mahmood Naderan wrote: >>In short, "mpicc -Wl,-rpath=/my/lib/path helloworld.c -o hello", will >>compile a dynamic binary "hello" with built in search path >>

Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread Mahmood Naderan
Well that may be good if someone intend to rebuild ompi. Lets say, there is an ompi on the system... Regards, Mahmood On Thu, Sep 14, 2017 at 2:31 PM, Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > Peter and all, > > an easier option is to configure Open MPI with --mpirun-prefix

Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread Gilles Gouaillardet
Peter and all, an easier option is to configure Open MPI with --mpirun-prefix-by-default this will automagically add rpath to the libs. Cheers, Gilles On Thu, Sep 14, 2017 at 6:43 PM, Peter Kjellström wrote: > On Wed, 13 Sep 2017 20:13:54 +0430 > Mahmood Naderan wrote: > ... >> `/usr/lib/gcc/

Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread Mahmood Naderan
>In short, "mpicc -Wl,-rpath=/my/lib/path helloworld.c -o hello", will >compile a dynamic binary "hello" with built in search path >to "/my/lib/path". Excuse me... Is that a path or file? I get this: mpif90 -g -pthread -Wl,rpath=/share/apps/computer/OpenBLAS-0.2.18 -o iotk_print_kinds.x iotk_prin

Re: [OMPI users] mpif90 unable to find ibverbs

2017-09-14 Thread Peter Kjellström
On Wed, 13 Sep 2017 20:13:54 +0430 Mahmood Naderan wrote: ... > `/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libc.a(strcmp.o)' > can not be used when making an executable; recompile with -fPIE and > relink with -pie collect2: ld returned 1 exit status > > > With such an error, I tho