Re: [OMPI users] OMPI link error with petsc 2.3.3

2008-10-08 Thread Terry Dontje

Yann,

Well, when you use f90 to link it passed the linker the -t option which is 
described in the manpage with the following:

   Turns off the warning for multiply-defined symbols  that
have different sizes or different alignments.

That's why :-)

To your original question should you worry about this?  Answer is no.

The reason why follows, after digging in the OMPI code no you should not.  The 
reason being is what is happening is in the Fortran library we define 
MPI_STATUS_IGNORE to be a size of 5 integers so when you pass it to an MPI call 
you don't get an error from the compiler complaining that the argument doesn't 
match the parameter type it was expecting.  However, we also define 
MPI_STATUS_IGNORE in a common block to overlap the libmpi.so variable 
mpi_fortran_status_ignore which is a pointer to an integer.  This is done so 
when you pass MPI_STATUS_IGNORE to an MPI call it can recognize this as a 
special MPI_STATUS_IGNORE value and operate appropriately (ie don't return 
values back via the status structure.

The problem is that when libmpi_f90.so is made the size of 
mpi_fortran_status_ignore is assumed to be 5 integers (ie 0x14) but libmpi.so 
has it defined as a pointer to an integer in your case 8 bytes.  Since 
libmpi.so is actually doing nothing except looking at the address of the common 
block you do not run the risk of having issues with the size being off so 
ignoring the size differences of the symbol is ok.


Sorry it took so long for me to piece all of this together.  I actually mucked 
with this before about 9 months ago.  I guess it was such a traumatic 
experience that I blanked out the workings :-).

--td


Date: Wed, 08 Oct 2008 15:58:11 +0200
From: "Yann JOBIC" 
Subject: Re: [OMPI users] OMPI link error with petsc 2.3.3
To: Open MPI Users 
Message-ID: <48ecbc73.2020...@polytech.univ-mrs.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

I just tried to link with mpif90. And that's working! I don't have the 
warning.

(the small change from your command : PIC, not fPIC)

I'm trying to compile PETSC with the new linker.

How come we don't have the warning ?

Thanks,

Yann





Re: [OMPI users] OMPI link error with petsc 2.3.3

2008-10-08 Thread Yann JOBIC

Hello,

I just tried to link with mpif90. And that's working! I don't have the 
warning.

(the small change from your command : PIC, not fPIC)

I'm trying to compile PETSC with the new linker.

How come we don't have the warning ?

Thanks,

Yann


Terry Dontje wrote:

Yann,

Your whole compile process in your email below shows you using mpicc 
to link your executable.  Can you please try and do the following for 
linkage  instead?


mpif90 -fPIC -m64  -o solv_ksp solv_ksp.o 
-R/opt/lib/petsc/lib/amd-64-openmpi_no_debug 
-L/opt/lib/petsc/lib/amd-64-openmpi_no_debug -lpetscsnes -lpetscksp 
-lpetscdm -lpetscmat -lpetscvec -lpetsc   -lX11  -lsunperf -lsunmath 
-lm -ldl -R/opt/mx/lib/amd64 -R/opt/SUNWhpc/HPC8.0/lib/amd64 
-R/opt/SUNWhpc/HPC8.0/lib/amd64 -L/opt/SUNWhpc/HPC8.0/lib/amd64 -lmpi 
-lopen-rte -lopen-pal -lnsl -lrt -lm -lsocket  
-R/opt/SUNWspro/lib/amd64 -R/opt/SUNWspro/lib/amd64 
-L/opt/SUNWspro/lib/amd64 -R/opt/SUNWspro/prod/lib/amd64 
-L/opt/SUNWspro/prod/lib/amd64 -R/usr/ccs/lib/amd64 
-L/usr/ccs/lib/amd64 -R/lib/64 -L/lib/64 -R/usr/lib/64 -L/usr/lib/64 
-lm -lfui -lfai -lfsu -lsunmath -lmtsk -lm   -ldl  -R/usr/ucblib


--td
Date: Wed, 08 Oct 2008 14:14:50 +0200 From: "Yann JOBIC" 
 Subject: Re: [OMPI users] OMPI link 
error with petsc 2.3.3 To: Open MPI Users  
Message-ID: <48eca43a.1060...@polytech.univ-mrs.fr> Content-Type: 
text/plain; charset=ISO-8859-1; format=flowed Hello, I used cc to 
compile. I tried to use mpicc/mpif90 to compile PETSC, but it changed 
nothing. I still have the same error. I'm giving you the whole 
compile proccess : 4440p-jobic% gmake solv_ksp mpicc -o solv_ksp.o -c 
-fPIC -m64 -I/opt/lib/petsc 
-I/opt/lib/petsc/bmake/amd-64-openmpi_no_debug 
-I/opt/lib/petsc/include -I/opt/SUNWhpc/HPC8.0/include 
-I/opt/SUNWhpc/HPC8.0/include/amd64 -I. -D__SDIR__="" solv_ksp.c 
mpicc -fPIC -m64 -o solv_ksp solv_ksp.o 
-R/opt/lib/petsc/lib/amd-64-openmpi_no_debug 
-L/opt/lib/petsc/lib/amd-64-openmpi_no_debug -lpetscsnes -lpetscksp 
-lpetscdm -lpetscmat -lpetscvec -lpetsc -lX11 -lsunperf -lsunmath -lm 
-ldl -R/opt/mx/lib/amd64 -R/opt/SUNWhpc/HPC8.0/lib/amd64 
-R/opt/SUNWhpc/HPC8.0/lib/amd64 -L/opt/SUNWhpc/HPC8.0/lib/amd64 -lmpi 
-lopen-rte -lopen-pal -lnsl -lrt -lm -lsocket -lmpi_f77 -lmpi_f90 
-R/opt/SUNWspro/lib/amd64 -R/opt/SUNWspro/lib/amd64 
-L/opt/SUNWspro/lib/amd64 -R/opt/SUNWspro/prod/lib/amd64 
-L/opt/SUNWspro/prod/lib/amd64 -R/usr/ccs/lib/amd64 
-L/usr/ccs/lib/amd64 -R/lib/64 -L/lib/64 -R/usr/lib/64 -L/usr/lib/64 
-lm -lfui -lfai -lfsu -lsunmath -lmtsk -lm -ldl -R/usr/ucblib ld: 
warning: symbol `mpi_fortran_status_ignore_' has differing sizes: 
(file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; file 
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14); 
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken /usr/bin/rm 
-f solv_ksp.o Thanks for your help, Yann Terry Dontje wrote:

> Yann,
>
> How were you trying to link your code with PETSc?  Did you use 
mpif90 > or mpif77 wrappers or were you using cc or mpicc wrappers?  
I ran some > basic tests that test the usage of MPI_STATUS_IGNORE 
using mpif90 (and > mpif77) and it works fine.  However I was able 
to generate a similar > error as you did when tried to link things 
with the cc program. > If you are using cc to link could you 
possibly try to use mpif90 to > link your code?

>
> --td
>
> Date: Tue, 07 Oct 2008 16:55:14 +0200
> From: "Yann JOBIC" 
> Subject: [OMPI users] OMPI link error with petsc 2.3.3
> To: Open MPI Users 
> Message-ID: <48eb7852.6070...@polytech.univ-mrs.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello,
>
> I'm using openmpi 1.3r19400 (ClusterTools 8.0), with sun studio 
12, > and solaris 10u5

>
> I've got this error when linking a PETSc code :
> ld: warning: symbol `mpi_fortran_status_ignore_' has differing sizes:
>(file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; 
file > /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14);

>/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken
>
>
> Isn't it very strange ?
>
> Have you got any idea on the way to solve it ?
>
> Many thanks,
>
> Yann
>
   
>> 

>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users




-- ___ Yann JOBIC HPC engineer Polytech 
Marseille DME IUSTI-CNRS UMR 6595 Technop?le de Ch?teau Gombert 5 rue 
Enrico Fermi 13453 Marseille cedex 13 Tel : (33) 4 91 10 69 39 ou 
(33) 4 91 10 69 43 Fax : (33) 4 91 10 69 69


___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



--
___

Yann JOBIC
HPC engineer
Polytech Marseille DME
IUSTI-CNRS UMR 6595
Technopôle de Château Gombert
5 rue Enrico Fermi
13453 Marseille cedex 13
Tel : (33) 4 91 10 69 39
 ou  (33) 4 91 10 69 43
Fax : (33) 4 91 10 69 69 


Re: [OMPI users] OMPI link error with petsc 2.3.3

2008-10-08 Thread Terry Dontje

Yann,

Your whole compile process in your email below shows you using mpicc to 
link your executable.  Can you please try and do the following for 
linkage  instead?


mpif90 -fPIC -m64  -o solv_ksp solv_ksp.o 
-R/opt/lib/petsc/lib/amd-64-openmpi_no_debug 
-L/opt/lib/petsc/lib/amd-64-openmpi_no_debug -lpetscsnes -lpetscksp 
-lpetscdm -lpetscmat -lpetscvec -lpetsc   -lX11  -lsunperf -lsunmath -lm 
-ldl -R/opt/mx/lib/amd64 -R/opt/SUNWhpc/HPC8.0/lib/amd64 
-R/opt/SUNWhpc/HPC8.0/lib/amd64 -L/opt/SUNWhpc/HPC8.0/lib/amd64 -lmpi 
-lopen-rte -lopen-pal -lnsl -lrt -lm -lsocket  
-R/opt/SUNWspro/lib/amd64 -R/opt/SUNWspro/lib/amd64 
-L/opt/SUNWspro/lib/amd64 -R/opt/SUNWspro/prod/lib/amd64 
-L/opt/SUNWspro/prod/lib/amd64 -R/usr/ccs/lib/amd64 -L/usr/ccs/lib/amd64 
-R/lib/64 -L/lib/64 -R/usr/lib/64 -L/usr/lib/64 -lm -lfui -lfai -lfsu 
-lsunmath -lmtsk -lm   -ldl  -R/usr/ucblib


--td
Date: Wed, 08 Oct 2008 14:14:50 +0200 From: "Yann JOBIC" 
 Subject: Re: [OMPI users] OMPI link error 
with petsc 2.3.3 To: Open MPI Users  Message-ID: 
<48eca43a.1060...@polytech.univ-mrs.fr> Content-Type: text/plain; 
charset=ISO-8859-1; format=flowed Hello, I used cc to compile. I tried 
to use mpicc/mpif90 to compile PETSC, but it changed nothing. I still 
have the same error. I'm giving you the whole compile proccess : 
4440p-jobic% gmake solv_ksp mpicc -o solv_ksp.o -c -fPIC -m64 
-I/opt/lib/petsc -I/opt/lib/petsc/bmake/amd-64-openmpi_no_debug 
-I/opt/lib/petsc/include -I/opt/SUNWhpc/HPC8.0/include 
-I/opt/SUNWhpc/HPC8.0/include/amd64 -I. -D__SDIR__="" solv_ksp.c mpicc 
-fPIC -m64 -o solv_ksp solv_ksp.o 
-R/opt/lib/petsc/lib/amd-64-openmpi_no_debug 
-L/opt/lib/petsc/lib/amd-64-openmpi_no_debug -lpetscsnes -lpetscksp 
-lpetscdm -lpetscmat -lpetscvec -lpetsc -lX11 -lsunperf -lsunmath -lm 
-ldl -R/opt/mx/lib/amd64 -R/opt/SUNWhpc/HPC8.0/lib/amd64 
-R/opt/SUNWhpc/HPC8.0/lib/amd64 -L/opt/SUNWhpc/HPC8.0/lib/amd64 -lmpi 
-lopen-rte -lopen-pal -lnsl -lrt -lm -lsocket -lmpi_f77 -lmpi_f90 
-R/opt/SUNWspro/lib/amd64 -R/opt/SUNWspro/lib/amd64 
-L/opt/SUNWspro/lib/amd64 -R/opt/SUNWspro/prod/lib/amd64 
-L/opt/SUNWspro/prod/lib/amd64 -R/usr/ccs/lib/amd64 
-L/usr/ccs/lib/amd64 -R/lib/64 -L/lib/64 -R/usr/lib/64 -L/usr/lib/64 
-lm -lfui -lfai -lfsu -lsunmath -lmtsk -lm -ldl -R/usr/ucblib ld: 
warning: symbol `mpi_fortran_status_ignore_' has differing sizes: 
(file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; file 
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14); 
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken /usr/bin/rm 
-f solv_ksp.o Thanks for your help, Yann Terry Dontje wrote:

> Yann,
>
> How were you trying to link your code with PETSc?  Did you use mpif90 
> or mpif77 wrappers or were you using cc or mpicc wrappers?  I ran some 
> basic tests that test the usage of MPI_STATUS_IGNORE using mpif90 (and 
> mpif77) and it works fine.  However I was able to generate a similar 
> error as you did when tried to link things with the cc program. 
> If you are using cc to link could you possibly try to use mpif90 to 
> link your code?

>
> --td
>
> Date: Tue, 07 Oct 2008 16:55:14 +0200
> From: "Yann JOBIC" 
> Subject: [OMPI users] OMPI link error with petsc 2.3.3
> To: Open MPI Users 
> Message-ID: <48eb7852.6070...@polytech.univ-mrs.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello,
>
> I'm using openmpi 1.3r19400 (ClusterTools 8.0), with sun studio 12, 
> and solaris 10u5

>
> I've got this error when linking a PETSc code :
> ld: warning: symbol `mpi_fortran_status_ignore_' has differing sizes:
>(file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; file 
> /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14);

>/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken
>
>
> Isn't it very strange ?
>
> Have you got any idea on the way to solve it ?
>
> Many thanks,
>
> Yann
>

>>   
  

>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users




-- ___ Yann JOBIC HPC engineer Polytech 
Marseille DME IUSTI-CNRS UMR 6595 Technop?le de Ch?teau Gombert 5 rue 
Enrico Fermi 13453 Marseille cedex 13 Tel : (33) 4 91 10 69 39 ou (33) 
4 91 10 69 43 Fax : (33) 4 91 10 69 69




Re: [OMPI users] OMPI link error with petsc 2.3.3

2008-10-08 Thread Yann JOBIC

Hello,

I used cc to compile. I tried to use mpicc/mpif90 to compile PETSC, but 
it changed nothing.

I still have the same error.

I'm giving you the whole compile proccess :
4440p-jobic% gmake solv_ksp
mpicc -o solv_ksp.o -c -fPIC -m64 -I/opt/lib/petsc 
-I/opt/lib/petsc/bmake/amd-64-openmpi_no_debug -I/opt/lib/petsc/include 
-I/opt/SUNWhpc/HPC8.0/include -I/opt/SUNWhpc/HPC8.0/include/amd64 -I. 
-D__SDIR__="" solv_ksp.c
mpicc -fPIC -m64  -o solv_ksp solv_ksp.o 
-R/opt/lib/petsc/lib/amd-64-openmpi_no_debug 
-L/opt/lib/petsc/lib/amd-64-openmpi_no_debug -lpetscsnes -lpetscksp 
-lpetscdm -lpetscmat -lpetscvec -lpetsc   -lX11  -lsunperf -lsunmath -lm 
-ldl -R/opt/mx/lib/amd64 -R/opt/SUNWhpc/HPC8.0/lib/amd64 
-R/opt/SUNWhpc/HPC8.0/lib/amd64 -L/opt/SUNWhpc/HPC8.0/lib/amd64 -lmpi 
-lopen-rte -lopen-pal -lnsl -lrt -lm -lsocket -lmpi_f77 -lmpi_f90 
-R/opt/SUNWspro/lib/amd64 -R/opt/SUNWspro/lib/amd64 
-L/opt/SUNWspro/lib/amd64 -R/opt/SUNWspro/prod/lib/amd64 
-L/opt/SUNWspro/prod/lib/amd64 -R/usr/ccs/lib/amd64 -L/usr/ccs/lib/amd64 
-R/lib/64 -L/lib/64 -R/usr/lib/64 -L/usr/lib/64 -lm -lfui -lfai -lfsu 
-lsunmath -lmtsk -lm   -ldl  -R/usr/ucblib

ld: warning: symbol `mpi_fortran_status_ignore_' has differing sizes:
   (file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; file 
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14);

   /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken
/usr/bin/rm -f solv_ksp.o


Thanks for your help,

Yann

Terry Dontje wrote:

Yann,

How were you trying to link your code with PETSc?  Did you use mpif90 
or mpif77 wrappers or were you using cc or mpicc wrappers?  I ran some 
basic tests that test the usage of MPI_STATUS_IGNORE using mpif90 (and 
mpif77) and it works fine.  However I was able to generate a similar 
error as you did when tried to link things with the cc program. 
If you are using cc to link could you possibly try to use mpif90 to 
link your code?


--td

Date: Tue, 07 Oct 2008 16:55:14 +0200
From: "Yann JOBIC" 
Subject: [OMPI users] OMPI link error with petsc 2.3.3
To: Open MPI Users 
Message-ID: <48eb7852.6070...@polytech.univ-mrs.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

I'm using openmpi 1.3r19400 (ClusterTools 8.0), with sun studio 12, 
and solaris 10u5


I've got this error when linking a PETSc code :
ld: warning: symbol `mpi_fortran_status_ignore_' has differing sizes:
   (file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; file 
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14);

   /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken


Isn't it very strange ?

Have you got any idea on the way to solve it ?

Many thanks,

Yann

  


___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



--
___

Yann JOBIC
HPC engineer
Polytech Marseille DME
IUSTI-CNRS UMR 6595
Technopôle de Château Gombert
5 rue Enrico Fermi
13453 Marseille cedex 13
Tel : (33) 4 91 10 69 39
 ou  (33) 4 91 10 69 43
Fax : (33) 4 91 10 69 69 


[OMPI users] OMPI link error with petsc 2.3.3

2008-10-07 Thread Terry Dontje

Yann,

How were you trying to link your code with PETSc?  Did you use mpif90 or mpif77 wrappers or were you using cc or mpicc wrappers?  I ran some basic tests that test the usage of MPI_STATUS_IGNORE using mpif90 (and mpif77) and it works fine.  However I was able to generate a similar error as you did when tried to link things with the cc program.  


If you are using cc to link could you possibly try to use mpif90 to link your 
code?

--td

List-Post: users@lists.open-mpi.org
Date: Tue, 07 Oct 2008 16:55:14 +0200
From: "Yann JOBIC" 
Subject: [OMPI users] OMPI link error with petsc 2.3.3
To: Open MPI Users 
Message-ID: <48eb7852.6070...@polytech.univ-mrs.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

I'm using openmpi 1.3r19400 (ClusterTools 8.0), with sun studio 12, and 
solaris 10u5


I've got this error when linking a PETSc code :
ld: warning: symbol `mpi_fortran_status_ignore_' has differing sizes:
   (file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; file 
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14);

   /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken


Isn't it very strange ?

Have you got any idea on the way to solve it ?

Many thanks,

Yann

  




Re: [OMPI users] OMPI link error with petsc 2.3.3

2008-10-07 Thread Yann JOBIC

Terry Dontje wrote:

Yann,

I'll take a look at this it looks like there definitely is an issue 
between our libmpi.so and libmpi_f90.so files.


I noticed that the linkage message is a warning does the code actually 
fail when running?


--td

Thanks for you fast answer.
No, the program is running and gives some good results (so far, for some 
small cases).

However i don't know if we'll have some strange behavior in some cases.

Yann


Date: Tue, 07 Oct 2008 16:55:14 +0200
From: "Yann JOBIC" 
Subject: [OMPI users] OMPI link error with petsc 2.3.3
To: Open MPI Users 
Message-ID: <48eb7852.6070...@polytech.univ-mrs.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

I'm using openmpi 1.3r19400 (ClusterTools 8.0), with sun studio 12, 
and solaris 10u5


I've got this error when linking a PETSc code :
ld: warning: symbol `mpi_fortran_status_ignore_' has differing sizes:
   (file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; file 
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14);

   /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken


Isn't it very strange ?

Have you got any idea on the way to solve it ?

Many thanks,

Yann

___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



--
___

Yann JOBIC
HPC engineer
Polytech Marseille DME
IUSTI-CNRS UMR 6595
Technopôle de Château Gombert
5 rue Enrico Fermi
13453 Marseille cedex 13
Tel : (33) 4 91 10 69 39
 ou  (33) 4 91 10 69 43
Fax : (33) 4 91 10 69 69 


Re: [OMPI users] OMPI link error with petsc 2.3.3

2008-10-07 Thread Terry Dontje

Yann,

I'll take a look at this it looks like there definitely is an issue between our 
libmpi.so and libmpi_f90.so files.

I noticed that the linkage message is a warning does the code actually fail 
when running?

--td

List-Post: users@lists.open-mpi.org
Date: Tue, 07 Oct 2008 16:55:14 +0200
From: "Yann JOBIC" 
Subject: [OMPI users] OMPI link error with petsc 2.3.3
To: Open MPI Users 
Message-ID: <48eb7852.6070...@polytech.univ-mrs.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

I'm using openmpi 1.3r19400 (ClusterTools 8.0), with sun studio 12, and 
solaris 10u5


I've got this error when linking a PETSc code :
ld: warning: symbol `mpi_fortran_status_ignore_' has differing sizes:
   (file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; file 
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14);

   /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken


Isn't it very strange ?

Have you got any idea on the way to solve it ?

Many thanks,

Yann



Re: [OMPI users] OMPI link error with petsc 2.3.3

2008-10-07 Thread Rolf Vandevaart


This is strange.  We need to look into this a little more.  However, you 
may be OK as the warning says it is taking the value from libmpi.so 
which I believe is the correct one.  Does your program run OK?


Rolf

On 10/07/08 10:57, Doug Reeder wrote:

Yann,

It looks like somehow the libmpi and libmpi_f90 have different values 
for the variable mpi_fortran_status_ignore. It sounds like a configure 
problem. You might check the mpi include files to see if you can see 
where the different values are coming from.


Doug Reeder
On Oct 7, 2008, at 7:55 AM, Yann JOBIC wrote:


Hello,

I'm using openmpi 1.3r19400 (ClusterTools 8.0), with sun studio 12, 
and solaris 10u5


I've got this error when linking a PETSc code :
ld: warning: symbol `mpi_fortran_status_ignore_' has differing sizes:
   (file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; file 
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14);

   /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken


Isn't it very strange ?

Have you got any idea on the way to solve it ?

Many thanks,

Yann
___
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




--

=
rolf.vandeva...@sun.com
781-442-3043
=


Re: [OMPI users] OMPI link error with petsc 2.3.3

2008-10-07 Thread Doug Reeder

Yann,

It looks like somehow the libmpi and libmpi_f90 have different values  
for the variable mpi_fortran_status_ignore. It sounds like a  
configure problem. You might check the mpi include files to see if  
you can see where the different values are coming from.


Doug Reeder
On Oct 7, 2008, at 7:55 AM, Yann JOBIC wrote:


Hello,

I'm using openmpi 1.3r19400 (ClusterTools 8.0), with sun studio 12,  
and solaris 10u5


I've got this error when linking a PETSc code :
ld: warning: symbol `mpi_fortran_status_ignore_' has differing sizes:
   (file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8;  
file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14);

   /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken


Isn't it very strange ?

Have you got any idea on the way to solve it ?

Many thanks,

Yann
___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users




[OMPI users] OMPI link error with petsc 2.3.3

2008-10-07 Thread Yann JOBIC

Hello,

I'm using openmpi 1.3r19400 (ClusterTools 8.0), with sun studio 12, and 
solaris 10u5


I've got this error when linking a PETSc code :
ld: warning: symbol `mpi_fortran_status_ignore_' has differing sizes:
   (file /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so value=0x8; file 
/opt/SUNWhpc/HPC8.0/lib/amd64/libmpi_f90.so value=0x14);

   /opt/SUNWhpc/HPC8.0/lib/amd64/libmpi.so definition taken


Isn't it very strange ?

Have you got any idea on the way to solve it ?

Many thanks,

Yann