pnetcdf with WRF
Wei-keng Liao
wkliao at ece.northwestern.edu
Mon Nov 22 22:21:43 CST 2010
Hi, Lev,
I guess the error you observed is because the Fortran compiler
might need an option for the underscore, such as -fno-underscoring
-fsecond-underscore for gfortran.
Let's first make sure you can compile/run a simple Fortran pnetcdf
program without WRF.
After running make, could you also run "make testing"?
That will test some Fortran programs.
(It may take a while depending on your file system speed.)
Wei-keng
On Nov 21, 2010, at 11:45 PM, Lev Lafayette wrote:
> Hi everyone,
>
> I am attempting to install WRF (Weather Research and Forecasting) on a cluster using, as required and expected, pnetcdf.
>
> No matter which openmpi and compilers I use (pgi, intel and gcc) I am receiving an error which is preventing a successful compilation of WRF
>
> i.e.,
>
> strerrorf.f:(.text+0x2c): undefined reference to `nfmpi_xstrerror_'
> /usr/local/pnetcdf/1.2.0-pgi/lib/libpnetcdf.a(inq_libversf.o): In function `nfmpi_inq_libvers_':
> inq_libversf.f:(.text+0x21): undefined reference to `nfmpi_xinq_libvers_'
>
>
> /usr/local/pnetcdf/1.2.0-intel/lib/libpnetcdf.a(strerrorf.o): In function `nfmpi_strerror_':
> strerrorf.f:(.text+0x2c): undefined reference to `nfmpi_xstrerror_'
>
>
> /usr/local/pnetcdf/1.2.0-gcc/lib/libpnetcdf.a(strerrorf.o): In function `nfmpi_strerror_':
> strerrorf.f:(.text+0x2c): undefined reference to `nfmpi_xstrerror_'
> collect2: ld returned 1 exit status
>
> Given the install of pnetcdf is pretty trivial, I was wondering what trivial component I've overlooked for this error to arise..
>
> Thanks in advance,
>
>
> --
> Lev Lafayette, Systems Administrator, Victorian Partnership for Advanced Computing, lev at vpac.org
> "If you are sending a reply to a message or a posting be sure you summarize the original at the top of the message, or include just enough text of the original to give a context. This will make sure readers understand when they start to read your response." RFC 1855
> 110 Victoria Street phone: 03 9925 4909
> Carlton South, Victoria 3053, Australia mobile: 0432 255 208
>
More information about the parallel-netcdf
mailing list