Re: [OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-27 Thread Jeff Squyres
Per other replies on this thread, I think you're missing some -l (and possibly -L) options on your compile line. You probably don't need --showme to see exactly what mpif90 is doing because it looks like the issue is not with mpif90, but rather with the arguments that you're passing to it.

Re: [OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-27 Thread Syed Ahsan Ali
> > Dear Tim >>> >> > I built netcdf with mpif90using this option >> >> ./configure MPIF90=/home/openmpi/bin/mpif90 and compiled the application using mpif90 comipler option. Regards Ahsan > If your mpif90 is properly built and set up with the same Fortran > compiler you are using, it

Re: [OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-27 Thread Syed Ahsan Ali
Dear Dima I was not sure but it seemed to be like something related to netcdf and mpif90. I have struggling with the compilation of comso, int2lm parallel has been installed successfully but cosmo is giving this error. I don't have any -lnetcdf or -lnetcdff in linker options of the Fopts file. I

Re: [OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-27 Thread Syed Ahsan Ali
Dear Jeff Can you explain a little how to get this. "* you can take the mpif90 command that is being used to generate these errors and add "--showme" to the end of it, and you'll see what underlying compiler command is being executed under the covers."* * * Regards Ahsan On Tue, Jun 26, 2012 at

Re: [OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-26 Thread Tim Prince
On 6/26/2012 9:20 AM, Jeff Squyres wrote: Sorry, this looks like an application issue -- i.e., the linker error you're getting doesn't look like it's coming from Open MPI. Perhaps it's a missing application/middleware library. More specifically, you can take the mpif90 command that is being

Re: [OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-26 Thread Dmitry N. Mikushin
Dear Syed, Why do you think it is related to MPI? You seem to be compiling the COSMO model, which depends on netcdf lib, but the symbols are not passed to linker by some reason. Two main reasons are: (1) the library linking flag is missing (check you have something like -lnetcdf -lnetcdff in

Re: [OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-26 Thread Jeff Squyres
Sorry, this looks like an application issue -- i.e., the linker error you're getting doesn't look like it's coming from Open MPI. Perhaps it's a missing application/middleware library. More specifically, you can take the mpif90 command that is being used to generate these errors and add

[OMPI users] undefined reference to `netcdf_mp_nf90_open_'

2012-06-26 Thread Syed Ahsan Ali
Dear All I am getting following error while compilation of an application. Seems like something related to netcdf and mpif90. Although I have compiled netcdf with mpif90 option, dont why this error is happening. Any hint would be highly appreciated.