[mpich-discuss] mpich-3.2.1 configure with orangefs-2.9

Jeff Hammond jeff.science at gmail.com
Tue Nov 14 21:04:56 CST 2017


The PVFS library needs to be in LD_LIBRARY_PATH or otherwise visible to the
linker.

Jeff

On Tue, Nov 14, 2017 at 7:00 PM Weihao Liang <lwhvinson1990 at gmail.com>
wrote:

> 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:
> =============================
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_FLOAT'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_indexed'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_CHAR'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_hvector'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_resized'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_finalize'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_dist_setparam'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_perror'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_UNSIGNED_CHAR'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_wait'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_truncate'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_free'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_flush'
> /usr/local/lib/libmpi.so: undefined reference to
> `PVFS_debug_eventlog_to_mask'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_LONG'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_lookup'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_DOUBLE'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_SHORT'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_create'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_remove'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_BYTE'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_util_resolve'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_dist_lookup'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_io'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_vector'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_INT'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_contiguous'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_testsome'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_LONG_DOUBLE'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_struct'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_util_init_defaults'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_Request_hindexed'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_UNSIGNED_LONG'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_isys_io'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_UNSIGNED'
> /usr/local/lib/libmpi.so: undefined reference to
> `PVFS_util_gen_credential_defaults'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_getparent'
> /usr/local/lib/libmpi.so: undefined reference to `PVFS_sys_getattr'
> collect2: error: ld returned 1 exit status
> ===============================================
>
> Vinson
>
> On Tue, Nov 14, 2017 at 6:08 PM, Latham, Robert J. <robl at mcs.anl.gov>
> wrote:
>
>> On Tue, 2017-11-14 at 16:54 -0600, Weihao Liang wrote:
>> > Hi, all
>> >
>> > I have a question is that how to configure mpich-3.2.1 with orangefs-
>> > 2.9 (pvfs2)? I just want to enable the MPI-IO ability when running
>> > MPI program on pvfs2 filesystem.
>>
>> The process is still the same it has always been.  OrangeFS is a
>> rebranding of what we used to call PVFS v2 :
>>
>> Configure MPICH with the `--with-file-system=pvfs2` flag.
>>
>> If you want to configure other file systems, add them with '+':
>>
>> `configure --prefix=/usr/local/whatever --with-file-system=pvfs2+ufs`
>>
>> ==rob
>> _______________________________________________
>> discuss mailing list     discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

-- 
Jeff Hammond
jeff.science at gmail.com
http://jeffhammond.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20171115/c678c1d9/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list