<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<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:10pt;color:#000000;font-family:Arial Unicode MS;" dir="ltr">
<p><font size="2"><span style="font-size:10pt;">Wei-keng</span></font></p>
<p><br>
</p>
<p>I have done a bit more digging and tried building it again but this time instead of using CC=icc CXX=icpc FC=ifort I now used CC=mpicc CXX=mpicxx MPIF90=mpifort which it picks up from /usr/local/bin. It now completes the build and the two tests (make check
and make ptest). When I ran make install it appears to run except for the last few steps where it says</p>
<p><br>
</p>
<p></p>
<div>rm -f pnetcdf.pc<br>
sed -e "s%INSTALL_PREFIX%/usr/local%g" pnetcdf_pc > pnetcdf.pc<br>
sed: can't read pnetcdf_pc: No such file or directory<br>
Makefile:147: recipe for target 'install_PKGCONFIG' failed<br>
make: *** [install_PKGCONFIG] Error 2<br>
</div>
<p></p>
<p><br>
</p>
<p>When I look in /usr/local/include and /usr/local/lib the pnetcdf file are there. I will try running a test code tomorrow.</p>
<p><br>
</p>
<p>Best regards<br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size: 10pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Arial Unicode MS,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;">
<div style="font-family:Tahoma; font-size:13px">Steve Brenner, Professor<br>
Department of Geography and Environment<br>
Bar Ilan University<br>
Ramat Gan, Israel<br>
<br>
Phone: +972 3 5318973<br>
Secretary: +972 3 531 8340<br>
Fax: +972 3 7384033<br>
<br>
E-mail: steve.brenner@biu.ac.il<br>
Web site: geoenv.biu.ac.il/en/Steve_Brenner<br>
<br>
</div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Wei-keng Liao <wkliao@eecs.northwestern.edu><br>
<b>Sent:</b> Thursday, June 8, 2017 10:09<br>
<b>To:</b> sbrenner@mail.biu.ac.il<br>
<b>Cc:</b> parallel-netcdf@mcs.anl.gov<br>
<b>Subject:</b> Re: [pnetcdf-devel] [parallel-netcdf] #31: Problem installing pnetcdf on 64 bit Ubuntu machine with intel compilers</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">I do not have access to the exactly same environment, but just now built<br>
PnetCDF 1.8.1 on an x86_64 with Ubuntu 14.04, using mpich 3.2. built with<br>
icc/ifort 16.0.3 and 17.0.2. The build was successful.<br>
<br>
If the build hung at the compile time, then I would guess it most likely<br>
is an issue of the compiler. Can check your MPI fortran compiler to<br>
make sure it compiles other F90 programs without problems.<br>
<br>
Wei-keng<br>
<br>
On Jun 8, 2017, at 12:48 AM, parallel-netcdf wrote:<br>
<br>
> #31: Problem installing pnetcdf on 64 bit Ubuntu machine with intel compilers<br>
> -------------------------------------+--------------------------------------<br>
> Reporter: sbrenner@… | Owner: robl <br>
> Type: defect/bug | Status: new <br>
> Priority: major | Milestone: <br>
> Component: parallel-netcdf | Version: 1.8.1<br>
> Keywords: | <br>
> -------------------------------------+--------------------------------------<br>
> I am trying to install pnetcdf on a i7 machine running Ubuntu linux 16.04<br>
> with the intel 2017 c, c++ and fortran compliers. It configues ok but in<br>
> the make step it hangs when trying to compile pnetcdf.f90 (no error is<br>
> returned, it simple is stuck in the compilation step). I have tried both<br>
> versions 1.8.1 and 1.7.0. Any suggestions?<br>
> <br>
> -- <br>
> Ticket URL: <<a href="http://trac.mcs.anl.gov/projects/parallel-netcdf/ticket/31" id="LPlnk222691" previewremoved="true">http://trac.mcs.anl.gov/projects/parallel-netcdf/ticket/31</a>><br>
> parallel-netcdf <<a href="https://trac.mcs.anl.gov/projects/parallel-netcdf" id="LPlnk633686" previewremoved="true">https://trac.mcs.anl.gov/projects/parallel-netcdf</a>>
<div id="LPBorder_GT_14969111701070.680729683334222" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14969111701050.03019700135003267" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_14969111701060.8579960135437102" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_14969111701060.7685510498002931"></div>
<div id="LPTitle_14969111701060.20579358905498057" style="top: 0px; color: rgb(0, 114, 198); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14969111701060.8542787567776824" style="text-decoration: none;" href="https://trac.mcs.anl.gov/projects/parallel-netcdf" target="_blank">Parallel netCDF: A Parallel I/O Library for NetCDF File Access</a></div>
<div id="LPMetadata_14969111701060.018327703471436196" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
trac.mcs.anl.gov</div>
<div id="LPDescription_14969111701070.5877948172698729" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
Parallel netCDF: A Parallel I/O Library for NetCDF File Access. Parallel netCDF (PnetCDF) is jointly developed by Northwestern University and Argonne National Laboratory.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
> <br>
> _______________________________________________<br>
> pnetcdf-devel mailing list<br>
> pnetcdf-devel@lists.mcs.anl.gov<br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/pnetcdf-devel" id="LPlnk388184" previewremoved="true">
https://lists.mcs.anl.gov/mailman/listinfo/pnetcdf-devel</a><br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>