<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div><div>Thank you. I have tried the <span style="font-size:12.8px">LD_LIBRARY_PATH way and adding "-L/opt/orangefs/lib -lpvfs2" to the link command line but the errors still happen. So i think maybe still is there something wrong when i built the MPICH? </span></div></div><div><div><div class="gmail_extra" dir="auto"><br></div><div class="gmail_extra">Vinson.<br><div class="gmail_quote">On Tue, Nov 14, 2017 at 9:04 PM, Jeff Hammond <span><<a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="auto">The PVFS library needs to be in LD_LIBRARY_PATH or otherwise visible to the linker.</div><div dir="auto"><br></div><div dir="auto">Jeff</div><div><div class="m_-4432585326537617005gmail-h5"><br><div class="gmail_quote"><div>On Tue, Nov 14, 2017 at 7:00 PM Weihao Liang <<a href="mailto:lwhvinson1990@gmail.com" target="_blank">lwhvinson1990@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Thanks, I have sucessfully built MPICH with configure command line "CFLAGS+='/opt/orangefs/include' ./configure --enable-romio --with-file-system=pvfs2". But when I link the the .o file with mpicc there are many errors as below:<div>=============================</div><div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_FLOAT'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_indexed'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_CHAR'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_hvector'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_resized'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_finalize'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_dist_setparam'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_perror'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_UNSIGNED_CHAR'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_wait'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_truncate'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_free'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_flush'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_debug_eventlog_to_mask'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_LONG'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_lookup'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_DOUBLE'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_SHORT'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_create'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_remove'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_BYTE'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_util_resolve'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_dist_lookup'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_io'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_vector'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_INT'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_contiguous'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_testsome'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_LONG_DOUBLE'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_struct'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_util_init_defaults'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_hindexed'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_UNSIGNED_LONG'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_isys_io'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_UNSIGNED'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_util_gen_credential_defaults'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_getparent'</div><div>/usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_getattr'</div><div>collect2: error: ld returned 1 exit status</div></div><div>===============================================</div><div><br></div><div>Vinson</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 14, 2017 at 6:08 PM, Latham, Robert J. <span><<a href="mailto:robl@mcs.anl.gov" target="_blank">robl@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Tue, 2017-11-14 at 16:54 -0600, Weihao Liang wrote:<br>
> Hi, all<br>
><br>
> I have a question is that how to configure mpich-3.2.1 with orangefs-<br>
> 2.9 (pvfs2)? I just want to enable the MPI-IO ability when running<br>
> MPI program on pvfs2 filesystem.<br>
<br>
</span>The process is still the same it has always been. OrangeFS is a<br>
rebranding of what we used to call PVFS v2 :<br>
<br>
Configure MPICH with the `--with-file-system=pvfs2` flag.<br>
<br>
If you want to configure other file systems, add them with '+':<br>
<br>
`configure --prefix=/usr/local/whatever --with-file-system=pvfs2+ufs`<br>
<br>
==rob<br>
_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</blockquote></div><br></div>
_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a></blockquote></div></div></div></div><span class="m_-4432585326537617005gmail-HOEnZb"><font color="#888888"><div>-- <br></div><div class="m_-4432585326537617005gmail-m_-7962249925298205224gmail_signature">Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/" target="_blank">http://jeffhammond.github.io/</a></div>
</font></span><br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br></div></div></div>