<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top: 0px; margin-bottom: 0px;">Hi Robb,</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">I think you were right. It seems openmpi is linked with munge. So I decided to use intel compilers intead of GNU. The building works quite smoothly until it reaches the ncmpigen where it says that :</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
<div>./../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_cpystr'<br>
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_allocate'<br>
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_dealloc_allocatable'<br>
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_cpstr'<br>
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_alloc_allocatable'<br>
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_len_trim'<br>
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_array_copy_in'<br>
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_trim'<br>
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_contig_array'<br>
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_check_mult_overflow64'<br>
../../../src/libs/.libs/libpnetcdf.so: undefined reference to `for_array_copy_out'<br>
</div>
<p></p>
<p><br>
</p>
<p>I think these function are related to the fortran libraries. However, I am not sure how to add the library path in the ./configuration line. This is the configuration that I am setting</p>
<p><br>
</p>
<p></p>
<div>MPIF77=mpiifort MPIF90=mpiifort MPICC=mpiicc MPICXX=mpiicpc CC=mpiicc FC=mpiifort CXX=mpiicpc CPPFLAGS="-I/mnt/nfs/home/b4064989/library/zlib/intel/1.2.11/include -I/mnt/nfs/home/b4064989/library/hdf5/intel/1.10.2/include" LDFLAGS="-L/mnt/nfs/home/b4064989/library/zlib/intel/1.2.11/lib
-L/mnt/nfs/home/b4064989/library/hdf5/intel/1.10.2/lib" ./configure --prefix=/mnt/nfs/home/b4064989/library/netcdf-parallel/intel/1.9.0 --enable-shared</div>
<div><br>
</div>
<div>Am I missing something? Thanks so much for your help. </div>
<div><br>
</div>
<div>Estanis<br>
</div>
<p></p>
<p><br>
</p>
<p><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Latham, Robert J. <robl@mcs.anl.gov><br>
<b>Sent:</b> 07 May 2018 19:53:53<br>
<b>To:</b> parallel-netcdf@mcs.anl.gov; Estanislao Gavilan Pascual-Ahuir (PGR)<br>
<b>Subject:</b> Re: error building pnetcdf</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Mon, 2018-05-07 at 14:13 +0000, Estanislao Gavilan Pascual-Ahuir<br>
(PGR) wrote:<br>
> Good afternoon,<br>
> <br>
> I am trying to build the pnetcdf with shared enable. I am having this<br>
> error (attach picture). Do I need the libmunge for pnetcdf? I have<br>
> even tried to add the path to libmunge (/lib64) but I<br>
> cannot solve the problem. Am I missing something? Thanks in advance<br>
> for your help.<br>
<br>
I don't know where 'libmunge' came from. That's not part of parallel-<br>
netcdf. Can you double-check your environment and figure out what<br>
wants to use that library?<br>
<br>
==rob<br>
</div>
</span></font></div>
</body>
</html>